xref: /linux/drivers/usb/common/Kconfig (revision a1c3be890440a1769ed6f822376a3e3ab0d42994)
1# SPDX-License-Identifier: GPL-2.0
2
3config USB_COMMON
4	tristate
5
6
7config USB_LED_TRIG
8	bool "USB LED Triggers"
9	depends on LEDS_CLASS && LEDS_TRIGGERS
10	select USB_COMMON
11	help
12	  This option adds LED triggers for USB host and/or gadget activity.
13
14	  Say Y here if you are working on a system with led-class supported
15	  LEDs and you want to use them as activity indicators for USB host or
16	  gadget.
17
18config USB_ULPI_BUS
19	tristate "USB ULPI PHY interface support"
20	select USB_COMMON
21	help
22	  UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
23	  USB 2.0 PHY interface. The ULPI specification defines a standard set
24	  of registers that can be used to detect the vendor and product which
25	  allows ULPI to be handled as a bus. This module is the driver for that
26	  bus.
27
28	  The ULPI interfaces (the buses) are registered by the drivers for USB
29	  controllers which support ULPI register access and have ULPI PHY
30	  attached to them. The ULPI PHY drivers themselves are normal PHY
31	  drivers.
32
33	  ULPI PHYs provide often functions such as ADP sensing/probing (OTG
34	  protocol) and USB charger detection.
35
36	  To compile this driver as a module, choose M here: the module will
37	  be called ulpi.
38
39config USB_CONN_GPIO
40	tristate "USB GPIO Based Connection Detection Driver"
41	depends on GPIOLIB
42	select USB_ROLE_SWITCH
43	select POWER_SUPPLY
44	help
45	  The driver supports USB role switch between host and device via GPIO
46	  based USB cable detection, used typically if an input GPIO is used
47	  to detect USB ID pin, and another input GPIO may be also used to detect
48	  Vbus pin at the same time, it also can be used to enable/disable
49	  device if an input GPIO is only used to detect Vbus pin.
50
51	  To compile the driver as a module, choose M here: the module will
52	  be called usb-conn-gpio.ko
53