blob: ee34e9046f7ea201f53e79d3e8725d9c937b0d88 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001config USB_CHIPIDEA
2 tristate "ChipIdea Highspeed Dual Role Controller"
3 depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
4 select EXTCON
5 select RESET_CONTROLLER
6 select USB_ULPI_BUS
7 help
8 Say Y here if your system has a dual role high speed USB
9 controller based on ChipIdea silicon IP. It supports:
10 Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
11 Peripheral-only.
12
13 When compiled dynamically, the module will be called ci_hdrc.ko.
14
15if USB_CHIPIDEA
16
17config USB_CHIPIDEA_OF
18 tristate
19 depends on OF
20 default USB_CHIPIDEA
21
22config USB_CHIPIDEA_PCI
23 tristate
24 depends on USB_PCI
25 depends on NOP_USB_XCEIV
26 default USB_CHIPIDEA
27
28config USB_CHIPIDEA_UDC
29 bool "ChipIdea device controller"
30 depends on USB_GADGET
31 help
32 Say Y here to enable device controller functionality of the
33 ChipIdea driver.
34
35config USB_CHIPIDEA_HOST
36 bool "ChipIdea host controller"
37 depends on USB_EHCI_HCD
38 select USB_EHCI_ROOT_HUB_TT
39 help
40 Say Y here to enable host controller functionality of the
41 ChipIdea driver.
42endif