blob: 5ce3f1d6a6ed340d8cf4db1a01c7fca3e6a6139a [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
Andy Shevchenkodb7869c2015-03-20 16:28:08 +080021 depends on NOP_USB_XCEIV
Andy Shevchenkod7281892015-03-20 16:28:07 +080022 default USB_CHIPIDEA
23
Alexander Shishkine443b332012-05-11 17:25:46 +030024config USB_CHIPIDEA_UDC
25 bool "ChipIdea device controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030026 depends on USB_GADGET
Alexander Shishkine443b332012-05-11 17:25:46 +030027 help
28 Say Y here to enable device controller functionality of the
29 ChipIdea driver.
30
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030031config USB_CHIPIDEA_HOST
32 bool "ChipIdea host controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030033 depends on USB_EHCI_HCD
Richard Zhaoca72ae92012-07-07 22:56:43 +080034 select USB_EHCI_ROOT_HUB_TT
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030035 help
36 Say Y here to enable host controller functionality of the
37 ChipIdea driver.
38
Alexander Shishkine443b332012-05-11 17:25:46 +030039config USB_CHIPIDEA_DEBUG
40 bool "ChipIdea driver debug"
41 help
42 Say Y here to enable debugging output of the ChipIdea driver.
43
44endif