aboutsummaryrefslogtreecommitdiff
path: root/include/linux/usb/gpio_vbus.h
AgeCommit message (Collapse)AuthorFilesLines
2012-05-17USB: gpio_vbus: wakeup support on GPIO VBUS interruptsShinya Kuribayashi1-0/+2
We'd like to see the system waking up from the system-wide suspend when it gets plugged-in, or the USB cable is pulled out. Also makes it configurable via platform data 'wakeup'. Signed-off-by: Shinya Kuribayashi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-01-07USB: otg: gpio_vbus transceiver stubPhilipp Zabel1-0/+30
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. [[email protected]: use drivers/otg, cleanups ] Signed-off-by: Philipp Zabel <[email protected]> Signed-off-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>