xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision 2c740336)
1bc25a80dSAlexander Shishkinconfig USB_CHIPIDEA
2bc25a80dSAlexander Shishkin	tristate "ChipIdea Highspeed Dual Role Controller"
3*2c740336SGeert 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
13e443b333SAlexander Shishkinconfig USB_CHIPIDEA_UDC
14e443b333SAlexander Shishkin	bool "ChipIdea device controller"
15a0cfdc6bSLothar Waßmann	depends on USB_GADGET
16e443b333SAlexander Shishkin	help
17e443b333SAlexander Shishkin	  Say Y here to enable device controller functionality of the
18e443b333SAlexander Shishkin	  ChipIdea driver.
19e443b333SAlexander Shishkin
20eb70e5abSAlexander Shishkinconfig USB_CHIPIDEA_HOST
21eb70e5abSAlexander Shishkin	bool "ChipIdea host controller"
22a0cfdc6bSLothar Waßmann	depends on USB_EHCI_HCD
23ca72ae9bSRichard Zhao	select USB_EHCI_ROOT_HUB_TT
24eb70e5abSAlexander Shishkin	help
25eb70e5abSAlexander Shishkin	  Say Y here to enable host controller functionality of the
26eb70e5abSAlexander Shishkin	  ChipIdea driver.
27eb70e5abSAlexander Shishkin
28e443b333SAlexander Shishkinconfig USB_CHIPIDEA_DEBUG
29e443b333SAlexander Shishkin	bool "ChipIdea driver debug"
30e443b333SAlexander Shishkin	help
31e443b333SAlexander Shishkin	  Say Y here to enable debugging output of the ChipIdea driver.
32e443b333SAlexander Shishkin
33e443b333SAlexander Shishkinendif
34