xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision d728189d)
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
21d728189dSAndy Shevchenko	default USB_CHIPIDEA
22d728189dSAndy Shevchenko
23e443b333SAlexander Shishkinconfig USB_CHIPIDEA_UDC
24e443b333SAlexander Shishkin	bool "ChipIdea device controller"
25a0cfdc6bSLothar Waßmann	depends on USB_GADGET
26e443b333SAlexander Shishkin	help
27e443b333SAlexander Shishkin	  Say Y here to enable device controller functionality of the
28e443b333SAlexander Shishkin	  ChipIdea driver.
29e443b333SAlexander Shishkin
30eb70e5abSAlexander Shishkinconfig USB_CHIPIDEA_HOST
31eb70e5abSAlexander Shishkin	bool "ChipIdea host controller"
32a0cfdc6bSLothar Waßmann	depends on USB_EHCI_HCD
33ca72ae9bSRichard Zhao	select USB_EHCI_ROOT_HUB_TT
34eb70e5abSAlexander Shishkin	help
35eb70e5abSAlexander Shishkin	  Say Y here to enable host controller functionality of the
36eb70e5abSAlexander Shishkin	  ChipIdea driver.
37eb70e5abSAlexander Shishkin
38e443b333SAlexander Shishkinconfig USB_CHIPIDEA_DEBUG
39e443b333SAlexander Shishkin	bool "ChipIdea driver debug"
40e443b333SAlexander Shishkin	help
41e443b333SAlexander Shishkin	  Say Y here to enable debugging output of the ChipIdea driver.
42e443b333SAlexander Shishkin
43e443b333SAlexander Shishkinendif
44