xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision 65ee8aeb)
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_OF
14	tristate
15	depends on OF
16	default USB_CHIPIDEA
17
18config USB_CHIPIDEA_PCI
19	tristate
20	depends on PCI
21	depends on NOP_USB_XCEIV
22	default USB_CHIPIDEA
23
24config USB_CHIPIDEA_UDC
25	bool "ChipIdea device controller"
26	depends on USB_GADGET
27	help
28	  Say Y here to enable device controller functionality of the
29	  ChipIdea driver.
30
31config USB_CHIPIDEA_HOST
32	bool "ChipIdea host controller"
33	depends on USB_EHCI_HCD
34	select USB_EHCI_ROOT_HUB_TT
35	help
36	  Say Y here to enable host controller functionality of the
37	  ChipIdea driver.
38
39config USB_CHIPIDEA_DEBUG
40	bool "ChipIdea driver debug"
41	help
42	  Say Y here to enable debugging output of the ChipIdea driver.
43
44endif
45