blob: ca19f6f3197aa8bc3f161c6ba0bfb917969ea068 [file] [log] [blame]
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +02001#
2# USB Gadget support on a system involves
3# (a) a peripheral controller, and
4# (b) the gadget driver using it.
5#
6# NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
7#
8# - Host systems (like PCs) need CONFIG_USB (with "A" jacks).
9# - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks).
10# - Some systems have both kinds of controllers.
11#
12# With help from a special transceiver and a "Mini-AB" jack, systems with
13# both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
14#
15
16#
17# USB Peripheral Controller Support
18#
19# The order here is alphabetical, except that integrated controllers go
20# before discrete ones so they will be the initial/default value:
21# - integrated/SOC controllers first
22# - licensed IP used in both SOC and discrete versions
23# - discrete ones (including all PCI-only controllers)
24# - debug/dummy gadget+hcd is last.
25#
26menu "USB Peripheral Controller"
27
28#
29# Integrated controllers
30#
31
32config USB_AT91
33 tristate "Atmel AT91 USB Device Port"
34 depends on ARCH_AT91
Boris Brezillon9f00fc12015-01-14 17:22:00 +010035 depends on OF || COMPILE_TEST
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +020036 help
37 Many Atmel AT91 processors (such as the AT91RM2000) have a
38 full speed USB Device Port with support for five configurable
39 endpoints (plus endpoint zero).
40
41 Say "y" to link the driver statically, or "m" to build a
42 dynamically linked module called "at91_udc" and force all
43 gadget drivers to also be dynamically linked.
44
45config USB_LPC32XX
46 tristate "LPC32XX USB Peripheral Controller"
47 depends on ARCH_LPC32XX && I2C
48 select USB_ISP1301
49 help
50 This option selects the USB device controller in the LPC32xx SoC.
51
52 Say "y" to link the driver statically, or "m" to build a
53 dynamically linked module called "lpc32xx_udc" and force all
54 gadget drivers to also be dynamically linked.
55
56config USB_ATMEL_USBA
57 tristate "Atmel USBA"
Sudip Mukherjee9af91952015-09-19 22:42:58 +053058 depends on ((AVR32 && !OF) || ARCH_AT91)
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +020059 help
60 USBA is the integrated high-speed USB Device controller on
61 the AT32AP700x, some AT91SAM9 and AT91CAP9 processors from Atmel.
62
63config USB_BCM63XX_UDC
64 tristate "Broadcom BCM63xx Peripheral Controller"
65 depends on BCM63XX
66 help
67 Many Broadcom BCM63xx chipsets (such as the BCM6328) have a
68 high speed USB Device Port with support for four fixed endpoints
69 (plus endpoint zero).
70
71 Say "y" to link the driver statically, or "m" to build a
72 dynamically linked module called "bcm63xx_udc".
73
74config USB_FSL_USB2
75 tristate "Freescale Highspeed USB DR Peripheral Controller"
76 depends on FSL_SOC || ARCH_MXC
77 select USB_FSL_MPH_DR_OF if OF
78 help
79 Some of Freescale PowerPC and i.MX processors have a High Speed
80 Dual-Role(DR) USB controller, which supports device mode.
81
82 The number of programmable endpoints is different through
83 SOC revisions.
84
85 Say "y" to link the driver statically, or "m" to build a
86 dynamically linked module called "fsl_usb2_udc" and force
87 all gadget drivers to also be dynamically linked.
88
89config USB_FUSB300
90 tristate "Faraday FUSB300 USB Peripheral Controller"
91 depends on !PHYS_ADDR_T_64BIT && HAS_DMA
92 help
93 Faraday usb device controller FUSB300 driver
94
95config USB_FOTG210_UDC
96 depends on HAS_DMA
97 tristate "Faraday FOTG210 USB Peripheral Controller"
98 help
99 Faraday USB2.0 OTG controller which can be configured as
100 high speed or full speed USB device. This driver supppors
101 Bulk Transfer so far.
102
103 Say "y" to link the driver statically, or "m" to build a
104 dynamically linked module called "fotg210_udc".
105
106config USB_GR_UDC
107 tristate "Aeroflex Gaisler GRUSBDC USB Peripheral Controller Driver"
108 depends on HAS_DMA
109 help
110 Select this to support Aeroflex Gaisler GRUSBDC cores from the GRLIB
111 VHDL IP core library.
112
113config USB_OMAP
114 tristate "OMAP USB Device Controller"
115 depends on ARCH_OMAP1
116 depends on ISP1301_OMAP || !(MACH_OMAP_H2 || MACH_OMAP_H3)
117 help
118 Many Texas Instruments OMAP processors have flexible full
119 speed USB device controllers, with support for up to 30
120 endpoints (plus endpoint zero). This driver supports the
121 controller in the OMAP 1611, and should work with controllers
122 in other OMAP processors too, given minor tweaks.
123
124 Say "y" to link the driver statically, or "m" to build a
125 dynamically linked module called "omap_udc" and force all
126 gadget drivers to also be dynamically linked.
127
128config USB_PXA25X
129 tristate "PXA 25x or IXP 4xx"
130 depends on (ARCH_PXA && PXA25x) || ARCH_IXP4XX
131 help
132 Intel's PXA 25x series XScale ARM-5TE processors include
133 an integrated full speed USB 1.1 device controller. The
134 controller in the IXP 4xx series is register-compatible.
135
136 It has fifteen fixed-function endpoints, as well as endpoint
137 zero (for control transfers).
138
139 Say "y" to link the driver statically, or "m" to build a
140 dynamically linked module called "pxa25x_udc" and force all
141 gadget drivers to also be dynamically linked.
142
143# if there's only one gadget driver, using only two bulk endpoints,
144# don't waste memory for the other endpoints
145config USB_PXA25X_SMALL
146 depends on USB_PXA25X
147 bool
148 default n if USB_ETH_RNDIS
149 default y if USB_ZERO
150 default y if USB_ETH
151 default y if USB_G_SERIAL
152
153config USB_R8A66597
154 tristate "Renesas R8A66597 USB Peripheral Controller"
155 depends on HAS_DMA
156 help
157 R8A66597 is a discrete USB host and peripheral controller chip that
158 supports both full and high speed USB 2.0 data transfers.
159 It has nine configurable endpoints, and endpoint zero.
160
161 Say "y" to link the driver statically, or "m" to build a
162 dynamically linked module called "r8a66597_udc" and force all
163 gadget drivers to also be dynamically linked.
164
165config USB_RENESAS_USBHS_UDC
166 tristate 'Renesas USBHS controller'
Geert Uytterhoevenfa9a5822014-08-29 21:31:40 +0200167 depends on USB_RENESAS_USBHS && HAS_DMA
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200168 help
169 Renesas USBHS is a discrete USB host and peripheral controller chip
170 that supports both full and high speed USB 2.0 data transfers.
171 It has nine or more configurable endpoints, and endpoint zero.
172
173 Say "y" to link the driver statically, or "m" to build a
174 dynamically linked module called "renesas_usbhs" and force all
175 gadget drivers to also be dynamically linked.
176
Yoshihiro Shimoda746bfe62015-12-21 18:40:04 +0900177config USB_RENESAS_USB3
178 tristate 'Renesas USB3.0 Peripheral controller'
179 depends on ARCH_SHMOBILE || COMPILE_TEST
180 help
181 Renesas USB3.0 Peripheral controller is a USB peripheral controller
182 that supports super, high, and full speed USB 3.0 data transfers.
183
184 Say "y" to link the driver statically, or "m" to build a
185 dynamically linked module called "renesas_usb3" and force all
186 gadget drivers to also be dynamically linked.
187
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200188config USB_PXA27X
189 tristate "PXA 27x"
190 help
191 Intel's PXA 27x series XScale ARM v5TE processors include
192 an integrated full speed USB 1.1 device controller.
193
194 It has up to 23 endpoints, as well as endpoint zero (for
195 control transfers).
196
197 Say "y" to link the driver statically, or "m" to build a
198 dynamically linked module called "pxa27x_udc" and force all
199 gadget drivers to also be dynamically linked.
200
201config USB_S3C2410
202 tristate "S3C2410 USB Device Controller"
203 depends on ARCH_S3C24XX
204 help
205 Samsung's S3C2410 is an ARM-4 processor with an integrated
206 full speed USB 1.1 device controller. It has 4 configurable
207 endpoints, as well as endpoint zero (for control transfers).
208
209 This driver has been tested on the S3C2410, S3C2412, and
210 S3C2440 processors.
211
212config USB_S3C2410_DEBUG
Christoph Jaeger6341e622014-12-20 15:41:11 -0500213 bool "S3C2410 udc debug messages"
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200214 depends on USB_S3C2410
215
216config USB_S3C_HSUDC
217 tristate "S3C2416, S3C2443 and S3C2450 USB Device Controller"
218 depends on ARCH_S3C24XX
219 help
220 Samsung's S3C2416, S3C2443 and S3C2450 is an ARM9 based SoC
221 integrated with dual speed USB 2.0 device controller. It has
222 8 endpoints, as well as endpoint zero.
223
224 This driver has been tested on S3C2416 and S3C2450 processors.
225
226config USB_MV_UDC
227 tristate "Marvell USB2.0 Device Controller"
228 depends on HAS_DMA
229 help
230 Marvell Socs (including PXA and MMP series) include a high speed
231 USB2.0 OTG controller, which can be configured as high speed or
232 full speed USB peripheral.
233
234config USB_MV_U3D
235 depends on HAS_DMA
236 tristate "MARVELL PXA2128 USB 3.0 controller"
237 help
238 MARVELL PXA2128 Processor series include a super speed USB3.0 device
239 controller, which support super speed USB peripheral.
240
241#
242# Controllers available in both integrated and discrete versions
243#
244
245config USB_M66592
246 tristate "Renesas M66592 USB Peripheral Controller"
247 help
248 M66592 is a discrete USB peripheral controller chip that
249 supports both full and high speed USB 2.0 data transfers.
250 It has seven configurable endpoints, and endpoint zero.
251
252 Say "y" to link the driver statically, or "m" to build a
253 dynamically linked module called "m66592_udc" and force all
254 gadget drivers to also be dynamically linked.
255
Ashwini Pahujaefed4212014-11-13 10:22:32 -0800256source "drivers/usb/gadget/udc/bdc/Kconfig"
257
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200258#
259# Controllers available only in discrete form (and all PCI controllers)
260#
261
262config USB_AMD5536UDC
263 tristate "AMD5536 UDC"
264 depends on PCI
265 help
266 The AMD5536 UDC is part of the AMD Geode CS5536, an x86 southbridge.
267 It is a USB Highspeed DMA capable USB device controller. Beside ep0
268 it provides 4 IN and 4 OUT endpoints (bulk or interrupt type).
269 The UDC port supports OTG operation, and may be used as a host port
270 if it's not being used to implement peripheral or OTG roles.
271
272 Say "y" to link the driver statically, or "m" to build a
273 dynamically linked module called "amd5536udc" and force all
274 gadget drivers to also be dynamically linked.
275
276config USB_FSL_QE
277 tristate "Freescale QE/CPM USB Device Controller"
278 depends on FSL_SOC && (QUICC_ENGINE || CPM)
279 help
280 Some of Freescale PowerPC processors have a Full Speed
281 QE/CPM2 USB controller, which support device mode with 4
282 programmable endpoints. This driver supports the
283 controller in the MPC8360 and MPC8272, and should work with
284 controllers having QE or CPM2, given minor tweaks.
285
286 Set CONFIG_USB_GADGET to "m" to build this driver as a
287 dynamically linked module called "fsl_qe_udc".
288
289config USB_NET2272
Vegard Nossum7562b752016-02-10 15:29:37 +0100290 depends on HAS_IOMEM
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200291 tristate "PLX NET2272"
292 help
293 PLX NET2272 is a USB peripheral controller which supports
294 both full and high speed USB 2.0 data transfers.
295
296 It has three configurable endpoints, as well as endpoint zero
297 (for control transfer).
298 Say "y" to link the driver statically, or "m" to build a
299 dynamically linked module called "net2272" and force all
300 gadget drivers to also be dynamically linked.
301
302config USB_NET2272_DMA
Christoph Jaeger6341e622014-12-20 15:41:11 -0500303 bool "Support external DMA controller"
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200304 depends on USB_NET2272 && HAS_DMA
305 help
306 The NET2272 part can optionally support an external DMA
307 controller, but your board has to have support in the
308 driver itself.
309
310 If unsure, say "N" here. The driver works fine in PIO mode.
311
312config USB_NET2280
313 tristate "NetChip 228x / PLX USB338x"
314 depends on PCI
315 help
316 NetChip 2280 / 2282 is a PCI based USB peripheral controller which
317 supports both full and high speed USB 2.0 data transfers.
318
319 It has six configurable endpoints, as well as endpoint zero
320 (for control transfers) and several endpoints with dedicated
321 functions.
322
323 PLX 3380 / 3382 is a PCIe based USB peripheral controller which
324 supports full, high speed USB 2.0 and super speed USB 3.0
325 data transfers.
326
327 It has eight configurable endpoints, as well as endpoint zero
328 (for control transfers) and several endpoints with dedicated
329 functions.
330
331 Say "y" to link the driver statically, or "m" to build a
332 dynamically linked module called "net2280" and force all
333 gadget drivers to also be dynamically linked.
334
335config USB_GOKU
336 tristate "Toshiba TC86C001 'Goku-S'"
337 depends on PCI
338 help
339 The Toshiba TC86C001 is a PCI device which includes controllers
340 for full speed USB devices, IDE, I2C, SIO, plus a USB host (OHCI).
341
342 The device controller has three configurable (bulk or interrupt)
343 endpoints, plus endpoint zero (for control transfers).
344
345 Say "y" to link the driver statically, or "m" to build a
346 dynamically linked module called "goku_udc" and to force all
347 gadget drivers to also be dynamically linked.
348
349config USB_EG20T
Bryan O'Donoghuea68df702014-08-04 10:22:54 -0700350 tristate "Intel QUARK X1000/EG20T PCH/LAPIS Semiconductor IOH(ML7213/ML7831) UDC"
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200351 depends on PCI
352 help
353 This is a USB device driver for EG20T PCH.
354 EG20T PCH is the platform controller hub that is used in Intel's
355 general embedded platform. EG20T PCH has USB device interface.
356 Using this interface, it is able to access system devices connected
357 to USB device.
358 This driver enables USB device function.
359 USB device is a USB peripheral controller which
360 supports both full and high speed USB 2.0 data transfers.
361 This driver supports both control transfer and bulk transfer modes.
362 This driver dose not support interrupt transfer or isochronous
363 transfer modes.
364
365 This driver also can be used for LAPIS Semiconductor's ML7213 which is
366 for IVI(In-Vehicle Infotainment) use.
367 ML7831 is for general purpose use.
368 ML7213/ML7831 is companion chip for Intel Atom E6xx series.
369 ML7213/ML7831 is completely compatible for Intel EG20T PCH.
370
Bryan O'Donoghuea68df702014-08-04 10:22:54 -0700371 This driver can be used with Intel's Quark X1000 SOC platform
Subbaraya Sundeep Bhatta1f7c5162014-09-10 19:24:04 +0530372
373config USB_GADGET_XILINX
374 tristate "Xilinx USB Driver"
Geert Uytterhoevenf1113be2014-10-09 16:15:05 +0200375 depends on HAS_DMA
Subbaraya Sundeep Bhatta1f7c5162014-09-10 19:24:04 +0530376 depends on OF || COMPILE_TEST
377 help
378 USB peripheral controller driver for Xilinx USB2 device.
379 Xilinx USB2 device is a soft IP which supports both full
380 and high speed USB 2.0 data transfers. It has seven configurable
381 endpoints(bulk or interrupt or isochronous), as well as
382 endpoint zero(for control transfers).
383
384 Say "y" to link the driver statically, or "m" to build a
385 dynamically linked module called "udc-xilinx" and force all
386 gadget drivers to also be dynamically linked.
387
Andrzej Pietrasiewicz90fccb52014-07-15 13:09:45 +0200388#
389# LAST -- dummy/emulated controller
390#
391
392config USB_DUMMY_HCD
393 tristate "Dummy HCD (DEVELOPMENT)"
394 depends on USB=y || (USB=m && USB_GADGET=m)
395 help
396 This host controller driver emulates USB, looping all data transfer
397 requests back to a USB "gadget driver" in the same host. The host
398 side is the master; the gadget side is the slave. Gadget drivers
399 can be high, full, or low speed; and they have access to endpoints
400 like those from NET2280, PXA2xx, or SA1100 hardware.
401
402 This may help in some stages of creating a driver to embed in a
403 Linux device, since it lets you debug several parts of the gadget
404 driver without its hardware or drivers being involved.
405
406 Since such a gadget side driver needs to interoperate with a host
407 side Linux-USB device driver, this may help to debug both sides
408 of a USB protocol stack.
409
410 Say "y" to link the driver statically, or "m" to build a
411 dynamically linked module called "dummy_hcd" and force all
412 gadget drivers to also be dynamically linked.
413
414# NOTE: Please keep dummy_hcd LAST so that "real hardware" appears
415# first and will be selected by default.
416
417endmenu