]> git.baikalelectronics.ru Git - kernel.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:47:00 +0000 (18:47 +0200)
commita5c84ec41595266d09d2d4fadd646bdfa6eb0346
treec2fbf05be7ed93970f74654a26598e5a6c9baee5
parentb28897ea51e068ae2096871777456947d9ef068b
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