USB: amldevread data failed [1/1]

PD#SWPL-5292

Problem:
g12b-revB, some u disk amldevread test failed.

Solution:
Changing the register 0x54 to 0x2a, enabled the hs rx idle noise filter,
and the abnormal u-disk has no problem in the amldevread test.

Verify:
g12b revB

Change-Id: Ibbf924c93d193d7e40c4d8121a4616a8d1caeaaa
Signed-off-by: he.he <he.he@amlogic.com>
This commit is contained in:
he.he
2019-03-12 12:52:14 +08:00
committed by Luan Yuan
parent f0aaf17ba7
commit cc6ebaab66

View File

@@ -106,6 +106,7 @@ void set_usb_pll(struct amlogic_usb_v2 *phy, void __iomem *reg)
if (g_phy2_v2->phy_version == 2) {
/**g12b revB don't need set 0x10 ,0x38 and 0x34**/
writel(phy->pll_setting[3], reg + 0x50);
writel(0x2a, reg + 0x54);
writel(0x70000, reg + 0x34);
} else {
writel(phy->pll_setting[3], reg + 0x50);