6084f1bf0c
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>
14 lines
264 B
Makefile
14 lines
264 B
Makefile
#
|
|
# OTG infrastructure and transceiver drivers
|
|
#
|
|
|
|
obj-$(CONFIG_USB_GPIO_VBUS) += gpio_vbus.o
|
|
obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o
|
|
|
|
ifeq ($(CONFIG_USB_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
else ifeq ($(CONFIG_USB_GADGET_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|