Kconfig (bfa322c48dc69bfdaee10faf3bd8dbc23b39a21c) Kconfig (fa3ae0c158c70e6cf227b3a194659ee7fed8c588)
1#
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).

--- 82 unchanged lines hidden (view full) ---

91
92 Enter the maximum power your device draws through USB, in
93 milliAmperes. The permitted range of values is 2 - 500 mA;
94 0 mA would be legal, but can make some hosts misbehave.
95
96 This value will be used except for system-specific gadget
97 drivers that have more specific information.
98
1#
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).

--- 82 unchanged lines hidden (view full) ---

91
92 Enter the maximum power your device draws through USB, in
93 milliAmperes. The permitted range of values is 2 - 500 mA;
94 0 mA would be legal, but can make some hosts misbehave.
95
96 This value will be used except for system-specific gadget
97 drivers that have more specific information.
98
99config USB_GADGET_STORAGE_NUM_BUFFERS
100 int "Number of storage pipeline buffers"
101 range 2 4
102 default 2
103 help
104 Usually 2 buffers are enough to establish a good buffering
105 pipeline. The number may be increased in order to compensate
106 for a bursty VFS behaviour. For instance there may be CPU wake up
107 latencies that makes the VFS to appear bursty in a system with
108 an CPU on-demand governor. Especially if DMA is doing IO to
109 offload the CPU. In this case the CPU will go into power
110 save often and spin up occasionally to move data within VFS.
111 If selecting USB_GADGET_DEBUG_FILES this value may be set by
112 a module parameter as well.
113 If unsure, say 2.
114
99#
100# USB Peripheral Controller Support
101#
102# The order here is alphabetical, except that integrated controllers go
103# before discrete ones so they will be the initial/default value:
104# - integrated/SOC controllers first
105# - licensed IP used in both SOC and discrete versions
106# - discrete ones (including all PCI-only controllers)

--- 143 unchanged lines hidden (view full) ---

250 depends on S3C_DEV_USB_HSOTG
251 select USB_GADGET_S3C_HSOTG_PIO
252 select USB_GADGET_DUALSPEED
253 help
254 The Samsung S3C64XX USB2.0 high-speed gadget controller
255 integrated into the S3C64XX series SoC.
256
257config USB_IMX
115#
116# USB Peripheral Controller Support
117#
118# The order here is alphabetical, except that integrated controllers go
119# before discrete ones so they will be the initial/default value:
120# - integrated/SOC controllers first
121# - licensed IP used in both SOC and discrete versions
122# - discrete ones (including all PCI-only controllers)

--- 143 unchanged lines hidden (view full) ---

266 depends on S3C_DEV_USB_HSOTG
267 select USB_GADGET_S3C_HSOTG_PIO
268 select USB_GADGET_DUALSPEED
269 help
270 The Samsung S3C64XX USB2.0 high-speed gadget controller
271 integrated into the S3C64XX series SoC.
272
273config USB_IMX
258 tristate "Freescale IMX USB Peripheral Controller"
259 depends on ARCH_MX1
274 tristate "Freescale i.MX1 USB Peripheral Controller"
275 depends on ARCH_MXC
260 help
276 help
261 Freescale's IMX series include an integrated full speed
262 USB 1.1 device controller. The controller in the IMX series
263 is register-compatible.
277 Freescale's i.MX1 includes an integrated full speed
278 USB 1.1 device controller.
264
265 It has Six fixed-function endpoints, as well as endpoint
266 zero (for control transfers).
267
268 Say "y" to link the driver statically, or "m" to build a
269 dynamically linked module called "imx_udc" and force all
270 gadget drivers to also be dynamically linked.
271

--- 26 unchanged lines hidden (view full) ---

298config USB_PXA_U2O
299 tristate "PXA9xx Processor USB2.0 controller"
300 depends on ARCH_MMP
301 select USB_GADGET_DUALSPEED
302 help
303 PXA9xx Processor series include a high speed USB2.0 device
304 controller, which support high speed and full speed USB peripheral.
305
279
280 It has Six fixed-function endpoints, as well as endpoint
281 zero (for control transfers).
282
283 Say "y" to link the driver statically, or "m" to build a
284 dynamically linked module called "imx_udc" and force all
285 gadget drivers to also be dynamically linked.
286

--- 26 unchanged lines hidden (view full) ---

313config USB_PXA_U2O
314 tristate "PXA9xx Processor USB2.0 controller"
315 depends on ARCH_MMP
316 select USB_GADGET_DUALSPEED
317 help
318 PXA9xx Processor series include a high speed USB2.0 device
319 controller, which support high speed and full speed USB peripheral.
320
321config USB_GADGET_DWC3
322 tristate "DesignWare USB3.0 (DRD) Controller"
323 depends on USB_DWC3
324 select USB_GADGET_DUALSPEED
325 select USB_GADGET_SUPERSPEED
326 help
327 DesignWare USB3.0 controller is a SuperSpeed USB3.0 Controller
328 which can be configured for peripheral-only, host-only, hub-only
329 and Dual-Role operation. This Controller was first integrated into
330 the OMAP5 series of processors. More information about the OMAP5
331 version of this controller, refer to http://www.ti.com/omap5.
332
306#
307# Controllers available in both integrated and discrete versions
308#
309
310# musb builds in ../musb along with host support
311config USB_GADGET_MUSB_HDRC
312 tristate "Inventra HDRC USB Peripheral (TI, ADI, ...)"
313 depends on USB_MUSB_HDRC

--- 527 unchanged lines hidden (view full) ---

841 depends on PHONET
842 help
843 The Nokia composite gadget provides support for acm, obex
844 and phonet in only one composite gadget driver.
845
846 It's only really useful for N900 hardware. If you're building
847 a kernel for N900, say Y or M here. If unsure, say N.
848
333#
334# Controllers available in both integrated and discrete versions
335#
336
337# musb builds in ../musb along with host support
338config USB_GADGET_MUSB_HDRC
339 tristate "Inventra HDRC USB Peripheral (TI, ADI, ...)"
340 depends on USB_MUSB_HDRC

--- 527 unchanged lines hidden (view full) ---

868 depends on PHONET
869 help
870 The Nokia composite gadget provides support for acm, obex
871 and phonet in only one composite gadget driver.
872
873 It's only really useful for N900 hardware. If you're building
874 a kernel for N900, say Y or M here. If unsure, say N.
875
876config USB_G_ACM_MS
877 tristate "CDC Composite Device (ACM and mass storage)"
878 depends on BLOCK
879 help
880 This driver provides two functions in one configuration:
881 a mass storage, and a CDC ACM (serial port) link.
882
883 Say "y" to link the driver statically, or "m" to build a
884 dynamically linked module called "g_acm_ms".
885
849config USB_G_MULTI
850 tristate "Multifunction Composite Gadget (EXPERIMENTAL)"
851 depends on BLOCK && NET
852 select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS
853 help
854 The Multifunction Composite Gadget provides Ethernet (RNDIS
855 and/or CDC Ethernet), mass storage and ACM serial link
856 interfaces.

--- 90 unchanged lines hidden ---
886config USB_G_MULTI
887 tristate "Multifunction Composite Gadget (EXPERIMENTAL)"
888 depends on BLOCK && NET
889 select USB_G_MULTI_CDC if !USB_G_MULTI_RNDIS
890 help
891 The Multifunction Composite Gadget provides Ethernet (RNDIS
892 and/or CDC Ethernet), mass storage and ACM serial link
893 interfaces.

--- 90 unchanged lines hidden ---