From 59ebe506d2cce9130c1b63ea42040d8fd7e3a23e Mon Sep 17 00:00:00 2001 From: Yue Wang Date: Wed, 13 Jun 2018 17:28:40 +0800 Subject: [PATCH] usb: adjusted the sof interval to 125us through controller, then retested EL39. PD#168365: usb: adjusted the sof interval to 125us through controller. Change-Id: I9984e4dc5aa82808824949169ac8fadb4d0e7147 Signed-off-by: Yue Wang --- drivers/amlogic/usb/phy/phy-aml-new-usb3-v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/usb/phy/phy-aml-new-usb3-v2.c b/drivers/amlogic/usb/phy/phy-aml-new-usb3-v2.c index c115c75955d1..7fa1afdf395c 100644 --- a/drivers/amlogic/usb/phy/phy-aml-new-usb3-v2.c +++ b/drivers/amlogic/usb/phy/phy-aml-new-usb3-v2.c @@ -267,7 +267,7 @@ static int amlogic_new_usb3_init(struct usb_phy *x) } r1.d32 = readl(usb_new_aml_regs_v2.usb_r_v2[1]); - r1.b.u3h_fladj_30mhz_reg = 0x26; + r1.b.u3h_fladj_30mhz_reg = 0x20; writel(r1.d32, usb_new_aml_regs_v2.usb_r_v2[1]); r5.d32 = readl(usb_new_aml_regs_v2.usb_r_v2[5]); @@ -291,7 +291,7 @@ static int amlogic_new_usb3_init(struct usb_phy *x) udelay(2); r1.d32 = readl(usb_new_aml_regs_v2.usb_r_v2[1]); r1.b.u3h_host_port_power_control_present = 1; - r1.b.u3h_fladj_30mhz_reg = 0x26; + r1.b.u3h_fladj_30mhz_reg = 0x20; r1.b.p30_pcs_tx_swing_full = 127; writel(r1.d32, usb_new_aml_regs_v2.usb_r_v2[1]); udelay(2);