From 90264baf392f0409e410680d0869dc71354fe2da Mon Sep 17 00:00:00 2001 From: "he.he" Date: Tue, 12 Mar 2019 12:52:14 +0800 Subject: [PATCH] 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 --- drivers/amlogic/usb/phy/phy-aml-new-usb2-v2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/amlogic/usb/phy/phy-aml-new-usb2-v2.c b/drivers/amlogic/usb/phy/phy-aml-new-usb2-v2.c index e2b55e8d..f7b19c6 100644 --- a/drivers/amlogic/usb/phy/phy-aml-new-usb2-v2.c +++ b/drivers/amlogic/usb/phy/phy-aml-new-usb2-v2.c @@ -105,6 +105,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); -- 2.7.4