acac56852b49111af030e6254261c70a723fd57d
[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_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
32 config USB_EHCI_ROOT_HUB_TT
33         bool "Root Hub Transaction Translators"
34         depends on USB_EHCI_HCD
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
44 config 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
61 config USB_EHCI_BIG_ENDIAN_MMIO
62         bool
63         depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || ARCH_IXP4XX)
64         default y
65
66 config USB_EHCI_BIG_ENDIAN_DESC
67         bool
68         depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX)
69         default y
70
71 config 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
78 config 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
86 config 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
98 config USB_ISP1760_HCD
99         tristate "ISP 1760 HCD support"
100         depends on USB && EXPERIMENTAL
101         ---help---
102           The ISP1760 chip is a USB 2.0 host controller.
103
104           This driver does not support isochronous transfers or OTG.
105
106           To compile this driver as a module, choose M here: the
107           module will be called isp1760-hcd.
108
109 config USB_ISP1760_PCI
110         bool "Support for the PCI bus"
111         depends on USB_ISP1760_HCD && PCI
112         ---help---
113           Enables support for the device present on the PCI bus.
114           This should only be required if you happen to have the eval kit from
115           NXP and you are going to test it.
116
117 config USB_ISP1760_OF
118         bool "Support for the OF platform bus"
119         depends on USB_ISP1760_HCD && OF
120         ---help---
121           Enables support for the device present on the PowerPC
122           OpenFirmware platform bus.
123
124 config USB_OHCI_HCD
125         tristate "OHCI HCD support"
126         depends on USB && USB_ARCH_HAS_OHCI
127         select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
128         select I2C if ARCH_PNX4008
129         ---help---
130           The Open Host Controller Interface (OHCI) is a standard for accessing
131           USB 1.1 host controller hardware.  It does more in hardware than Intel's
132           UHCI specification.  If your USB host controller follows the OHCI spec,
133           say Y.  On most non-x86 systems, and on x86 hardware that's not using a
134           USB controller from Intel or VIA, this is appropriate.  If your host
135           controller doesn't use PCI, this is probably appropriate.  For a PCI
136           based system where you're not sure, the "lspci -v" entry will list the
137           right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
138
139           To compile this driver as a module, choose M here: the
140           module will be called ohci-hcd.
141
142 config USB_OHCI_HCD_PPC_SOC
143         bool "OHCI support for on-chip PPC USB controller"
144         depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
145         default y
146         select USB_OHCI_BIG_ENDIAN_DESC
147         select USB_OHCI_BIG_ENDIAN_MMIO
148         ---help---
149           Enables support for the USB controller on the MPC52xx or
150           STB03xxx processor chip.  If unsure, say Y.
151
152 config USB_OHCI_HCD_PPC_OF
153         bool "OHCI support for PPC USB controller on OF platform bus"
154         depends on USB_OHCI_HCD && PPC_OF
155         default y
156         ---help---
157           Enables support for the USB controller PowerPC present on the
158           OpenFirmware platform bus.
159
160 config USB_OHCI_HCD_PPC_OF_BE
161         bool "Support big endian HC"
162         depends on USB_OHCI_HCD_PPC_OF
163         default y
164         select USB_OHCI_BIG_ENDIAN_DESC
165         select USB_OHCI_BIG_ENDIAN_MMIO
166
167 config USB_OHCI_HCD_PPC_OF_LE
168         bool "Support little endian HC"
169         depends on USB_OHCI_HCD_PPC_OF
170         default n
171         select USB_OHCI_LITTLE_ENDIAN
172
173 config USB_OHCI_HCD_PCI
174         bool "OHCI support for PCI-bus USB controllers"
175         depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
176         default y
177         select USB_OHCI_LITTLE_ENDIAN
178         ---help---
179           Enables support for PCI-bus plug-in USB controller cards.
180           If unsure, say Y.
181
182 config USB_OHCI_HCD_SSB
183         bool "OHCI support for Broadcom SSB OHCI core"
184         depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
185         default n
186         ---help---
187           Support for the Sonics Silicon Backplane (SSB) attached
188           Broadcom USB OHCI core.
189
190           This device is present in some embedded devices with
191           Broadcom based SSB bus.
192
193           If unsure, say N.
194
195 config USB_OHCI_BIG_ENDIAN_DESC
196         bool
197         depends on USB_OHCI_HCD
198         default n
199
200 config USB_OHCI_BIG_ENDIAN_MMIO
201         bool
202         depends on USB_OHCI_HCD
203         default n
204
205 config USB_OHCI_LITTLE_ENDIAN
206         bool
207         depends on USB_OHCI_HCD
208         default n if STB03xxx || PPC_MPC52xx
209         default y
210
211 config USB_UHCI_HCD
212         tristate "UHCI HCD (most Intel and VIA) support"
213         depends on USB && PCI
214         ---help---
215           The Universal Host Controller Interface is a standard by Intel for
216           accessing the USB hardware in the PC (which is also called the USB
217           host controller). If your USB host controller conforms to this
218           standard, you may want to say Y, but see below. All recent boards
219           with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
220           i810, i820) conform to this standard. Also all VIA PCI chipsets
221           (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
222           133). If unsure, say Y.
223
224           To compile this driver as a module, choose M here: the
225           module will be called uhci-hcd.
226
227 config USB_U132_HCD
228         tristate "Elan U132 Adapter Host Controller"
229         depends on USB && USB_FTDI_ELAN
230         default M
231         help
232           The U132 adapter is a USB to CardBus adapter specifically designed
233           for PC cards that contain an OHCI host controller. Typical PC cards
234           are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
235           adapter will *NOT* work with PC cards that do not contain an OHCI
236           controller.
237
238           For those PC cards that contain multiple OHCI controllers only the
239           first one is used.
240
241           The driver consists of two modules, the "ftdi-elan" module is a
242           USB client driver that interfaces to the FTDI chip within ELAN's
243           USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
244           controller driver that talks to the OHCI controller within the
245           CardBus cards that are inserted in the U132 adapter.
246
247           This driver has been tested with a CardBus OHCI USB adapter, and
248           worked with a USB PEN Drive inserted into the first USB port of
249           the PCCARD. A rather pointless thing to do, but useful for testing.
250
251           It is safe to say M here.
252
253           See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
254
255 config USB_SL811_HCD
256         tristate "SL811HS HCD support"
257         depends on USB
258         help
259           The SL811HS is a single-port USB controller that supports either
260           host side or peripheral side roles.  Enable this option if your
261           board has this chip, and you want to use it as a host controller. 
262           If unsure, say N.
263
264           To compile this driver as a module, choose M here: the
265           module will be called sl811-hcd.
266
267 config USB_SL811_CS
268         tristate "CF/PCMCIA support for SL811HS HCD"
269         depends on USB_SL811_HCD && PCMCIA
270         help
271           Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
272           REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
273
274           To compile this driver as a module, choose M here: the
275           module will be called "sl811_cs".
276
277 config USB_R8A66597_HCD
278         tristate "R8A66597 HCD support"
279         depends on USB
280         help
281           The R8A66597 is a USB 2.0 host and peripheral controller.
282
283           Enable this option if your board has this chip, and you want
284           to use it as a host controller.  If unsure, say N.
285
286           To compile this driver as a module, choose M here: the
287           module will be called r8a66597-hcd.
288
289 config SUPERH_ON_CHIP_R8A66597
290         boolean "Enable SuperH on-chip USB like the R8A66597"
291         depends on USB_R8A66597_HCD && CPU_SUBTYPE_SH7366
292         help
293            Renesas SuperH processor has USB like the R8A66597.
294            This driver supported processor is SH7366.