blob: fc96f5cdcb5cc7744913f560f1c23f70fe6b8250 [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
Stephen Boyd1b8fc5a2016-12-28 14:57:05 -08005 select RESET_CONTROLLER
Alexander Shishkinbc25a802012-05-11 17:25:45 +03006 help
Marc Kleine-Budde71a5e612012-07-20 09:33:45 +02007 Say Y here if your system has a dual role high speed USB
Peter Chenfb67cb02016-06-16 15:41:40 +08008 controller based on ChipIdea silicon IP. It supports:
9 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
10 Peripheral-only.
Alexander Shishkinbc25a802012-05-11 17:25:45 +030011
12 When compiled dynamically, the module will be called ci-hdrc.ko.
Alexander Shishkine443b332012-05-11 17:25:46 +030013
14if USB_CHIPIDEA
15
Andy Shevchenkod7281892015-03-20 16:28:07 +080016config USB_CHIPIDEA_OF
17 tristate
18 depends on OF
19 default USB_CHIPIDEA
20
21config USB_CHIPIDEA_PCI
22 tristate
23 depends on PCI
Andy Shevchenkodb7869c2015-03-20 16:28:08 +080024 depends on NOP_USB_XCEIV
Andy Shevchenkod7281892015-03-20 16:28:07 +080025 default USB_CHIPIDEA
26
Alexander Shishkine443b332012-05-11 17:25:46 +030027config USB_CHIPIDEA_UDC
28 bool "ChipIdea device controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030029 depends on USB_GADGET
Alexander Shishkine443b332012-05-11 17:25:46 +030030 help
31 Say Y here to enable device controller functionality of the
32 ChipIdea driver.
33
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030034config USB_CHIPIDEA_HOST
35 bool "ChipIdea host controller"
Lothar Waßmanna0cfdc62013-08-14 12:43:58 +030036 depends on USB_EHCI_HCD
Richard Zhaoca72ae92012-07-07 22:56:43 +080037 select USB_EHCI_ROOT_HUB_TT
Alexander Shishkineb70e5a2012-05-11 17:25:54 +030038 help
39 Say Y here to enable host controller functionality of the
40 ChipIdea driver.
41
Stephen Boyd7bb7e9b2016-12-28 14:56:55 -080042config USB_CHIPIDEA_ULPI
43 bool "ChipIdea ULPI PHY support"
44 depends on USB_ULPI_BUS=y || USB_ULPI_BUS=USB_CHIPIDEA
45 help
46 Say Y here if you have a ULPI PHY attached to your ChipIdea
47 controller.
48
Alexander Shishkine443b332012-05-11 17:25:46 +030049endif