GPIO based peripheral-only VBUS sensing 'transceiver'
modulename: gpio_vbus.ko
and/orphy-gpio-vbus-usb.ko
configname: CONFIG_USB_GPIO_VBUS
Linux Kernel Configuration
└─>Device Drivers
└─>USB support
└─>USB Gadget Support
└─>GPIO based peripheral-only VBUS sensing 'transceiver'
In linux kernel since version 2.6.29 (release Date: 2009-03-23)
Provides simple GPIO VBUS sensing for controllers with an
internal transceiver via the usb_phy interface, and
optionally control of a D+ pullup GPIO as well as a VBUS
current limit regulator.
internal transceiver via the usb_phy interface, and
optionally control of a D+ pullup GPIO as well as a VBUS
current limit regulator.
source code:
depends
CONFIG_GENERIC_GPIOCONFIG_USB_SUPPORT
CONFIG_USB or CONFIG_USB_GADGET or CONFIG_COMPILE_TEST or CONFIG_GPIOLIB