MX31: add delay between USB port setup and reset
Subsystems (3)
PATCH 1/1 MX31: add delay between USB port setup and reset
Sometimes a usb tree is not popolated after a system reset. It seems a delay is required after setting the USB ports for the MX.31 before resetting the ehci controller.
Signed-off-by Stefano Babic <[email protected]>
--- drivers/usb/host/ehci-mxc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/usb/host/ehci-mxc.c +2 -0
@@ -117,6 +117,8 @@ int ehci_hcd_init(void)mxc_set_usbcontrol (CONFIG_MXC_USB_PORT ,CONFIG_MXC_USB_FLAGS ); +udelay (10000 ); +return 0 ; }
Signature · 1 line
1.7.1
PATCH 1/1 MX31: add delay between USB port setup and reset
Quoted 9 lines · Stefano Babic
Sometimes a usb tree is not popolated after a system reset. It seems a delay is required after setting the USB ports for the MX.31 before resetting the ehci controller.
Signed-off-by Stefano Babic <[email protected]>--- drivers/usb/host/ehci-mxc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Applied to u-boot-imx, thanks
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================