xref: /openbmc/linux/drivers/usb/Kconfig (revision 25e11ec4)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# USB device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvalds# many non-PCI SOC chips embed OHCI
61da177e4SLinus Torvaldsconfig USB_ARCH_HAS_OHCI
71da177e4SLinus Torvalds	boolean
81da177e4SLinus Torvalds	# ARM:
91da177e4SLinus Torvalds	default y if SA1111
101da177e4SLinus Torvalds	default y if ARCH_OMAP
11b130d5c2SKukjin Kim	default y if ARCH_S3C24XX
121da177e4SLinus Torvalds	default y if PXA27x
13e77ec189Seric miao	default y if PXA3xx
14a5b7474aSLennert Buytenhek	default y if ARCH_EP93XX
1558a0cd78SAndrew Victor	default y if ARCH_AT91
1678c73414SDmitry Baryshkov	default y if MFD_TC6393XB
17586dfc8cSWan ZongShun	default y if ARCH_W90X900
18efe7daf2SSergei Shtylyov	default y if ARCH_DAVINCI_DA8XX
19760efe69SMac Lin	default y if ARCH_CNS3XXX
20c8c38de9SDeepak Sikri	default y if PLAT_SPEAR
2162194244SJingoo Han	default y if ARCH_EXYNOS
221da177e4SLinus Torvalds	# PPC:
231da177e4SLinus Torvalds	default y if STB03xxx
241da177e4SLinus Torvalds	default y if PPC_MPC52xx
251da177e4SLinus Torvalds	# MIPS:
2642a4f17dSManuel Lauss	default y if MIPS_ALCHEMY
272249071bSLars-Peter Clausen	default y if MACH_JZ4740
281da177e4SLinus Torvalds	# more:
291da177e4SLinus Torvalds	default PCI
301da177e4SLinus Torvalds
3176fa9a24SJordan Crouse# some non-PCI hcds implement EHCI
3276fa9a24SJordan Crouseconfig USB_ARCH_HAS_EHCI
3376fa9a24SJordan Crouse	boolean
343a6e7119SXu lei	default y if FSL_SOC
35230f7edeSAnatolij Gustschin	default y if PPC_MPC512x
3691bc4d31SVladimir Barinov	default y if ARCH_IXP4XX
37586dfc8cSWan ZongShun	default y if ARCH_W90X900
3862c5553aSJean-Christophe PLAGNIOL-VILLARD	default y if ARCH_AT91
397e8d5cd9SDaniel Mack	default y if ARCH_MXC
40eb614c8bSMaxime Ripard	default y if ARCH_MXS
41a8eb7ca0STony Lindgren	default y if ARCH_OMAP3
42760efe69SMac Lin	default y if ARCH_CNS3XXX
43ad78acafSAlexey Charkov	default y if ARCH_VT8500
44c8c38de9SDeepak Sikri	default y if PLAT_SPEAR
451bcc5aa8SJoonyoung Shim	default y if PLAT_S5P
46b0848aeaSPavankumar Kondeti	default y if ARCH_MSM
470291303dSMichal Simek	default y if MICROBLAZE
489be03929SJan Andersson	default y if SPARC_LEON
493abd7f68STanmay Upadhyay	default y if ARCH_MMP
50f30cdbcbSKelvin Cheung	default y if MACH_LOONGSON1
51ba2f9dffSAndrew Lunn	default y if PLAT_ORION
5276fa9a24SJordan Crouse	default PCI
5376fa9a24SJordan Crouse
547b720009SFelipe Balbi# some non-PCI HCDs implement xHCI
557b720009SFelipe Balbiconfig USB_ARCH_HAS_XHCI
567b720009SFelipe Balbi	boolean
577b720009SFelipe Balbi	default PCI
587b720009SFelipe Balbi
59a8edc42aSDavid Daneymenuconfig USB_SUPPORT
60a8edc42aSDavid Daney	bool "USB support"
61a8edc42aSDavid Daney	depends on HAS_IOMEM
62a8edc42aSDavid Daney	default y
63a8edc42aSDavid Daney	---help---
64a8edc42aSDavid Daney	  This option adds core support for Universal Serial Bus (USB).
65a8edc42aSDavid Daney	  You will also need drivers from the following menu to make use of it.
66a8edc42aSDavid Daney
6753c6bc24SDavid Daneyif USB_SUPPORT
6853c6bc24SDavid Daney
6953c6bc24SDavid Daneyconfig USB_COMMON
7053c6bc24SDavid Daney	tristate
7153c6bc24SDavid Daney	default y
7253c6bc24SDavid Daney	depends on USB || USB_GADGET
7353c6bc24SDavid Daney
7453c6bc24SDavid Daney# Host-side USB depends on having a host controller
7553c6bc24SDavid Daney# NOTE:  dummy_hcd is always an option, but it's ignored here ...
7653c6bc24SDavid Daney# NOTE:  SL-811 option should be board-specific ...
7753c6bc24SDavid Daneyconfig USB_ARCH_HAS_HCD
7853c6bc24SDavid Daney	boolean
7953c6bc24SDavid Daney	default y if USB_ARCH_HAS_OHCI
8053c6bc24SDavid Daney	default y if USB_ARCH_HAS_EHCI
8153c6bc24SDavid Daney	default y if USB_ARCH_HAS_XHCI
8253c6bc24SDavid Daney	default y if PCMCIA && !M32R			# sl811_cs
8353c6bc24SDavid Daney	default y if ARM				# SL-811
8453c6bc24SDavid Daney	default y if BLACKFIN				# SL-811
8553c6bc24SDavid Daney	default y if SUPERH				# r8a66597-hcd
8653c6bc24SDavid Daney	default PCI
8753c6bc24SDavid Daney
881da177e4SLinus Torvalds# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
891da177e4SLinus Torvaldsconfig USB
901da177e4SLinus Torvalds	tristate "Support for Host-side USB"
911da177e4SLinus Torvalds	depends on USB_ARCH_HAS_HCD
92a853a3d4SClemens Ladisch	select NLS  # for UTF-8 strings
931da177e4SLinus Torvalds	---help---
941da177e4SLinus Torvalds	  Universal Serial Bus (USB) is a specification for a serial bus
951da177e4SLinus Torvalds	  subsystem which offers higher speeds and more features than the
961da177e4SLinus Torvalds	  traditional PC serial port.  The bus supplies power to peripherals
971da177e4SLinus Torvalds	  and allows for hot swapping.  Up to 127 USB peripherals can be
981da177e4SLinus Torvalds	  connected to a single USB host in a tree structure.
991da177e4SLinus Torvalds
1001da177e4SLinus Torvalds	  The USB host is the root of the tree, the peripherals are the
1011da177e4SLinus Torvalds	  leaves and the inner nodes are special USB devices called hubs.
1021da177e4SLinus Torvalds	  Most PCs now have USB host ports, used to connect peripherals
1031da177e4SLinus Torvalds	  such as scanners, keyboards, mice, modems, cameras, disks,
1041da177e4SLinus Torvalds	  flash memory, network links, and printers to the PC.
1051da177e4SLinus Torvalds
1061da177e4SLinus Torvalds	  Say Y here if your computer has a host-side USB port and you want
1071da177e4SLinus Torvalds	  to use USB devices.  You then need to say Y to at least one of the
1081da177e4SLinus Torvalds	  Host Controller Driver (HCD) options below.  Choose a USB 1.1
1091da177e4SLinus Torvalds	  controller, such as "UHCI HCD support" or "OHCI HCD support",
1101da177e4SLinus Torvalds	  and "EHCI HCD (USB 2.0) support" except for older systems that
1111da177e4SLinus Torvalds	  do not have USB 2.0 support.  It doesn't normally hurt to select
1121da177e4SLinus Torvalds	  them all if you are not certain.
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds	  If your system has a device-side USB port, used in the peripheral
1151da177e4SLinus Torvalds	  side of the USB protocol, see the "USB Gadget" framework instead.
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvalds	  After choosing your HCD, then select drivers for the USB peripherals
1181da177e4SLinus Torvalds	  you'll be using.  You may want to check out the information provided
1191da177e4SLinus Torvalds	  in <file:Documentation/usb/> and especially the links given in
1201da177e4SLinus Torvalds	  <file:Documentation/usb/usb-help.txt>.
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1231da177e4SLinus Torvalds	  module will be called usbcore.
1241da177e4SLinus Torvalds
125*25e11ec4SFlorian Fainelliif USB
1261da177e4SLinus Torvalds
127*25e11ec4SFlorian Fainellisource "drivers/usb/core/Kconfig"
12872246da4SFelipe Balbi
1293bea302dSSimon Arlottsource "drivers/usb/mon/Kconfig"
1303bea302dSSimon Arlott
131470cc415SGreg Kroah-Hartmansource "drivers/usb/wusbcore/Kconfig"
132470cc415SGreg Kroah-Hartman
1331da177e4SLinus Torvaldssource "drivers/usb/host/Kconfig"
1341da177e4SLinus Torvalds
135550a7375SFelipe Balbisource "drivers/usb/musb/Kconfig"
136550a7375SFelipe Balbi
137f1407d5cSKuninori Morimotosource "drivers/usb/renesas_usbhs/Kconfig"
138f1407d5cSKuninori Morimoto
1391da177e4SLinus Torvaldssource "drivers/usb/class/Kconfig"
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldssource "drivers/usb/storage/Kconfig"
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvaldssource "drivers/usb/image/Kconfig"
1441da177e4SLinus Torvalds
145*25e11ec4SFlorian Fainelliendif
146*25e11ec4SFlorian Fainelli
147*25e11ec4SFlorian Fainellisource "drivers/usb/dwc3/Kconfig"
148*25e11ec4SFlorian Fainelli
149*25e11ec4SFlorian Fainellisource "drivers/usb/chipidea/Kconfig"
150*25e11ec4SFlorian Fainelli
1511da177e4SLinus Torvaldscomment "USB port drivers"
152*25e11ec4SFlorian Fainelli
153*25e11ec4SFlorian Fainelliif USB
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvaldsconfig USB_USS720
1561da177e4SLinus Torvalds	tristate "USS720 parport driver"
157*25e11ec4SFlorian Fainelli	depends on PARPORT
1581da177e4SLinus Torvalds	select PARPORT_NOT_PC
1591da177e4SLinus Torvalds	---help---
1601da177e4SLinus Torvalds	  This driver is for USB parallel port adapters that use the Lucent
1611da177e4SLinus Torvalds	  Technologies USS-720 chip. These cables are plugged into your USB
1621da177e4SLinus Torvalds	  port and provide USB compatibility to peripherals designed with
1631da177e4SLinus Torvalds	  parallel port interfaces.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvalds	  The chip has two modes: automatic mode and manual mode. In automatic
1661da177e4SLinus Torvalds	  mode, it looks to the computer like a standard USB printer. Only
1671da177e4SLinus Torvalds	  printers may be connected to the USS-720 in this mode. The generic
1681da177e4SLinus Torvalds	  USB printer driver ("USB Printer support", above) may be used in
1691da177e4SLinus Torvalds	  that mode, and you can say N here if you want to use the chip only
1701da177e4SLinus Torvalds	  in this mode.
1711da177e4SLinus Torvalds
1721da177e4SLinus Torvalds	  Manual mode is not limited to printers, any parallel port
1731da177e4SLinus Torvalds	  device should work. This driver utilizes manual mode.
1741da177e4SLinus Torvalds	  Note however that some operations are three orders of magnitude
1751da177e4SLinus Torvalds	  slower than on a PCI/ISA Parallel Port, so timing critical
1761da177e4SLinus Torvalds	  applications might not work.
1771da177e4SLinus Torvalds
1781da177e4SLinus Torvalds	  Say Y here if you own an USS-720 USB->Parport cable and intend to
1791da177e4SLinus Torvalds	  connect anything other than a printer to it.
1801da177e4SLinus Torvalds
1811da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1821da177e4SLinus Torvalds	  module will be called uss720.
1831da177e4SLinus Torvalds
1841da177e4SLinus Torvaldssource "drivers/usb/serial/Kconfig"
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvaldssource "drivers/usb/misc/Kconfig"
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvaldssource "drivers/usb/atm/Kconfig"
1891da177e4SLinus Torvalds
190*25e11ec4SFlorian Fainelliendif # USB
191*25e11ec4SFlorian Fainelli
192*25e11ec4SFlorian Fainellisource "drivers/usb/phy/Kconfig"
193*25e11ec4SFlorian Fainelli
1941da177e4SLinus Torvaldssource "drivers/usb/gadget/Kconfig"
1951da177e4SLinus Torvalds
19604d06ad0SJan Engelhardtendif # USB_SUPPORT
197