USB: pxa27x_udc: add otg transceiver support
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 25 Jan 2009 07:57:30 +0000 (23:57 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:27 +0000 (16:20 -0700)
commit7fec3c25b773883bd50c4078bcccdd23d3dadeac
tree42d46e065d2408a34c0a255e8ac1dfcb71c85972
parentb799a7eb68082af620b7e37b6f41c98802e831f6
USB: pxa27x_udc: add otg transceiver support

When a transceiver driver is used, no automatic udc enable
is done. The transceiver (OTG or not) should :
 - take care of VBus sensing
 - call usb_gadget_vbus_connect()
 - call usb_gadget_vbus_disconnect()

The pullup should remain within this driver's management,
either by gpio_pullup of udc_command() fields.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/pxa27x_udc.c
drivers/usb/gadget/pxa27x_udc.h