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
10 select USB_TEGRA_PHY if ARCH_TEGRA
12 Say Y here if your system has a dual role high speed USB
13 controller based on ChipIdea silicon IP. It supports:
14 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
17 When compiled dynamically, the module will be called ci_hdrc.ko.
21 config USB_CHIPIDEA_UDC
22 bool "ChipIdea device controller"
25 Say Y here to enable device controller functionality of the
28 config USB_CHIPIDEA_HOST
29 bool "ChipIdea host controller"
30 depends on USB_EHCI_HCD
31 select USB_EHCI_ROOT_HUB_TT
33 Say Y here to enable host controller functionality of the
36 config USB_CHIPIDEA_PCI
37 tristate "Enable PCI glue driver" if EMBEDDED
39 depends on NOP_USB_XCEIV
42 config USB_CHIPIDEA_MSM
43 tristate "Enable MSM hsusb glue driver" if EMBEDDED
46 config USB_CHIPIDEA_IMX
47 tristate "Enable i.MX USB glue driver" if EMBEDDED
51 config USB_CHIPIDEA_GENERIC
52 tristate "Enable generic USB2 glue driver" if EMBEDDED
55 config USB_CHIPIDEA_TEGRA
56 tristate "Enable Tegra UDC glue driver" if EMBEDDED
58 depends on USB_CHIPIDEA_UDC