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 |
Stephen Boyd | 1b8fc5a | 2016-12-28 14:57:05 -0800 | [diff] [blame] | 5 | select RESET_CONTROLLER |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 6 | help |
Marc Kleine-Budde | 71a5e61 | 2012-07-20 09:33:45 +0200 | [diff] [blame] | 7 | 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] | 8 | controller based on ChipIdea silicon IP. It supports: |
| 9 | Dual-role switch (ID, OTG FSM, sysfs), Host-only, and |
| 10 | Peripheral-only. |
Alexander Shishkin | bc25a80 | 2012-05-11 17:25:45 +0300 | [diff] [blame] | 11 | |
| 12 | When compiled dynamically, the module will be called ci-hdrc.ko. |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 13 | |
| 14 | if USB_CHIPIDEA |
| 15 | |
Andy Shevchenko | d728189 | 2015-03-20 16:28:07 +0800 | [diff] [blame] | 16 | config USB_CHIPIDEA_OF |
| 17 | tristate |
| 18 | depends on OF |
| 19 | default USB_CHIPIDEA |
| 20 | |
| 21 | config USB_CHIPIDEA_PCI |
| 22 | tristate |
| 23 | depends on PCI |
Andy Shevchenko | db7869c | 2015-03-20 16:28:08 +0800 | [diff] [blame] | 24 | depends on NOP_USB_XCEIV |
Andy Shevchenko | d728189 | 2015-03-20 16:28:07 +0800 | [diff] [blame] | 25 | default USB_CHIPIDEA |
| 26 | |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 27 | config USB_CHIPIDEA_UDC |
| 28 | bool "ChipIdea device controller" |
Lothar Waßmann | a0cfdc6 | 2013-08-14 12:43:58 +0300 | [diff] [blame] | 29 | depends on USB_GADGET |
Alexander Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 30 | help |
| 31 | Say Y here to enable device controller functionality of the |
| 32 | ChipIdea driver. |
| 33 | |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 34 | config USB_CHIPIDEA_HOST |
| 35 | bool "ChipIdea host controller" |
Lothar Waßmann | a0cfdc6 | 2013-08-14 12:43:58 +0300 | [diff] [blame] | 36 | depends on USB_EHCI_HCD |
Richard Zhao | ca72ae9 | 2012-07-07 22:56:43 +0800 | [diff] [blame] | 37 | select USB_EHCI_ROOT_HUB_TT |
Alexander Shishkin | eb70e5a | 2012-05-11 17:25:54 +0300 | [diff] [blame] | 38 | help |
| 39 | Say Y here to enable host controller functionality of the |
| 40 | ChipIdea driver. |
| 41 | |
Stephen Boyd | 7bb7e9b | 2016-12-28 14:56:55 -0800 | [diff] [blame] | 42 | config 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 Shishkin | e443b33 | 2012-05-11 17:25:46 +0300 | [diff] [blame] | 49 | endif |