USB GPIO Based Connection Detection Driver
modulename: usb-conn-gpio.ko
configname: CONFIG_USB_CONN_GPIO
Linux Kernel Configuration
└─>Device Drivers
└─>USB support
└─>GPIO Support
└─>USB GPIO Based Connection Detection Driver
In linux kernel since version 5.1 (release Date: 2019-05-05)
The driver supports USB role switch between host and device via GPIO
based USB cable detection, used typically if an input GPIO is used
to detect USB ID pin, and another input GPIO may be also used to detect
Vbus pin at the same time, it also can be used to enable/disable
device if an input GPIO is only used to detect Vbus pin.
To compile the driver as a module, choose M here: the module will
be called usb-conn-gpio.ko
based USB cable detection, used typically if an input GPIO is used
to detect USB ID pin, and another input GPIO may be also used to detect
Vbus pin at the same time, it also can be used to enable/disable
device if an input GPIO is only used to detect Vbus pin.
To compile the driver as a module, choose M here: the module will
be called usb-conn-gpio.ko