xref: /openbmc/linux/drivers/usb/host/Kconfig (revision c21b37f6)
1#
2# USB Host Controller Drivers
3#
4comment "USB Host Controller Drivers"
5	depends on USB
6
7config USB_EHCI_HCD
8	tristate "EHCI HCD (USB 2.0) support"
9	depends on USB && USB_ARCH_HAS_EHCI
10	---help---
11	  The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
12	  "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
13	  If your USB host controller supports USB 2.0, you will likely want to
14	  configure this Host Controller Driver.  At the time of this writing,
15	  the primary implementation of EHCI is a chip from NEC, widely available
16	  in add-on PCI cards, but implementations are in the works from other
17	  vendors including Intel and Philips.  Motherboard support is appearing.
18
19	  EHCI controllers are packaged with "companion" host controllers (OHCI
20	  or UHCI) to handle USB 1.1 devices connected to root hub ports.  Ports
21	  will connect to EHCI if the device is high speed, otherwise they
22	  connect to a companion controller.  If you configure EHCI, you should
23	  probably configure the OHCI (for NEC and some other vendors) USB Host
24	  Controller Driver or UHCI (for Via motherboards) Host Controller
25	  Driver too.
26
27	  You may want to read <file:Documentation/usb/ehci.txt>.
28
29	  To compile this driver as a module, choose M here: the
30	  module will be called ehci-hcd.
31
32config USB_EHCI_SPLIT_ISO
33	bool "Full speed ISO transactions (EXPERIMENTAL)"
34	depends on USB_EHCI_HCD && EXPERIMENTAL
35	default n
36	---help---
37	  This code is new and hasn't been used with many different
38	  EHCI or USB 2.0 transaction translator implementations.
39	  It should work for ISO-OUT transfers, like audio.
40
41config USB_EHCI_ROOT_HUB_TT
42	bool "Root Hub Transaction Translators (EXPERIMENTAL)"
43	depends on USB_EHCI_HCD && EXPERIMENTAL
44	---help---
45	  Some EHCI chips have vendor-specific extensions to integrate
46	  transaction translators, so that no OHCI or UHCI companion
47	  controller is needed.  It's safe to say "y" even if your
48	  controller doesn't support this feature.
49
50	  This supports the EHCI implementation that's originally
51	  from ARC, and has since changed hands a few times.
52
53config USB_EHCI_TT_NEWSCHED
54	bool "Improved Transaction Translator scheduling (EXPERIMENTAL)"
55	depends on USB_EHCI_HCD && EXPERIMENTAL
56	---help---
57	  This changes the periodic scheduling code to fill more of the low
58	  and full speed bandwidth available from the Transaction Translator
59	  (TT) in USB 2.0 hubs.  Without this, only one transfer will be
60	  issued in each microframe, significantly reducing the number of
61	  periodic low/fullspeed transfers possible.
62
63	  If you have multiple periodic low/fullspeed devices connected to a
64	  highspeed USB hub which is connected to a highspeed USB Host
65	  Controller, and some of those devices will not work correctly
66	  (possibly due to "ENOSPC" or "-28" errors), say Y.
67
68	  If unsure, say N.
69
70config USB_EHCI_BIG_ENDIAN_MMIO
71	bool
72	depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX)
73	default y
74
75config USB_EHCI_BIG_ENDIAN_DESC
76	bool
77	depends on USB_EHCI_HCD && 440EPX
78	default y
79
80config USB_EHCI_FSL
81	bool
82	select USB_EHCI_ROOT_HUB_TT
83	default y if MPC834x || PPC_MPC831x
84	---help---
85	  Variation of ARC USB block used in some Freescale chips.
86
87config USB_ISP116X_HCD
88	tristate "ISP116X HCD support"
89	depends on USB
90	---help---
91	  The ISP1160 and ISP1161 chips are USB host controllers. Enable this
92	  option if your board has this chip. If unsure, say N.
93
94	  This driver does not support isochronous transfers.
95
96	  To compile this driver as a module, choose M here: the
97	  module will be called isp116x-hcd.
98
99config USB_OHCI_HCD
100	tristate "OHCI HCD support"
101	depends on USB && USB_ARCH_HAS_OHCI
102	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
103	select I2C if ARCH_PNX4008
104	---help---
105	  The Open Host Controller Interface (OHCI) is a standard for accessing
106	  USB 1.1 host controller hardware.  It does more in hardware than Intel's
107	  UHCI specification.  If your USB host controller follows the OHCI spec,
108	  say Y.  On most non-x86 systems, and on x86 hardware that's not using a
109	  USB controller from Intel or VIA, this is appropriate.  If your host
110	  controller doesn't use PCI, this is probably appropriate.  For a PCI
111	  based system where you're not sure, the "lspci -v" entry will list the
112	  right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
113
114	  To compile this driver as a module, choose M here: the
115	  module will be called ohci-hcd.
116
117config USB_OHCI_HCD_PPC_SOC
118	bool "OHCI support for on-chip PPC USB controller"
119	depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
120	default y
121	select USB_OHCI_BIG_ENDIAN_DESC
122	select USB_OHCI_BIG_ENDIAN_MMIO
123	---help---
124	  Enables support for the USB controller on the MPC52xx or
125	  STB03xxx processor chip.  If unsure, say Y.
126
127config USB_OHCI_HCD_PPC_OF
128	bool "OHCI support for PPC USB controller on OF platform bus"
129	depends on USB_OHCI_HCD && PPC_OF
130	default y
131	---help---
132	  Enables support for the USB controller PowerPC present on the
133	  OpenFirmware platform bus.
134
135config USB_OHCI_HCD_PPC_OF_BE
136	bool "Support big endian HC"
137	depends on USB_OHCI_HCD_PPC_OF
138	default y
139	select USB_OHCI_BIG_ENDIAN_DESC
140	select USB_OHCI_BIG_ENDIAN_MMIO
141
142config USB_OHCI_HCD_PPC_OF_LE
143	bool "Support little endian HC"
144	depends on USB_OHCI_HCD_PPC_OF
145	default n
146	select USB_OHCI_LITTLE_ENDIAN
147
148config USB_OHCI_HCD_PCI
149	bool "OHCI support for PCI-bus USB controllers"
150	depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
151	default y
152	select USB_OHCI_LITTLE_ENDIAN
153	---help---
154	  Enables support for PCI-bus plug-in USB controller cards.
155	  If unsure, say Y.
156
157config USB_OHCI_BIG_ENDIAN_DESC
158	bool
159	depends on USB_OHCI_HCD
160	default n
161
162config USB_OHCI_BIG_ENDIAN_MMIO
163	bool
164	depends on USB_OHCI_HCD
165	default n
166
167config USB_OHCI_LITTLE_ENDIAN
168	bool
169	depends on USB_OHCI_HCD
170	default n if STB03xxx || PPC_MPC52xx
171	default y
172
173config USB_UHCI_HCD
174	tristate "UHCI HCD (most Intel and VIA) support"
175	depends on USB && PCI
176	---help---
177	  The Universal Host Controller Interface is a standard by Intel for
178	  accessing the USB hardware in the PC (which is also called the USB
179	  host controller). If your USB host controller conforms to this
180	  standard, you may want to say Y, but see below. All recent boards
181	  with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
182	  i810, i820) conform to this standard. Also all VIA PCI chipsets
183	  (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
184	  133). If unsure, say Y.
185
186	  To compile this driver as a module, choose M here: the
187	  module will be called uhci-hcd.
188
189config USB_U132_HCD
190	tristate "Elan U132 Adapter Host Controller"
191	depends on USB && USB_FTDI_ELAN
192	default M
193	help
194	  The U132 adapter is a USB to CardBus adapter specifically designed
195	  for PC cards that contain an OHCI host controller. Typical PC cards
196	  are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
197	  adapter will *NOT* work with PC cards that do not contain an OHCI
198	  controller.
199
200	  For those PC cards that contain multiple OHCI controllers only the
201	  first one is used.
202
203	  The driver consists of two modules, the "ftdi-elan" module is a
204	  USB client driver that interfaces to the FTDI chip within ELAN's
205	  USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
206	  controller driver that talks to the OHCI controller within the
207	  CardBus cards that are inserted in the U132 adapter.
208
209	  This driver has been tested with a CardBus OHCI USB adapter, and
210	  worked with a USB PEN Drive inserted into the first USB port of
211	  the PCCARD. A rather pointless thing to do, but useful for testing.
212
213	  It is safe to say M here.
214
215	  See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
216
217config USB_SL811_HCD
218	tristate "SL811HS HCD support"
219	depends on USB
220	help
221	  The SL811HS is a single-port USB controller that supports either
222	  host side or peripheral side roles.  Enable this option if your
223	  board has this chip, and you want to use it as a host controller.
224	  If unsure, say N.
225
226	  To compile this driver as a module, choose M here: the
227	  module will be called sl811-hcd.
228
229config USB_SL811_CS
230	tristate "CF/PCMCIA support for SL811HS HCD"
231	depends on USB_SL811_HCD && PCMCIA
232	help
233	  Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
234	  REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
235
236	  To compile this driver as a module, choose M here: the
237	  module will be called "sl811_cs".
238
239config USB_R8A66597_HCD
240	tristate "R8A66597 HCD suppoort"
241	depends on USB
242	help
243	  The R8A66597 is a USB 2.0 host and peripheral controller.
244
245	  Enable this option if your board has this chip, and you want
246	  to use it as a host controller.  If unsure, say N.
247
248	  To compile this driver as a module, choose M here: the
249	  module will be called r8a66597-hcd.
250
251