xref: /openbmc/linux/drivers/usb/common/Kconfig (revision 12b591bc)
112b591bcSChunfeng Yun# SPDX-License-Identifier: GPL-2.0
212b591bcSChunfeng Yun
312b591bcSChunfeng Yunconfig USB_COMMON
412b591bcSChunfeng Yun	tristate
512b591bcSChunfeng Yun
612b591bcSChunfeng Yun
712b591bcSChunfeng Yunconfig USB_LED_TRIG
812b591bcSChunfeng Yun	bool "USB LED Triggers"
912b591bcSChunfeng Yun	depends on LEDS_CLASS && LEDS_TRIGGERS
1012b591bcSChunfeng Yun	select USB_COMMON
1112b591bcSChunfeng Yun	help
1212b591bcSChunfeng Yun	  This option adds LED triggers for USB host and/or gadget activity.
1312b591bcSChunfeng Yun
1412b591bcSChunfeng Yun	  Say Y here if you are working on a system with led-class supported
1512b591bcSChunfeng Yun	  LEDs and you want to use them as activity indicators for USB host or
1612b591bcSChunfeng Yun	  gadget.
1712b591bcSChunfeng Yun
1812b591bcSChunfeng Yunconfig USB_ULPI_BUS
1912b591bcSChunfeng Yun	tristate "USB ULPI PHY interface support"
2012b591bcSChunfeng Yun	select USB_COMMON
2112b591bcSChunfeng Yun	help
2212b591bcSChunfeng Yun	  UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
2312b591bcSChunfeng Yun	  USB 2.0 PHY interface. The ULPI specification defines a standard set
2412b591bcSChunfeng Yun	  of registers that can be used to detect the vendor and product which
2512b591bcSChunfeng Yun	  allows ULPI to be handled as a bus. This module is the driver for that
2612b591bcSChunfeng Yun	  bus.
2712b591bcSChunfeng Yun
2812b591bcSChunfeng Yun	  The ULPI interfaces (the buses) are registered by the drivers for USB
2912b591bcSChunfeng Yun	  controllers which support ULPI register access and have ULPI PHY
3012b591bcSChunfeng Yun	  attached to them. The ULPI PHY drivers themselves are normal PHY
3112b591bcSChunfeng Yun	  drivers.
3212b591bcSChunfeng Yun
3312b591bcSChunfeng Yun	  ULPI PHYs provide often functions such as ADP sensing/probing (OTG
3412b591bcSChunfeng Yun	  protocol) and USB charger detection.
3512b591bcSChunfeng Yun
3612b591bcSChunfeng Yun	  To compile this driver as a module, choose M here: the module will
3712b591bcSChunfeng Yun	  be called ulpi.
3812b591bcSChunfeng Yun
39