usb: dwc2: increase delay time after reset for rk312x

According DWC-OTG databook, after the CSftRst bit is cleared,
the application must wait at least 3 PHY clocks before doing
any access to the PHY domain. And longer delay is required for
some rockchip soc based platforms. But current delay time is
not long enough for rk312x and it will result in repeately
trigger of ID change interrupt of dwc2 controller. This patch
increase delay time from 50 millisecond to 80 millisecond to
make sure that dwc2 controller and PHY is synchronized.

Change-Id: I4aa5cc3a4ceb8f3e3907c0563ed56ec4a3853a2d
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
This commit is contained in:
Meng Dongyang
2017-09-11 18:29:19 +08:00
committed by Huang, Tao
parent 675e170adc
commit fa7692e1ca

View File

@@ -385,7 +385,7 @@ void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg)
* NOTE: This is required for some rockchip soc based
* platforms.
*/
msleep(50);
msleep(80);
}
/*