Kconfig 1.8 KB

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