USB: otg: gpio_vbus transceiver stub
authorPhilipp Zabel <philipp.zabel@gmail.com>
Mon, 24 Nov 2008 20:00:01 +0000 (12:00 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:02 +0000 (10:00 -0800)
commit6084f1bf0c51a99cbba612ee90a4607cffb8b042
tree88e902277a0741105418ae856748a3ececdc6078
parentb8da8677d4f88db066c1cfe34529d970a060de46
USB: otg: gpio_vbus transceiver stub

gpio_vbus provides simple GPIO VBUS sensing for peripheral
controllers with an internal transceiver.
Optionally, a second GPIO can be used to control D+ pullup.

It also interfaces with the regulator framework to limit charging
currents when powered via USB. gpio_vbus requests the regulator
supplying "vbus_draw" and can enable/disable it or limit its
current depending on USB state.

[dbrownell@users.sourceforge.net: use drivers/otg, cleanups ]

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/Kconfig
drivers/usb/otg/Makefile
drivers/usb/otg/gpio_vbus.c [new file with mode: 0644]
include/linux/usb/gpio_vbus.h [new file with mode: 0644]