xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision db7869ca)
1bc25a80dSAlexander Shishkinconfig USB_CHIPIDEA
2bc25a80dSAlexander Shishkin	tristate "ChipIdea Highspeed Dual Role Controller"
32c740336SGeert Uytterhoeven	depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
4bc25a80dSAlexander Shishkin	help
5bc25a80dSAlexander Shishkin	  Say Y here if your system has a dual role high speed USB
6bc25a80dSAlexander Shishkin	  controller based on ChipIdea silicon IP. Currently, only the
7bc25a80dSAlexander Shishkin	  peripheral mode is supported.
8bc25a80dSAlexander Shishkin
9bc25a80dSAlexander Shishkin	  When compiled dynamically, the module will be called ci-hdrc.ko.
10e443b333SAlexander Shishkin
11e443b333SAlexander Shishkinif USB_CHIPIDEA
12e443b333SAlexander Shishkin
13d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_OF
14d728189dSAndy Shevchenko	tristate
15d728189dSAndy Shevchenko	depends on OF
16d728189dSAndy Shevchenko	default USB_CHIPIDEA
17d728189dSAndy Shevchenko
18d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_PCI
19d728189dSAndy Shevchenko	tristate
20d728189dSAndy Shevchenko	depends on PCI
21*db7869caSAndy Shevchenko	depends on NOP_USB_XCEIV
22d728189dSAndy Shevchenko	default USB_CHIPIDEA
23d728189dSAndy Shevchenko
24e443b333SAlexander Shishkinconfig USB_CHIPIDEA_UDC
25e443b333SAlexander Shishkin	bool "ChipIdea device controller"
26a0cfdc6bSLothar Waßmann	depends on USB_GADGET
27e443b333SAlexander Shishkin	help
28e443b333SAlexander Shishkin	  Say Y here to enable device controller functionality of the
29e443b333SAlexander Shishkin	  ChipIdea driver.
30e443b333SAlexander Shishkin
31eb70e5abSAlexander Shishkinconfig USB_CHIPIDEA_HOST
32eb70e5abSAlexander Shishkin	bool "ChipIdea host controller"
33a0cfdc6bSLothar Waßmann	depends on USB_EHCI_HCD
34ca72ae9bSRichard Zhao	select USB_EHCI_ROOT_HUB_TT
35eb70e5abSAlexander Shishkin	help
36eb70e5abSAlexander Shishkin	  Say Y here to enable host controller functionality of the
37eb70e5abSAlexander Shishkin	  ChipIdea driver.
38eb70e5abSAlexander Shishkin
39e443b333SAlexander Shishkinconfig USB_CHIPIDEA_DEBUG
40e443b333SAlexander Shishkin	bool "ChipIdea driver debug"
41e443b333SAlexander Shishkin	help
42e443b333SAlexander Shishkin	  Say Y here to enable debugging output of the ChipIdea driver.
43e443b333SAlexander Shishkin
44e443b333SAlexander Shishkinendif
45