blob: 5619b8ca3bf3f4d4e0b0651385a88c286a012967 [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
Ivan T. Ivanov3ecb3e02015-09-07 14:45:25 +03004 select EXTCON
Alexander Shishkinbc25a802012-05-11 17:25:45 +03005 help
Marc Kleine-Budde71a5e612012-07-20 09:33:45 +02006 Say Y here if your system has a dual role high speed USB
7 controller based on ChipIdea silicon IP. Currently, only the
Alexander Shishkinbc25a802012-05-11 17:25:45 +03008 peripheral mode is supported.
9
10 When compiled dynamically, the module will be called ci-hdrc.ko.
Alexander Shishkine443b332012-05-11 17:25:46 +030011
12if USB_CHIPIDEA
13
Andy Shevchenkod7281892015-03-20 16:28:07 +080014config USB_CHIPIDEA_OF
15 tristate
16 depends on OF
17 default USB_CHIPIDEA
18
19config USB_CHIPIDEA_PCI
20 tristate
21 depends on PCI
Andy Shevchenkodb7869c2015-03-20 16:28:08 +080022 depends on NOP_USB_XCEIV
Andy Shevchenkod7281892015-03-20 16:28:07 +080023 default USB_CHIPIDEA
24
Alexander Shishkine443b332012-05-11 17:25:46 +030025config USB_CHIPIDEA_UDC
26 bool "ChipIdea device controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030027 depends on USB_GADGET
Alexander Shishkine443b332012-05-11 17:25:46 +030028 help
29 Say Y here to enable device controller functionality of the
30 ChipIdea driver.
31
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030032config USB_CHIPIDEA_HOST
33 bool "ChipIdea host controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030034 depends on USB_EHCI_HCD
Richard Zhaoca72ae92012-07-07 22:56:43 +080035 select USB_EHCI_ROOT_HUB_TT
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030036 help
37 Say Y here to enable host controller functionality of the
38 ChipIdea driver.
39
Alexander Shishkine443b332012-05-11 17:25:46 +030040config USB_CHIPIDEA_DEBUG
41 bool "ChipIdea driver debug"
42 help
43 Say Y here to enable debugging output of the ChipIdea driver.
44
45endif