xref: /openbmc/linux/drivers/usb/Kconfig (revision cb9c1cfc)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5900e0621SDavid Daneyconfig USB_OHCI_BIG_ENDIAN_DESC
6900e0621SDavid Daney	bool
7900e0621SDavid Daney
8900e0621SDavid Daneyconfig USB_OHCI_BIG_ENDIAN_MMIO
9900e0621SDavid Daney	bool
10900e0621SDavid Daney
11900e0621SDavid Daneyconfig USB_OHCI_LITTLE_ENDIAN
12900e0621SDavid Daney	bool
13900e0621SDavid Daney	default n if STB03xxx || PPC_MPC52xx
14900e0621SDavid Daney	default y
15900e0621SDavid Daney
16900e0621SDavid Daneyconfig USB_EHCI_BIG_ENDIAN_MMIO
17900e0621SDavid Daney	bool
18900e0621SDavid Daney
19900e0621SDavid Daneyconfig USB_EHCI_BIG_ENDIAN_DESC
20900e0621SDavid Daney	bool
21900e0621SDavid Daney
22a8edc42aSDavid Daneymenuconfig USB_SUPPORT
23a8edc42aSDavid Daney	bool "USB support"
24a8edc42aSDavid Daney	depends on HAS_IOMEM
25a8edc42aSDavid Daney	default y
26a8edc42aSDavid Daney	---help---
27a8edc42aSDavid Daney	  This option adds core support for Universal Serial Bus (USB).
28a8edc42aSDavid Daney	  You will also need drivers from the following menu to make use of it.
29a8edc42aSDavid Daney
3053c6bc24SDavid Daneyif USB_SUPPORT
3153c6bc24SDavid Daney
3253c6bc24SDavid Daneyconfig USB_COMMON
3353c6bc24SDavid Daney	tristate
3453c6bc24SDavid Daney
3553c6bc24SDavid Daneyconfig USB_ARCH_HAS_HCD
36d9ea21a7SArnd Bergmann	def_bool y
3753c6bc24SDavid Daney
381da177e4SLinus Torvalds# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
391da177e4SLinus Torvaldsconfig USB
401da177e4SLinus Torvalds	tristate "Support for Host-side USB"
411da177e4SLinus Torvalds	depends on USB_ARCH_HAS_HCD
42badf6d47SArnd Bergmann	select USB_COMMON
43a853a3d4SClemens Ladisch	select NLS  # for UTF-8 strings
441da177e4SLinus Torvalds	---help---
451da177e4SLinus Torvalds	  Universal Serial Bus (USB) is a specification for a serial bus
461da177e4SLinus Torvalds	  subsystem which offers higher speeds and more features than the
471da177e4SLinus Torvalds	  traditional PC serial port.  The bus supplies power to peripherals
481da177e4SLinus Torvalds	  and allows for hot swapping.  Up to 127 USB peripherals can be
491da177e4SLinus Torvalds	  connected to a single USB host in a tree structure.
501da177e4SLinus Torvalds
511da177e4SLinus Torvalds	  The USB host is the root of the tree, the peripherals are the
521da177e4SLinus Torvalds	  leaves and the inner nodes are special USB devices called hubs.
531da177e4SLinus Torvalds	  Most PCs now have USB host ports, used to connect peripherals
541da177e4SLinus Torvalds	  such as scanners, keyboards, mice, modems, cameras, disks,
551da177e4SLinus Torvalds	  flash memory, network links, and printers to the PC.
561da177e4SLinus Torvalds
571da177e4SLinus Torvalds	  Say Y here if your computer has a host-side USB port and you want
581da177e4SLinus Torvalds	  to use USB devices.  You then need to say Y to at least one of the
591da177e4SLinus Torvalds	  Host Controller Driver (HCD) options below.  Choose a USB 1.1
601da177e4SLinus Torvalds	  controller, such as "UHCI HCD support" or "OHCI HCD support",
611da177e4SLinus Torvalds	  and "EHCI HCD (USB 2.0) support" except for older systems that
621da177e4SLinus Torvalds	  do not have USB 2.0 support.  It doesn't normally hurt to select
631da177e4SLinus Torvalds	  them all if you are not certain.
641da177e4SLinus Torvalds
651da177e4SLinus Torvalds	  If your system has a device-side USB port, used in the peripheral
661da177e4SLinus Torvalds	  side of the USB protocol, see the "USB Gadget" framework instead.
671da177e4SLinus Torvalds
681da177e4SLinus Torvalds	  After choosing your HCD, then select drivers for the USB peripherals
691da177e4SLinus Torvalds	  you'll be using.  You may want to check out the information provided
701da177e4SLinus Torvalds	  in <file:Documentation/usb/> and especially the links given in
711da177e4SLinus Torvalds	  <file:Documentation/usb/usb-help.txt>.
721da177e4SLinus Torvalds
731da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
741da177e4SLinus Torvalds	  module will be called usbcore.
751da177e4SLinus Torvalds
7625e11ec4SFlorian Fainelliif USB
771da177e4SLinus Torvalds
7825e11ec4SFlorian Fainellisource "drivers/usb/core/Kconfig"
7972246da4SFelipe Balbi
803bea302dSSimon Arlottsource "drivers/usb/mon/Kconfig"
813bea302dSSimon Arlott
82470cc415SGreg Kroah-Hartmansource "drivers/usb/wusbcore/Kconfig"
83470cc415SGreg Kroah-Hartman
841da177e4SLinus Torvaldssource "drivers/usb/host/Kconfig"
851da177e4SLinus Torvalds
86f1407d5cSKuninori Morimotosource "drivers/usb/renesas_usbhs/Kconfig"
87f1407d5cSKuninori Morimoto
881da177e4SLinus Torvaldssource "drivers/usb/class/Kconfig"
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldssource "drivers/usb/storage/Kconfig"
911da177e4SLinus Torvalds
921da177e4SLinus Torvaldssource "drivers/usb/image/Kconfig"
931da177e4SLinus Torvalds
9496c27377SValentina Maneasource "drivers/usb/usbip/Kconfig"
9596c27377SValentina Manea
9625e11ec4SFlorian Fainelliendif
9725e11ec4SFlorian Fainelli
98845c071bSEzequiel Garciasource "drivers/usb/musb/Kconfig"
99845c071bSEzequiel Garcia
10025e11ec4SFlorian Fainellisource "drivers/usb/dwc3/Kconfig"
10125e11ec4SFlorian Fainelli
102197ba5f4SPaul Zimmermansource "drivers/usb/dwc2/Kconfig"
103197ba5f4SPaul Zimmerman
10425e11ec4SFlorian Fainellisource "drivers/usb/chipidea/Kconfig"
10525e11ec4SFlorian Fainelli
1067ef077a8SLaurent Pinchartsource "drivers/usb/isp1760/Kconfig"
1077ef077a8SLaurent Pinchart
1081da177e4SLinus Torvaldscomment "USB port drivers"
10925e11ec4SFlorian Fainelli
11025e11ec4SFlorian Fainelliif USB
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldsconfig USB_USS720
1131da177e4SLinus Torvalds	tristate "USS720 parport driver"
11425e11ec4SFlorian Fainelli	depends on PARPORT
1151da177e4SLinus Torvalds	select PARPORT_NOT_PC
1161da177e4SLinus Torvalds	---help---
1171da177e4SLinus Torvalds	  This driver is for USB parallel port adapters that use the Lucent
1181da177e4SLinus Torvalds	  Technologies USS-720 chip. These cables are plugged into your USB
1191da177e4SLinus Torvalds	  port and provide USB compatibility to peripherals designed with
1201da177e4SLinus Torvalds	  parallel port interfaces.
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvalds	  The chip has two modes: automatic mode and manual mode. In automatic
1231da177e4SLinus Torvalds	  mode, it looks to the computer like a standard USB printer. Only
1241da177e4SLinus Torvalds	  printers may be connected to the USS-720 in this mode. The generic
1251da177e4SLinus Torvalds	  USB printer driver ("USB Printer support", above) may be used in
1261da177e4SLinus Torvalds	  that mode, and you can say N here if you want to use the chip only
1271da177e4SLinus Torvalds	  in this mode.
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvalds	  Manual mode is not limited to printers, any parallel port
1301da177e4SLinus Torvalds	  device should work. This driver utilizes manual mode.
1311da177e4SLinus Torvalds	  Note however that some operations are three orders of magnitude
1321da177e4SLinus Torvalds	  slower than on a PCI/ISA Parallel Port, so timing critical
1331da177e4SLinus Torvalds	  applications might not work.
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvalds	  Say Y here if you own an USS-720 USB->Parport cable and intend to
1361da177e4SLinus Torvalds	  connect anything other than a printer to it.
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1391da177e4SLinus Torvalds	  module will be called uss720.
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldssource "drivers/usb/serial/Kconfig"
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvaldssource "drivers/usb/misc/Kconfig"
1441da177e4SLinus Torvalds
1451da177e4SLinus Torvaldssource "drivers/usb/atm/Kconfig"
1461da177e4SLinus Torvalds
14725e11ec4SFlorian Fainelliendif # USB
14825e11ec4SFlorian Fainelli
14925e11ec4SFlorian Fainellisource "drivers/usb/phy/Kconfig"
15025e11ec4SFlorian Fainelli
1511da177e4SLinus Torvaldssource "drivers/usb/gadget/Kconfig"
1521da177e4SLinus Torvalds
1530cfbd328SMichal Sojkaconfig USB_LED_TRIG
1540cfbd328SMichal Sojka	bool "USB LED Triggers"
155cb9c1cfcSPeter Chen	depends on LEDS_CLASS && LEDS_TRIGGERS
156cb9c1cfcSPeter Chen	select USB_COMMON
1570cfbd328SMichal Sojka	help
1580cfbd328SMichal Sojka	  This option adds LED triggers for USB host and/or gadget activity.
1590cfbd328SMichal Sojka
1600cfbd328SMichal Sojka	  Say Y here if you are working on a system with led-class supported
1610cfbd328SMichal Sojka	  LEDs and you want to use them as activity indicators for USB host or
1620cfbd328SMichal Sojka	  gadget.
1630cfbd328SMichal Sojka
164ad764c49SPeter Chenconfig USB_ULPI_BUS
165ad764c49SPeter Chen	tristate "USB ULPI PHY interface support"
166cb9c1cfcSPeter Chen	select USB_COMMON
167ad764c49SPeter Chen	help
168ad764c49SPeter Chen	  UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
169ad764c49SPeter Chen	  USB 2.0 PHY interface. The ULPI specification defines a standard set
170ad764c49SPeter Chen	  of registers that can be used to detect the vendor and product which
171ad764c49SPeter Chen	  allows ULPI to be handled as a bus. This module is the driver for that
172ad764c49SPeter Chen	  bus.
173ad764c49SPeter Chen
174ad764c49SPeter Chen	  The ULPI interfaces (the buses) are registered by the drivers for USB
175ad764c49SPeter Chen	  controllers which support ULPI register access and have ULPI PHY
176ad764c49SPeter Chen	  attached to them. The ULPI PHY drivers themselves are normal PHY
177ad764c49SPeter Chen	  drivers.
178ad764c49SPeter Chen
179ad764c49SPeter Chen	  ULPI PHYs provide often functions such as ADP sensing/probing (OTG
180ad764c49SPeter Chen	  protocol) and USB charger detection.
181ad764c49SPeter Chen
182ad764c49SPeter Chen	  To compile this driver as a module, choose M here: the module will
183ad764c49SPeter Chen	  be called ulpi.
184ad764c49SPeter Chen
18504d06ad0SJan Engelhardtendif # USB_SUPPORT
186