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 <yue.wang@amlogic.com>
This commit is contained in:
Yue Wang
2018-06-13 17:28:40 +08:00
committed by Yixun Lan
parent 5fe330861e
commit 59ebe506d2

View File

@@ -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);