]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:44:05 +0000 (18:44 +0200)
commited0aa7713291e69586d6d50a452d61cfc535811d
tree153de729c9e38b4806062ac3fdd0ec32ad400281
parent80c2164b27a21fe8fbbe76d3a1a51968bd85867e
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