]> 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)
commit398a404ad36fd32eea77d2783d3222418b02fd62
treec2fbf05be7ed93970f74654a26598e5a6c9baee5
parentf3fd0dee1edc9af02e20bfdda65ead459d94ff8d
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