google/snappy: enhance CCD type-A USB 2.0 phy strength
Alan(11")/BigDaddy(14") right type-A(port#2), CCD(port#4) are occasionally undetectable. USB 2.0 phy needs an override to enhance drive strength. right type-A port#2 PERPORTPETXISET: 4 PERPORTTXISET: 4 IUSBTXEMPHASISEN: 1 PERPORTTXPEHALF: 0 CCD port#4 PERPORTPETXISET: 7 PERPORTTXISET: 7 IUSBTXEMPHASISEN: 1 PERPORTTXPEHALF: 0 BUG=b:72922816 BRANCH=reef TEST=emerge-snappy coreboot Change-Id: I2b18c11709280d00ec3a6ef10f93a416acb4fb45 Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com> Reviewed-on: https://review.coreboot.org/24969 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
d182b63347
commit
2be3bdd748
|
@ -89,12 +89,33 @@ void mainboard_devtree_update(struct device *dev)
|
|||
sku_id = variant_board_sku();
|
||||
|
||||
switch (sku_id) {
|
||||
case SKU_ALAN:
|
||||
cfg->usb2eye[2].Usb20PerPortPeTxiSet = 4;
|
||||
cfg->usb2eye[2].Usb20PerPortTxiSet = 4;
|
||||
cfg->usb2eye[2].Usb20IUsbTxEmphasisEn = 1;
|
||||
cfg->usb2eye[2].Usb20PerPortTxPeHalf = 0;
|
||||
|
||||
cfg->usb2eye[4].Usb20PerPortPeTxiSet = 7;
|
||||
cfg->usb2eye[4].Usb20PerPortTxiSet = 7;
|
||||
cfg->usb2eye[4].Usb20IUsbTxEmphasisEn = 1;
|
||||
cfg->usb2eye[4].Usb20PerPortTxPeHalf = 0;
|
||||
break;
|
||||
case SKU_BIGDADDY_KBDBKLIGHT:
|
||||
case SKU_BIGDADDY:
|
||||
cfg->usb2eye[1].Usb20PerPortPeTxiSet = 7;
|
||||
cfg->usb2eye[1].Usb20PerPortTxiSet = 1;
|
||||
cfg->usb2eye[1].Usb20IUsbTxEmphasisEn = 3;
|
||||
cfg->usb2eye[1].Usb20PerPortTxPeHalf = 0;
|
||||
|
||||
cfg->usb2eye[2].Usb20PerPortPeTxiSet = 4;
|
||||
cfg->usb2eye[2].Usb20PerPortTxiSet = 4;
|
||||
cfg->usb2eye[2].Usb20IUsbTxEmphasisEn = 1;
|
||||
cfg->usb2eye[2].Usb20PerPortTxPeHalf = 0;
|
||||
|
||||
cfg->usb2eye[4].Usb20PerPortPeTxiSet = 7;
|
||||
cfg->usb2eye[4].Usb20PerPortTxiSet = 7;
|
||||
cfg->usb2eye[4].Usb20IUsbTxEmphasisEn = 1;
|
||||
cfg->usb2eye[4].Usb20PerPortTxPeHalf = 0;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue