Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 1 | config USB_CHIPIDEA |
| 2 | tristate "ChipIdea Highspeed Dual Role Controller" |
Geert Uytterhoeven | 2c74033 | 2013-09-17 12:37:25 +0800 | [diff] [blame] | 3 | depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA |
Ivan T. Ivanov | 3ecb3e0 | 2015-09-07 14:45:25 +0300 | [diff] [blame] | 4 | select EXTCON |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 5 | help |
Marc Kleine-Budde | 71a5e61 | 2012-07-20 09:33:45 +0200 | [diff] [blame] | 6 | Say Y here if your system has a dual role high speed USB |
Peter Chen | fb67cb0 | 2016-06-16 15:41:40 +0800 | [diff] [blame] | 7 | controller based on ChipIdea silicon IP. It supports: |
| 8 | Dual-role switch (ID, OTG FSM, sysfs), Host-only, and |
| 9 | Peripheral-only. |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 10 | |
| 11 | When compiled dynamically, the module will be called ci-hdrc.ko. |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 12 | |
| 13 | if USB_CHIPIDEA |
| 14 | |
Andy Shevchenko | d728189 | 2015-03-20 16:28:07 +0800 | [diff] [blame] | 15 | config USB_CHIPIDEA_OF |
| 16 | tristate |
| 17 | depends on OF |
| 18 | default USB_CHIPIDEA |
| 19 | |
| 20 | config USB_CHIPIDEA_PCI |
| 21 | tristate |
| 22 | depends on PCI |
Andy Shevchenko | db7869c | 2015-03-20 16:28:08 +0800 | [diff] [blame] | 23 | depends on NOP_USB_XCEIV |
Andy Shevchenko | d728189 | 2015-03-20 16:28:07 +0800 | [diff] [blame] | 24 | default USB_CHIPIDEA |
| 25 | |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 26 | config USB_CHIPIDEA_UDC |
| 27 | bool "ChipIdea device controller" |
Lothar Waßmann | a0cfdc6 | 2013-08-14 12:43:58 +0300 | [diff] [blame] | 28 | depends on USB_GADGET |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 29 | help |
| 30 | Say Y here to enable device controller functionality of the |
| 31 | ChipIdea driver. |
| 32 | |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 33 | config USB_CHIPIDEA_HOST |
| 34 | bool "ChipIdea host controller" |
Lothar Waßmann | a0cfdc6 | 2013-08-14 12:43:58 +0300 | [diff] [blame] | 35 | depends on USB_EHCI_HCD |
Richard Zhao | ca72ae9 | 2012-07-07 22:56:43 +0800 | [diff] [blame] | 36 | select USB_EHCI_ROOT_HUB_TT |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 37 | help |
| 38 | Say Y here to enable host controller functionality of the |
| 39 | ChipIdea driver. |
| 40 | |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 41 | endif |