diff options
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index f771a7cae9ec..45e01e289455 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -42,6 +42,20 @@ config USB_GADGET | |||
42 | For more information, see <http://www.linux-usb.org/gadget> and | 42 | For more information, see <http://www.linux-usb.org/gadget> and |
43 | the kernel DocBook documentation for this API. | 43 | the kernel DocBook documentation for this API. |
44 | 44 | ||
45 | config USB_GADGET_DEBUG | ||
46 | boolean "Debugging messages" | ||
47 | depends on USB_GADGET && DEBUG_KERNEL && EXPERIMENTAL | ||
48 | help | ||
49 | Many controller and gadget drivers will print some debugging | ||
50 | messages if you use this option to ask for those messages. | ||
51 | |||
52 | Avoid enabling these messages, even if you're actively | ||
53 | debugging such a driver. Many drivers will emit so many | ||
54 | messages that the driver timings are affected, which will | ||
55 | either create new failure modes or remove the one you're | ||
56 | trying to track down. Never enable these messages for a | ||
57 | production build. | ||
58 | |||
45 | config USB_GADGET_DEBUG_FILES | 59 | config USB_GADGET_DEBUG_FILES |
46 | boolean "Debugging information files" | 60 | boolean "Debugging information files" |
47 | depends on USB_GADGET && PROC_FS | 61 | depends on USB_GADGET && PROC_FS |
@@ -208,6 +222,27 @@ config USB_OTG | |||
208 | 222 | ||
209 | Select this only if your OMAP board has a Mini-AB connector. | 223 | Select this only if your OMAP board has a Mini-AB connector. |
210 | 224 | ||
225 | config USB_GADGET_S3C2410 | ||
226 | boolean "S3C2410 USB Device Controller" | ||
227 | depends on ARCH_S3C2410 | ||
228 | help | ||
229 | Samsung's S3C2410 is an ARM-4 processor with an integrated | ||
230 | full speed USB 1.1 device controller. It has 4 configurable | ||
231 | endpoints, as well as endpoint zero (for control transfers). | ||
232 | |||
233 | This driver has been tested on the S3C2410, S3C2412, and | ||
234 | S3C2440 processors. | ||
235 | |||
236 | config USB_S3C2410 | ||
237 | tristate | ||
238 | depends on USB_GADGET_S3C2410 | ||
239 | default USB_GADGET | ||
240 | select USB_GADGET_SELECTED | ||
241 | |||
242 | config USB_S3C2410_DEBUG | ||
243 | boolean "S3C2410 udc debug messages" | ||
244 | depends on USB_GADGET_S3C2410 | ||
245 | |||
211 | config USB_GADGET_AT91 | 246 | config USB_GADGET_AT91 |
212 | boolean "AT91 USB Device Port" | 247 | boolean "AT91 USB Device Port" |
213 | depends on ARCH_AT91 && !ARCH_AT91SAM9RL | 248 | depends on ARCH_AT91 && !ARCH_AT91SAM9RL |
@@ -226,6 +261,24 @@ config USB_AT91 | |||
226 | depends on USB_GADGET_AT91 | 261 | depends on USB_GADGET_AT91 |
227 | default USB_GADGET | 262 | default USB_GADGET |
228 | 263 | ||
264 | config USB_GADGET_M66592 | ||
265 | boolean "M66592 driver" | ||
266 | select USB_GADGET_DUALSPEED | ||
267 | help | ||
268 | M66592 is a USB 2.0 peripheral controller. | ||
269 | |||
270 | It has seven configurable endpoints, and endpoint zero. | ||
271 | |||
272 | Say "y" to link the driver statically, or "m" to build a | ||
273 | dynamically linked module called "m66592_udc" and force all | ||
274 | gadget drivers to also be dynamically linked. | ||
275 | |||
276 | config USB_M66592 | ||
277 | tristate | ||
278 | depends on USB_GADGET_M66592 | ||
279 | default USB_GADGET | ||
280 | select USB_GADGET_SELECTED | ||
281 | |||
229 | config USB_GADGET_DUMMY_HCD | 282 | config USB_GADGET_DUMMY_HCD |
230 | boolean "Dummy HCD (DEVELOPMENT)" | 283 | boolean "Dummy HCD (DEVELOPMENT)" |
231 | depends on (USB=y || (USB=m && USB_GADGET=m)) && EXPERIMENTAL | 284 | depends on (USB=y || (USB=m && USB_GADGET=m)) && EXPERIMENTAL |