blob: 8b0edb9c62463c02faa653b1e8bf4c114893cdfd [file] [log] [blame]
Alexander Shishkinbc25a802012-05-11 17:25:45 +03001config USB_CHIPIDEA
2 tristate "ChipIdea Highspeed Dual Role Controller"
Geert Uytterhoeven2c740332013-09-17 12:37:25 +08003 depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
Alexander Shishkinbc25a802012-05-11 17:25:45 +03004 help
Marc Kleine-Budde71a5e612012-07-20 09:33:45 +02005 Say Y here if your system has a dual role high speed USB
6 controller based on ChipIdea silicon IP. Currently, only the
Alexander Shishkinbc25a802012-05-11 17:25:45 +03007 peripheral mode is supported.
8
9 When compiled dynamically, the module will be called ci-hdrc.ko.
Alexander Shishkine443b332012-05-11 17:25:46 +030010
11if USB_CHIPIDEA
12
Andy Shevchenkod7281892015-03-20 16:28:07 +080013config USB_CHIPIDEA_OF
14 tristate
15 depends on OF
16 default USB_CHIPIDEA
17
18config USB_CHIPIDEA_PCI
19 tristate
20 depends on PCI
21 default USB_CHIPIDEA
22
Alexander Shishkine443b332012-05-11 17:25:46 +030023config USB_CHIPIDEA_UDC
24 bool "ChipIdea device controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030025 depends on USB_GADGET
Alexander Shishkine443b332012-05-11 17:25:46 +030026 help
27 Say Y here to enable device controller functionality of the
28 ChipIdea driver.
29
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030030config USB_CHIPIDEA_HOST
31 bool "ChipIdea host controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030032 depends on USB_EHCI_HCD
Richard Zhaoca72ae92012-07-07 22:56:43 +080033 select USB_EHCI_ROOT_HUB_TT
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030034 help
35 Say Y here to enable host controller functionality of the
36 ChipIdea driver.
37
Alexander Shishkine443b332012-05-11 17:25:46 +030038config USB_CHIPIDEA_DEBUG
39 bool "ChipIdea driver debug"
40 help
41 Say Y here to enable debugging output of the ChipIdea driver.
42
43endif