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