blob: 2e6b832e004ba4926aaa1d870d7a1a01345dc8ac [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# USB device configuration
3#
4
Arnd Bergmannd9ea21a2013-06-04 19:42:22 +02005# These are unused now, remove them once they are no longer selected
Linus Torvalds1da177e2005-04-16 15:20:36 -07006config USB_ARCH_HAS_OHCI
Arnd Bergmannd9ea21a2013-06-04 19:42:22 +02007 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
David Daney900e0622013-08-09 18:17:48 -07009config USB_OHCI_BIG_ENDIAN_DESC
10 bool
11
12config USB_OHCI_BIG_ENDIAN_MMIO
13 bool
14
15config USB_OHCI_LITTLE_ENDIAN
16 bool
17 default n if STB03xxx || PPC_MPC52xx
18 default y
19
Jordan Crouse76fa9a22006-01-20 14:06:09 -080020config USB_ARCH_HAS_EHCI
Arnd Bergmannd9ea21a2013-06-04 19:42:22 +020021 bool
Jordan Crouse76fa9a22006-01-20 14:06:09 -080022
David Daney900e0622013-08-09 18:17:48 -070023config USB_EHCI_BIG_ENDIAN_MMIO
24 bool
25
26config USB_EHCI_BIG_ENDIAN_DESC
27 bool
28
Felipe Balbi7b720002011-09-23 14:19:56 -070029config USB_ARCH_HAS_XHCI
Arnd Bergmannd9ea21a2013-06-04 19:42:22 +020030 bool
Felipe Balbi7b720002011-09-23 14:19:56 -070031
David Daneya8edc422012-03-22 14:01:07 -070032menuconfig USB_SUPPORT
33 bool "USB support"
34 depends on HAS_IOMEM
35 default y
36 ---help---
37 This option adds core support for Universal Serial Bus (USB).
38 You will also need drivers from the following menu to make use of it.
39
David Daney53c6bc22012-03-13 15:58:05 -070040if USB_SUPPORT
41
42config USB_COMMON
43 tristate
44 default y
45 depends on USB || USB_GADGET
46
David Daney53c6bc22012-03-13 15:58:05 -070047config USB_ARCH_HAS_HCD
Arnd Bergmannd9ea21a2013-06-04 19:42:22 +020048 def_bool y
David Daney53c6bc22012-03-13 15:58:05 -070049
Linus Torvalds1da177e2005-04-16 15:20:36 -070050# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
51config USB
52 tristate "Support for Host-side USB"
53 depends on USB_ARCH_HAS_HCD
Clemens Ladischa853a3d2009-04-24 10:12:18 +020054 select NLS # for UTF-8 strings
Linus Torvalds1da177e2005-04-16 15:20:36 -070055 ---help---
56 Universal Serial Bus (USB) is a specification for a serial bus
57 subsystem which offers higher speeds and more features than the
58 traditional PC serial port. The bus supplies power to peripherals
59 and allows for hot swapping. Up to 127 USB peripherals can be
60 connected to a single USB host in a tree structure.
61
62 The USB host is the root of the tree, the peripherals are the
63 leaves and the inner nodes are special USB devices called hubs.
64 Most PCs now have USB host ports, used to connect peripherals
65 such as scanners, keyboards, mice, modems, cameras, disks,
66 flash memory, network links, and printers to the PC.
67
68 Say Y here if your computer has a host-side USB port and you want
69 to use USB devices. You then need to say Y to at least one of the
70 Host Controller Driver (HCD) options below. Choose a USB 1.1
71 controller, such as "UHCI HCD support" or "OHCI HCD support",
72 and "EHCI HCD (USB 2.0) support" except for older systems that
73 do not have USB 2.0 support. It doesn't normally hurt to select
74 them all if you are not certain.
75
76 If your system has a device-side USB port, used in the peripheral
77 side of the USB protocol, see the "USB Gadget" framework instead.
78
79 After choosing your HCD, then select drivers for the USB peripherals
80 you'll be using. You may want to check out the information provided
81 in <file:Documentation/usb/> and especially the links given in
82 <file:Documentation/usb/usb-help.txt>.
83
84 To compile this driver as a module, choose M here: the
85 module will be called usbcore.
86
Florian Fainelli25e11ec2013-04-09 14:29:25 +020087if USB
Linus Torvalds1da177e2005-04-16 15:20:36 -070088
Florian Fainelli25e11ec2013-04-09 14:29:25 +020089source "drivers/usb/core/Kconfig"
Felipe Balbi72246da2011-08-19 18:10:58 +030090
Simon Arlott3bea3022008-07-21 20:44:50 +010091source "drivers/usb/mon/Kconfig"
92
Greg Kroah-Hartman470cc412008-09-17 16:34:26 +010093source "drivers/usb/wusbcore/Kconfig"
94
Linus Torvalds1da177e2005-04-16 15:20:36 -070095source "drivers/usb/host/Kconfig"
96
Kuninori Morimotof1407d52011-04-04 13:44:59 +090097source "drivers/usb/renesas_usbhs/Kconfig"
98
Linus Torvalds1da177e2005-04-16 15:20:36 -070099source "drivers/usb/class/Kconfig"
100
101source "drivers/usb/storage/Kconfig"
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103source "drivers/usb/image/Kconfig"
104
Florian Fainelli25e11ec2013-04-09 14:29:25 +0200105endif
106
Ezequiel Garcia845c0712013-12-22 00:08:33 -0300107source "drivers/usb/musb/Kconfig"
108
Florian Fainelli25e11ec2013-04-09 14:29:25 +0200109source "drivers/usb/dwc3/Kconfig"
110
Paul Zimmerman197ba5f2014-01-13 13:50:09 -0800111source "drivers/usb/dwc2/Kconfig"
112
Florian Fainelli25e11ec2013-04-09 14:29:25 +0200113source "drivers/usb/chipidea/Kconfig"
114
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115comment "USB port drivers"
Florian Fainelli25e11ec2013-04-09 14:29:25 +0200116
117if USB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118
119config USB_USS720
120 tristate "USS720 parport driver"
Florian Fainelli25e11ec2013-04-09 14:29:25 +0200121 depends on PARPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122 select PARPORT_NOT_PC
123 ---help---
124 This driver is for USB parallel port adapters that use the Lucent
125 Technologies USS-720 chip. These cables are plugged into your USB
126 port and provide USB compatibility to peripherals designed with
127 parallel port interfaces.
128
129 The chip has two modes: automatic mode and manual mode. In automatic
130 mode, it looks to the computer like a standard USB printer. Only
131 printers may be connected to the USS-720 in this mode. The generic
132 USB printer driver ("USB Printer support", above) may be used in
133 that mode, and you can say N here if you want to use the chip only
134 in this mode.
135
136 Manual mode is not limited to printers, any parallel port
137 device should work. This driver utilizes manual mode.
138 Note however that some operations are three orders of magnitude
139 slower than on a PCI/ISA Parallel Port, so timing critical
140 applications might not work.
141
142 Say Y here if you own an USS-720 USB->Parport cable and intend to
143 connect anything other than a printer to it.
144
145 To compile this driver as a module, choose M here: the
146 module will be called uss720.
147
148source "drivers/usb/serial/Kconfig"
149
150source "drivers/usb/misc/Kconfig"
151
152source "drivers/usb/atm/Kconfig"
153
Florian Fainelli25e11ec2013-04-09 14:29:25 +0200154endif # USB
155
156source "drivers/usb/phy/Kconfig"
157
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158source "drivers/usb/gadget/Kconfig"
159
Jan Engelhardt04d06ad2007-05-10 23:04:13 -0700160endif # USB_SUPPORT