2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 23:23:55 +08:00
linux-next/drivers/usb/otg
Hema HK c33fad0c37 usb: otg: Adding twl6030-usb transceiver driver for OMAP4430
Adding the twl6030-usb transceiver support for OMAP4 musb driver.

OMAP4 supports 2 types of transceiver interface.

1. UTMI: The PHY is embedded within OMAP4. The transceiver functionality
is split between the twl6030 PMIC chip and OMAP4430. The VBUS, ID pin
sensing and OTG SRP generation part is integrated in TWL6030 and UTMI PHY
functionality is embedded within the OMAP4430.

There is no direct interactions between the MUSB controller and TWL6030
chip to communicate the session-valid, session-end and ID-GND events.
It has to be done through a software by setting/resetting bits in
one of the control module register of OMAP4430 which in turn toggles
the appropriate signals to MUSB controller.

The internal transceiver has functional clocks and
powerdown bits to powerdown the PHY for power saving.

Since there is no option available for having 2 transceiver drivers
for one USB controller, internal PHY specific APIs are passed through
plaform_data function pointers to use in the twl6030-usb transceiver
driver.

2. ULPI interface is provided for off-chip transceivers.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2010-12-10 14:43:51 +02:00
..
gpio_vbus.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
isp1301_omap.c USB: omap: switch to subsys_initcall for isp1301 transceiver 2010-05-20 13:21:38 -07:00
Kconfig USB OTG Langwell: Update OTG Kconfig and driver version. 2010-10-22 10:21:33 -07:00
langwell_otg.c USB OTG Langwell: Update OTG Kconfig and driver version. 2010-10-22 10:21:33 -07:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
nop-usb-xceiv.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
otg.c USB: otg: Fix bug on remove path without transceiver 2009-04-23 14:15:31 -07:00
twl4030-usb.c usb: otg: twl4030-usb: Fix unbalanced regulator disables at module removal 2010-11-30 16:46:33 -08:00
twl6030-usb.c usb: otg: Adding twl6030-usb transceiver driver for OMAP4430 2010-12-10 14:43:51 +02:00
ulpi.c USB: otg/ulpi: extend id's table. 2010-10-22 10:22:10 -07:00