summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/Kconfig
diff options
context:
space:
mode:
authorPhilipp Zabel2008-11-24 21:00:01 +0100
committerGreg Kroah-Hartman2009-01-07 19:00:02 +0100
commit6084f1bf0c51a99cbba612ee90a4607cffb8b042 (patch)
tree88e902277a0741105418ae856748a3ececdc6078 /drivers/usb/otg/Kconfig
parentUSB: move isp1301_omap to drivers/usb/otg (diff)
downloadkernel-qcow2-linux-6084f1bf0c51a99cbba612ee90a4607cffb8b042.tar.gz
kernel-qcow2-linux-6084f1bf0c51a99cbba612ee90a4607cffb8b042.tar.xz
kernel-qcow2-linux-6084f1bf0c51a99cbba612ee90a4607cffb8b042.zip
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>
Diffstat (limited to 'drivers/usb/otg/Kconfig')
-rw-r--r--drivers/usb/otg/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/usb/otg/Kconfig b/drivers/usb/otg/Kconfig
index 860342902bbb..afe91bfea7f2 100644
--- a/drivers/usb/otg/Kconfig
+++ b/drivers/usb/otg/Kconfig
@@ -14,6 +14,19 @@ config USB_OTG_UTILS
Select this to make sure the build includes objects from
the OTG infrastructure directory.
+#
+# USB Transceiver Drivers
+#
+config USB_GPIO_VBUS
+ tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
+ depends on GENERIC_GPIO
+ select USB_OTG_UTILS
+ help
+ Provides simple GPIO VBUS sensing for controllers with an
+ internal transceiver via the otg_transceiver interface, and
+ optionally control of a D+ pullup GPIO as well as a VBUS
+ current limit regulator.
+
config ISP1301_OMAP
tristate "Philips ISP1301 with OMAP OTG"
depends on I2C && ARCH_OMAP_OTG