1bc25a80dSAlexander Shishkinconfig USB_CHIPIDEA 2bc25a80dSAlexander Shishkin tristate "ChipIdea Highspeed Dual Role Controller" 32c740336SGeert Uytterhoeven depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA 43ecb3e09SIvan T. Ivanov select EXTCON 5bc25a80dSAlexander Shishkin help 6bc25a80dSAlexander Shishkin Say Y here if your system has a dual role high speed USB 7fb67cb00SPeter Chen controller based on ChipIdea silicon IP. It supports: 8fb67cb00SPeter Chen Dual-role switch (ID, OTG FSM, sysfs), Host-only, and 9fb67cb00SPeter Chen Peripheral-only. 10bc25a80dSAlexander Shishkin 11bc25a80dSAlexander Shishkin When compiled dynamically, the module will be called ci-hdrc.ko. 12e443b333SAlexander Shishkin 13e443b333SAlexander Shishkinif USB_CHIPIDEA 14e443b333SAlexander Shishkin 15d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_OF 16d728189dSAndy Shevchenko tristate 17d728189dSAndy Shevchenko depends on OF 18d728189dSAndy Shevchenko default USB_CHIPIDEA 19d728189dSAndy Shevchenko 20d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_PCI 21d728189dSAndy Shevchenko tristate 22d728189dSAndy Shevchenko depends on PCI 23db7869caSAndy Shevchenko depends on NOP_USB_XCEIV 24d728189dSAndy Shevchenko default USB_CHIPIDEA 25d728189dSAndy Shevchenko 26e443b333SAlexander Shishkinconfig USB_CHIPIDEA_UDC 27e443b333SAlexander Shishkin bool "ChipIdea device controller" 28a0cfdc6bSLothar Waßmann depends on USB_GADGET 29e443b333SAlexander Shishkin help 30e443b333SAlexander Shishkin Say Y here to enable device controller functionality of the 31e443b333SAlexander Shishkin ChipIdea driver. 32e443b333SAlexander Shishkin 33eb70e5abSAlexander Shishkinconfig USB_CHIPIDEA_HOST 34eb70e5abSAlexander Shishkin bool "ChipIdea host controller" 35a0cfdc6bSLothar Waßmann depends on USB_EHCI_HCD 36ca72ae9bSRichard Zhao select USB_EHCI_ROOT_HUB_TT 37eb70e5abSAlexander Shishkin help 38eb70e5abSAlexander Shishkin Say Y here to enable host controller functionality of the 39eb70e5abSAlexander Shishkin ChipIdea driver. 40eb70e5abSAlexander Shishkin 41e443b333SAlexander Shishkinendif 42