xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision bb970707)
1config 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	help
6	  Say Y here if your system has a dual role high speed USB
7	  controller based on ChipIdea silicon IP. Currently, only the
8	  peripheral mode is supported.
9
10	  When compiled dynamically, the module will be called ci-hdrc.ko.
11
12if USB_CHIPIDEA
13
14config USB_CHIPIDEA_OF
15	tristate
16	depends on OF
17	default USB_CHIPIDEA
18
19config USB_CHIPIDEA_PCI
20	tristate
21	depends on PCI
22	depends on NOP_USB_XCEIV
23	default USB_CHIPIDEA
24
25config USB_CHIPIDEA_UDC
26	bool "ChipIdea device controller"
27	depends on USB_GADGET
28	help
29	  Say Y here to enable device controller functionality of the
30	  ChipIdea driver.
31
32config USB_CHIPIDEA_HOST
33	bool "ChipIdea host controller"
34	depends on USB_EHCI_HCD
35	select USB_EHCI_ROOT_HUB_TT
36	help
37	  Say Y here to enable host controller functionality of the
38	  ChipIdea driver.
39
40endif
41