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 51b8fc5a5SStephen Boyd select RESET_CONTROLLER 6bc25a80dSAlexander Shishkin help 7bc25a80dSAlexander Shishkin Say Y here if your system has a dual role high speed USB 8fb67cb00SPeter Chen controller based on ChipIdea silicon IP. It supports: 9fb67cb00SPeter Chen Dual-role switch (ID, OTG FSM, sysfs), Host-only, and 10fb67cb00SPeter Chen Peripheral-only. 11bc25a80dSAlexander Shishkin 12bc25a80dSAlexander Shishkin When compiled dynamically, the module will be called ci-hdrc.ko. 13e443b333SAlexander Shishkin 14e443b333SAlexander Shishkinif USB_CHIPIDEA 15e443b333SAlexander Shishkin 16d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_OF 17d728189dSAndy Shevchenko tristate 18d728189dSAndy Shevchenko depends on OF 19d728189dSAndy Shevchenko default USB_CHIPIDEA 20d728189dSAndy Shevchenko 21d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_PCI 22d728189dSAndy Shevchenko tristate 23d728189dSAndy Shevchenko depends on PCI 24db7869caSAndy Shevchenko depends on NOP_USB_XCEIV 25d728189dSAndy Shevchenko default USB_CHIPIDEA 26d728189dSAndy Shevchenko 27e443b333SAlexander Shishkinconfig USB_CHIPIDEA_UDC 28e443b333SAlexander Shishkin bool "ChipIdea device controller" 29a0cfdc6bSLothar Waßmann depends on USB_GADGET 30e443b333SAlexander Shishkin help 31e443b333SAlexander Shishkin Say Y here to enable device controller functionality of the 32e443b333SAlexander Shishkin ChipIdea driver. 33e443b333SAlexander Shishkin 34eb70e5abSAlexander Shishkinconfig USB_CHIPIDEA_HOST 35eb70e5abSAlexander Shishkin bool "ChipIdea host controller" 36a0cfdc6bSLothar Waßmann depends on USB_EHCI_HCD 37ca72ae9bSRichard Zhao select USB_EHCI_ROOT_HUB_TT 38eb70e5abSAlexander Shishkin help 39eb70e5abSAlexander Shishkin Say Y here to enable host controller functionality of the 40eb70e5abSAlexander Shishkin ChipIdea driver. 41eb70e5abSAlexander Shishkin 427bb7e9b1SStephen Boydconfig USB_CHIPIDEA_ULPI 437bb7e9b1SStephen Boyd bool "ChipIdea ULPI PHY support" 447bb7e9b1SStephen Boyd depends on USB_ULPI_BUS=y || USB_ULPI_BUS=USB_CHIPIDEA 457bb7e9b1SStephen Boyd help 467bb7e9b1SStephen Boyd Say Y here if you have a ULPI PHY attached to your ChipIdea 477bb7e9b1SStephen Boyd controller. 487bb7e9b1SStephen Boyd 49e443b333SAlexander Shishkinendif 50