1 # SPDX-License-Identifier: GPL-2.0
4 tristate "ChipIdea Highspeed Dual Role Controller"
5 depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
7 select RESET_CONTROLLER
11 Say Y here if your system has a dual role high speed USB
12 controller based on ChipIdea silicon IP. It supports:
13 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
16 When compiled dynamically, the module will be called ci_hdrc.ko.
20 config USB_CHIPIDEA_OF
25 config USB_CHIPIDEA_PCI
28 depends on NOP_USB_XCEIV
31 config USB_CHIPIDEA_UDC
32 bool "ChipIdea device controller"
35 Say Y here to enable device controller functionality of the
38 config USB_CHIPIDEA_HOST
39 bool "ChipIdea host controller"
40 depends on USB_EHCI_HCD
41 select USB_EHCI_ROOT_HUB_TT
43 Say Y here to enable host controller functionality of the