blob: 5e5b9eb7ebf6daa2f8a1764c60fe3dced6bee13f [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
Peter Chenfb67cb02016-06-16 15:41:40 +08007 controller based on ChipIdea silicon IP. It supports:
8 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
9 Peripheral-only.
Alexander Shishkinbc25a802012-05-11 17:25:45 +030010
11 When compiled dynamically, the module will be called ci-hdrc.ko.
Alexander Shishkine443b332012-05-11 17:25:46 +030012
13if USB_CHIPIDEA
14
Andy Shevchenkod7281892015-03-20 16:28:07 +080015config USB_CHIPIDEA_OF
16 tristate
17 depends on OF
18 default USB_CHIPIDEA
19
20config USB_CHIPIDEA_PCI
21 tristate
22 depends on PCI
Andy Shevchenkodb7869c2015-03-20 16:28:08 +080023 depends on NOP_USB_XCEIV
Andy Shevchenkod7281892015-03-20 16:28:07 +080024 default USB_CHIPIDEA
25
Alexander Shishkine443b332012-05-11 17:25:46 +030026config USB_CHIPIDEA_UDC
27 bool "ChipIdea device controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030028 depends on USB_GADGET
Alexander Shishkine443b332012-05-11 17:25:46 +030029 help
30 Say Y here to enable device controller functionality of the
31 ChipIdea driver.
32
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030033config USB_CHIPIDEA_HOST
34 bool "ChipIdea host controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030035 depends on USB_EHCI_HCD
Richard Zhaoca72ae92012-07-07 22:56:43 +080036 select USB_EHCI_ROOT_HUB_TT
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030037 help
38 Say Y here to enable host controller functionality of the
39 ChipIdea driver.
40
Alexander Shishkine443b332012-05-11 17:25:46 +030041endif