0001 # SPDX-License-Identifier: GPL-2.0
0002
0003 config USB_COMMON
0004 tristate
0005
0006
0007 config USB_LED_TRIG
0008 bool "USB LED Triggers"
0009 depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS
0010 help
0011 This option adds LED triggers for USB host and/or gadget activity.
0012
0013 Say Y here if you are working on a system with led-class supported
0014 LEDs and you want to use them as activity indicators for USB host or
0015 gadget.
0016
0017 config USB_ULPI_BUS
0018 tristate "USB ULPI PHY interface support"
0019 select USB_COMMON
0020 help
0021 UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
0022 USB 2.0 PHY interface. The ULPI specification defines a standard set
0023 of registers that can be used to detect the vendor and product which
0024 allows ULPI to be handled as a bus. This module is the driver for that
0025 bus.
0026
0027 The ULPI interfaces (the buses) are registered by the drivers for USB
0028 controllers which support ULPI register access and have ULPI PHY
0029 attached to them. The ULPI PHY drivers themselves are normal PHY
0030 drivers.
0031
0032 ULPI PHYs provide often functions such as ADP sensing/probing (OTG
0033 protocol) and USB charger detection.
0034
0035 To compile this driver as a module, choose M here: the module will
0036 be called ulpi.
0037
0038 config USB_CONN_GPIO
0039 tristate "USB GPIO Based Connection Detection Driver"
0040 depends on GPIOLIB
0041 select USB_ROLE_SWITCH
0042 select POWER_SUPPLY
0043 help
0044 The driver supports USB role switch between host and device via GPIO
0045 based USB cable detection, used typically if an input GPIO is used
0046 to detect USB ID pin, and another input GPIO may be also used to detect
0047 Vbus pin at the same time, it also can be used to enable/disable
0048 device if an input GPIO is only used to detect Vbus pin.
0049
0050 To compile the driver as a module, choose M here: the module will
0051 be called usb-conn-gpio.ko