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