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