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