ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue
authorKeshava Munegowda <Keshava_mgowda@ti.com>
Mon, 19 Mar 2012 06:42:47 +0000 (12:12 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 16 Apr 2012 16:47:00 +0000 (18:47 +0200)
commit1fcb57d0f6e1150003d222051aaaf4bc4a9ccc94
treec2fbf05be7ed93970f74654a26598e5a6c9baee5
parent8eaeb9393397be8eb700ab38a69c450975463b77
ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue

It is observed that the echi ports of 3430 sdp board
are not working due to the random timing of programming
the associated GPIOs of the ULPI PHYs of the EHCI for reset.
If the PHYs are reset at during usbhs core driver, host ports will
not work because EHCI driver is loaded after the resetting PHYs.
The PHYs should be in reset state while initializing the EHCI
controller.
The code which does the GPIO pins associated with the PHYs
are programmed to reset is moved from the USB host core driver
to EHCI driver.

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Reviewed-by: Partha Basak <parthab@india.ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/omap-usb-host.c
drivers/usb/host/ehci-omap.c