xref: /openbmc/linux/drivers/usb/Kconfig (revision d9ea21a7)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5*d9ea21a7SArnd Bergmann# These are unused now, remove them once they are no longer selected
61da177e4SLinus Torvaldsconfig USB_ARCH_HAS_OHCI
7*d9ea21a7SArnd Bergmann	bool
81da177e4SLinus Torvalds
976fa9a24SJordan Crouseconfig USB_ARCH_HAS_EHCI
10*d9ea21a7SArnd Bergmann	bool
1176fa9a24SJordan Crouse
127b720009SFelipe Balbiconfig USB_ARCH_HAS_XHCI
13*d9ea21a7SArnd Bergmann	bool
147b720009SFelipe Balbi
15a8edc42aSDavid Daneymenuconfig USB_SUPPORT
16a8edc42aSDavid Daney	bool "USB support"
17a8edc42aSDavid Daney	depends on HAS_IOMEM
18a8edc42aSDavid Daney	default y
19a8edc42aSDavid Daney	---help---
20a8edc42aSDavid Daney	  This option adds core support for Universal Serial Bus (USB).
21a8edc42aSDavid Daney	  You will also need drivers from the following menu to make use of it.
22a8edc42aSDavid Daney
2353c6bc24SDavid Daneyif USB_SUPPORT
2453c6bc24SDavid Daney
2553c6bc24SDavid Daneyconfig USB_COMMON
2653c6bc24SDavid Daney	tristate
2753c6bc24SDavid Daney	default y
2853c6bc24SDavid Daney	depends on USB || USB_GADGET
2953c6bc24SDavid Daney
3053c6bc24SDavid Daneyconfig USB_ARCH_HAS_HCD
31*d9ea21a7SArnd Bergmann	def_bool y
3253c6bc24SDavid Daney
331da177e4SLinus Torvalds# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
341da177e4SLinus Torvaldsconfig USB
351da177e4SLinus Torvalds	tristate "Support for Host-side USB"
361da177e4SLinus Torvalds	depends on USB_ARCH_HAS_HCD
37a853a3d4SClemens Ladisch	select NLS  # for UTF-8 strings
381da177e4SLinus Torvalds	---help---
391da177e4SLinus Torvalds	  Universal Serial Bus (USB) is a specification for a serial bus
401da177e4SLinus Torvalds	  subsystem which offers higher speeds and more features than the
411da177e4SLinus Torvalds	  traditional PC serial port.  The bus supplies power to peripherals
421da177e4SLinus Torvalds	  and allows for hot swapping.  Up to 127 USB peripherals can be
431da177e4SLinus Torvalds	  connected to a single USB host in a tree structure.
441da177e4SLinus Torvalds
451da177e4SLinus Torvalds	  The USB host is the root of the tree, the peripherals are the
461da177e4SLinus Torvalds	  leaves and the inner nodes are special USB devices called hubs.
471da177e4SLinus Torvalds	  Most PCs now have USB host ports, used to connect peripherals
481da177e4SLinus Torvalds	  such as scanners, keyboards, mice, modems, cameras, disks,
491da177e4SLinus Torvalds	  flash memory, network links, and printers to the PC.
501da177e4SLinus Torvalds
511da177e4SLinus Torvalds	  Say Y here if your computer has a host-side USB port and you want
521da177e4SLinus Torvalds	  to use USB devices.  You then need to say Y to at least one of the
531da177e4SLinus Torvalds	  Host Controller Driver (HCD) options below.  Choose a USB 1.1
541da177e4SLinus Torvalds	  controller, such as "UHCI HCD support" or "OHCI HCD support",
551da177e4SLinus Torvalds	  and "EHCI HCD (USB 2.0) support" except for older systems that
561da177e4SLinus Torvalds	  do not have USB 2.0 support.  It doesn't normally hurt to select
571da177e4SLinus Torvalds	  them all if you are not certain.
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds	  If your system has a device-side USB port, used in the peripheral
601da177e4SLinus Torvalds	  side of the USB protocol, see the "USB Gadget" framework instead.
611da177e4SLinus Torvalds
621da177e4SLinus Torvalds	  After choosing your HCD, then select drivers for the USB peripherals
631da177e4SLinus Torvalds	  you'll be using.  You may want to check out the information provided
641da177e4SLinus Torvalds	  in <file:Documentation/usb/> and especially the links given in
651da177e4SLinus Torvalds	  <file:Documentation/usb/usb-help.txt>.
661da177e4SLinus Torvalds
671da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
681da177e4SLinus Torvalds	  module will be called usbcore.
691da177e4SLinus Torvalds
7025e11ec4SFlorian Fainelliif USB
711da177e4SLinus Torvalds
7225e11ec4SFlorian Fainellisource "drivers/usb/core/Kconfig"
7372246da4SFelipe Balbi
743bea302dSSimon Arlottsource "drivers/usb/mon/Kconfig"
753bea302dSSimon Arlott
76470cc415SGreg Kroah-Hartmansource "drivers/usb/wusbcore/Kconfig"
77470cc415SGreg Kroah-Hartman
781da177e4SLinus Torvaldssource "drivers/usb/host/Kconfig"
791da177e4SLinus Torvalds
80550a7375SFelipe Balbisource "drivers/usb/musb/Kconfig"
81550a7375SFelipe Balbi
82f1407d5cSKuninori Morimotosource "drivers/usb/renesas_usbhs/Kconfig"
83f1407d5cSKuninori Morimoto
841da177e4SLinus Torvaldssource "drivers/usb/class/Kconfig"
851da177e4SLinus Torvalds
861da177e4SLinus Torvaldssource "drivers/usb/storage/Kconfig"
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldssource "drivers/usb/image/Kconfig"
891da177e4SLinus Torvalds
9025e11ec4SFlorian Fainelliendif
9125e11ec4SFlorian Fainelli
9225e11ec4SFlorian Fainellisource "drivers/usb/dwc3/Kconfig"
9325e11ec4SFlorian Fainelli
9425e11ec4SFlorian Fainellisource "drivers/usb/chipidea/Kconfig"
9525e11ec4SFlorian Fainelli
961da177e4SLinus Torvaldscomment "USB port drivers"
9725e11ec4SFlorian Fainelli
9825e11ec4SFlorian Fainelliif USB
991da177e4SLinus Torvalds
1001da177e4SLinus Torvaldsconfig USB_USS720
1011da177e4SLinus Torvalds	tristate "USS720 parport driver"
10225e11ec4SFlorian Fainelli	depends on PARPORT
1031da177e4SLinus Torvalds	select PARPORT_NOT_PC
1041da177e4SLinus Torvalds	---help---
1051da177e4SLinus Torvalds	  This driver is for USB parallel port adapters that use the Lucent
1061da177e4SLinus Torvalds	  Technologies USS-720 chip. These cables are plugged into your USB
1071da177e4SLinus Torvalds	  port and provide USB compatibility to peripherals designed with
1081da177e4SLinus Torvalds	  parallel port interfaces.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvalds	  The chip has two modes: automatic mode and manual mode. In automatic
1111da177e4SLinus Torvalds	  mode, it looks to the computer like a standard USB printer. Only
1121da177e4SLinus Torvalds	  printers may be connected to the USS-720 in this mode. The generic
1131da177e4SLinus Torvalds	  USB printer driver ("USB Printer support", above) may be used in
1141da177e4SLinus Torvalds	  that mode, and you can say N here if you want to use the chip only
1151da177e4SLinus Torvalds	  in this mode.
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvalds	  Manual mode is not limited to printers, any parallel port
1181da177e4SLinus Torvalds	  device should work. This driver utilizes manual mode.
1191da177e4SLinus Torvalds	  Note however that some operations are three orders of magnitude
1201da177e4SLinus Torvalds	  slower than on a PCI/ISA Parallel Port, so timing critical
1211da177e4SLinus Torvalds	  applications might not work.
1221da177e4SLinus Torvalds
1231da177e4SLinus Torvalds	  Say Y here if you own an USS-720 USB->Parport cable and intend to
1241da177e4SLinus Torvalds	  connect anything other than a printer to it.
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1271da177e4SLinus Torvalds	  module will be called uss720.
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvaldssource "drivers/usb/serial/Kconfig"
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvaldssource "drivers/usb/misc/Kconfig"
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvaldssource "drivers/usb/atm/Kconfig"
1341da177e4SLinus Torvalds
13525e11ec4SFlorian Fainelliendif # USB
13625e11ec4SFlorian Fainelli
13725e11ec4SFlorian Fainellisource "drivers/usb/phy/Kconfig"
13825e11ec4SFlorian Fainelli
1391da177e4SLinus Torvaldssource "drivers/usb/gadget/Kconfig"
1401da177e4SLinus Torvalds
14104d06ad0SJan Engelhardtendif # USB_SUPPORT
142