Merge current mainline tree into linux-omap tree
[pandora-kernel.git] / drivers / usb / host / Kconfig
1 #
2 # USB Host Controller Drivers
3 #
4 comment "USB Host Controller Drivers"
5         depends on USB
6
7 config USB_C67X00_HCD
8         tristate "Cypress C67x00 HCD support"
9         depends on USB
10         help
11           The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role
12           host/peripheral/OTG USB controllers.
13
14           Enable this option to support this chip in host controller mode.
15           If unsure, say N.
16
17           To compile this driver as a module, choose M here: the
18           module will be called c67x00.
19
20 config USB_EHCI_HCD
21         tristate "EHCI HCD (USB 2.0) support"
22         depends on USB && USB_ARCH_HAS_EHCI
23         ---help---
24           The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
25           "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
26           If your USB host controller supports USB 2.0, you will likely want to
27           configure this Host Controller Driver.  At the time of this writing, 
28           the primary implementation of EHCI is a chip from NEC, widely available
29           in add-on PCI cards, but implementations are in the works from other 
30           vendors including Intel and Philips.  Motherboard support is appearing.
31
32           EHCI controllers are packaged with "companion" host controllers (OHCI
33           or UHCI) to handle USB 1.1 devices connected to root hub ports.  Ports
34           will connect to EHCI if the device is high speed, otherwise they
35           connect to a companion controller.  If you configure EHCI, you should
36           probably configure the OHCI (for NEC and some other vendors) USB Host
37           Controller Driver or UHCI (for Via motherboards) Host Controller
38           Driver too.
39
40           You may want to read <file:Documentation/usb/ehci.txt>.
41
42           To compile this driver as a module, choose M here: the
43           module will be called ehci-hcd.
44 choice
45         prompt "PHY/TLL mode"
46         depends on USB_EHCI_HCD && EXPERIMENTAL && ARCH_OMAP34XX
47         ---help---
48         Choose PHY or TLL mode of operation
49
50 config OMAP_EHCI_PHY_MODE
51         bool "PHY mode: ISP1504 on Port1/2 (NEW 3430ES2.0)"
52         depends on USB_EHCI_HCD && EXPERIMENTAL && ARCH_OMAP34XX
53         ---help---
54           EHCI PHY mode. Port1 and Port2 are connected to ISP1504 transcievers
55
56 config OMAP_EHCI_TLL_MODE
57         bool "TLL mode: (EXPERIMENTAL)"
58         depends on USB_EHCI_HCD && EXPERIMENTAL && ARCH_OMAP34XX
59         ---help---
60         OMAP EHCI controller has TLL mode of operation for all 3 ports.
61         Use this mode when no transciever is present
62 endchoice
63
64 config USB_EHCI_ROOT_HUB_TT
65         bool "Root Hub Transaction Translators"
66         depends on USB_EHCI_HCD
67         ---help---
68           Some EHCI chips have vendor-specific extensions to integrate
69           transaction translators, so that no OHCI or UHCI companion
70           controller is needed.  It's safe to say "y" even if your
71           controller doesn't support this feature.
72
73           This supports the EHCI implementation that's originally
74           from ARC, and has since changed hands a few times.
75
76 config USB_EHCI_TT_NEWSCHED
77         bool "Improved Transaction Translator scheduling (EXPERIMENTAL)"
78         depends on USB_EHCI_HCD && EXPERIMENTAL
79         ---help---
80           This changes the periodic scheduling code to fill more of the low
81           and full speed bandwidth available from the Transaction Translator
82           (TT) in USB 2.0 hubs.  Without this, only one transfer will be
83           issued in each microframe, significantly reducing the number of
84           periodic low/fullspeed transfers possible.
85
86           If you have multiple periodic low/fullspeed devices connected to a
87           highspeed USB hub which is connected to a highspeed USB Host
88           Controller, and some of those devices will not work correctly
89           (possibly due to "ENOSPC" or "-28" errors), say Y.
90
91           If unsure, say N.
92
93 config USB_EHCI_BIG_ENDIAN_MMIO
94         bool
95         depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || ARCH_IXP4XX)
96         default y
97
98 config USB_EHCI_BIG_ENDIAN_DESC
99         bool
100         depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
101         default y
102
103 config USB_EHCI_FSL
104         bool "Support for Freescale on-chip EHCI USB controller"
105         depends on USB_EHCI_HCD && FSL_SOC
106         select USB_EHCI_ROOT_HUB_TT
107         ---help---
108           Variation of ARC USB block used in some Freescale chips.
109
110 config USB_EHCI_HCD_PPC_OF
111         bool "EHCI support for PPC USB controller on OF platform bus"
112         depends on USB_EHCI_HCD && PPC_OF
113         default y
114         ---help---
115           Enables support for the USB controller present on the PowerPC
116           OpenFirmware platform bus.
117
118 config USB_ISP116X_HCD
119         tristate "ISP116X HCD support"
120         depends on USB
121         ---help---
122           The ISP1160 and ISP1161 chips are USB host controllers. Enable this
123           option if your board has this chip. If unsure, say N.
124
125           This driver does not support isochronous transfers.
126
127           To compile this driver as a module, choose M here: the
128           module will be called isp116x-hcd.
129
130 config USB_ISP1760_HCD
131         tristate "ISP 1760 HCD support"
132         depends on USB && EXPERIMENTAL
133         ---help---
134           The ISP1760 chip is a USB 2.0 host controller.
135
136           This driver does not support isochronous transfers or OTG.
137
138           To compile this driver as a module, choose M here: the
139           module will be called isp1760-hcd.
140
141 config USB_ISP1760_PCI
142         bool "Support for the PCI bus"
143         depends on USB_ISP1760_HCD && PCI
144         ---help---
145           Enables support for the device present on the PCI bus.
146           This should only be required if you happen to have the eval kit from
147           NXP and you are going to test it.
148
149 config USB_ISP1760_OF
150         bool "Support for the OF platform bus"
151         depends on USB_ISP1760_HCD && PPC_OF
152         ---help---
153           Enables support for the device present on the PowerPC
154           OpenFirmware platform bus.
155
156 config USB_OHCI_HCD
157         tristate "OHCI HCD support"
158         depends on USB && USB_ARCH_HAS_OHCI
159         select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
160         select I2C if ARCH_PNX4008
161         ---help---
162           The Open Host Controller Interface (OHCI) is a standard for accessing
163           USB 1.1 host controller hardware.  It does more in hardware than Intel's
164           UHCI specification.  If your USB host controller follows the OHCI spec,
165           say Y.  On most non-x86 systems, and on x86 hardware that's not using a
166           USB controller from Intel or VIA, this is appropriate.  If your host
167           controller doesn't use PCI, this is probably appropriate.  For a PCI
168           based system where you're not sure, the "lspci -v" entry will list the
169           right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
170
171           To compile this driver as a module, choose M here: the
172           module will be called ohci-hcd.
173
174 config USB_OHCI_HCD_PPC_SOC
175         bool "OHCI support for on-chip PPC USB controller"
176         depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
177         default y
178         select USB_OHCI_BIG_ENDIAN_DESC
179         select USB_OHCI_BIG_ENDIAN_MMIO
180         ---help---
181           Enables support for the USB controller on the MPC52xx or
182           STB03xxx processor chip.  If unsure, say Y.
183
184 config USB_OHCI_HCD_PPC_OF
185         bool "OHCI support for PPC USB controller on OF platform bus"
186         depends on USB_OHCI_HCD && PPC_OF
187         default y
188         ---help---
189           Enables support for the USB controller PowerPC present on the
190           OpenFirmware platform bus.
191
192 config USB_OHCI_HCD_PPC_OF_BE
193         bool "Support big endian HC"
194         depends on USB_OHCI_HCD_PPC_OF
195         default y
196         select USB_OHCI_BIG_ENDIAN_DESC
197         select USB_OHCI_BIG_ENDIAN_MMIO
198
199 config USB_OHCI_HCD_PPC_OF_LE
200         bool "Support little endian HC"
201         depends on USB_OHCI_HCD_PPC_OF
202         default n
203         select USB_OHCI_LITTLE_ENDIAN
204
205 config USB_OHCI_HCD_PCI
206         bool "OHCI support for PCI-bus USB controllers"
207         depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
208         default y
209         select USB_OHCI_LITTLE_ENDIAN
210         ---help---
211           Enables support for PCI-bus plug-in USB controller cards.
212           If unsure, say Y.
213
214 config USB_OHCI_HCD_SSB
215         bool "OHCI support for Broadcom SSB OHCI core"
216         depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
217         default n
218         ---help---
219           Support for the Sonics Silicon Backplane (SSB) attached
220           Broadcom USB OHCI core.
221
222           This device is present in some embedded devices with
223           Broadcom based SSB bus.
224
225           If unsure, say N.
226
227 config USB_OHCI_BIG_ENDIAN_DESC
228         bool
229         depends on USB_OHCI_HCD
230         default n
231
232 config USB_OHCI_BIG_ENDIAN_MMIO
233         bool
234         depends on USB_OHCI_HCD
235         default n
236
237 config USB_OHCI_LITTLE_ENDIAN
238         bool
239         depends on USB_OHCI_HCD
240         default n if STB03xxx || PPC_MPC52xx
241         default y
242
243 config USB_UHCI_HCD
244         tristate "UHCI HCD (most Intel and VIA) support"
245         depends on USB && PCI
246         ---help---
247           The Universal Host Controller Interface is a standard by Intel for
248           accessing the USB hardware in the PC (which is also called the USB
249           host controller). If your USB host controller conforms to this
250           standard, you may want to say Y, but see below. All recent boards
251           with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
252           i810, i820) conform to this standard. Also all VIA PCI chipsets
253           (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
254           133). If unsure, say Y.
255
256           To compile this driver as a module, choose M here: the
257           module will be called uhci-hcd.
258
259 config USB_U132_HCD
260         tristate "Elan U132 Adapter Host Controller"
261         depends on USB && USB_FTDI_ELAN
262         default M
263         help
264           The U132 adapter is a USB to CardBus adapter specifically designed
265           for PC cards that contain an OHCI host controller. Typical PC cards
266           are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
267           adapter will *NOT* work with PC cards that do not contain an OHCI
268           controller.
269
270           For those PC cards that contain multiple OHCI controllers only the
271           first one is used.
272
273           The driver consists of two modules, the "ftdi-elan" module is a
274           USB client driver that interfaces to the FTDI chip within ELAN's
275           USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
276           controller driver that talks to the OHCI controller within the
277           CardBus cards that are inserted in the U132 adapter.
278
279           This driver has been tested with a CardBus OHCI USB adapter, and
280           worked with a USB PEN Drive inserted into the first USB port of
281           the PCCARD. A rather pointless thing to do, but useful for testing.
282
283           It is safe to say M here.
284
285           See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
286
287 config USB_SL811_HCD
288         tristate "SL811HS HCD support"
289         depends on USB
290         help
291           The SL811HS is a single-port USB controller that supports either
292           host side or peripheral side roles.  Enable this option if your
293           board has this chip, and you want to use it as a host controller. 
294           If unsure, say N.
295
296           To compile this driver as a module, choose M here: the
297           module will be called sl811-hcd.
298
299 config USB_SL811_CS
300         tristate "CF/PCMCIA support for SL811HS HCD"
301         depends on USB_SL811_HCD && PCMCIA
302         help
303           Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
304           REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
305
306           To compile this driver as a module, choose M here: the
307           module will be called "sl811_cs".
308
309 config USB_R8A66597_HCD
310         tristate "R8A66597 HCD support"
311         depends on USB
312         help
313           The R8A66597 is a USB 2.0 host and peripheral controller.
314
315           Enable this option if your board has this chip, and you want
316           to use it as a host controller.  If unsure, say N.
317
318           To compile this driver as a module, choose M here: the
319           module will be called r8a66597-hcd.
320
321 config SUPERH_ON_CHIP_R8A66597
322         boolean "Enable SuperH on-chip R8A66597 USB"
323         depends on USB_R8A66597_HCD && (CPU_SUBTYPE_SH7366 || CPU_SUBTYPE_SH7723)
324         help
325            This driver enables support for the on-chip R8A66597 in the
326            SH7366 and SH7723 processors.