summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/Kconfig
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2008-11-24 12:00:01 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 10:00:02 -0800
commit6084f1bf0c51a99cbba612ee90a4607cffb8b042 (patch)
tree88e902277a0741105418ae856748a3ececdc6078 /drivers/usb/otg/Kconfig
parentb8da8677d4f88db066c1cfe34529d970a060de46 (diff)
downloadop-kernel-dev-6084f1bf0c51a99cbba612ee90a4607cffb8b042.zip
op-kernel-dev-6084f1bf0c51a99cbba612ee90a4607cffb8b042.tar.gz
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 8603429..afe91bf 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
OpenPOWER on IntegriCloud