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