xref: /openbmc/linux/drivers/usb/chipidea/Kconfig (revision a930d8bd)
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
43ecb3e09SIvan T. Ivanov	select EXTCON
51b8fc5a5SStephen Boyd	select RESET_CONTROLLER
6*a930d8bdSFabio Estevam	select USB_ULPI_BUS
7bc25a80dSAlexander Shishkin	help
8bc25a80dSAlexander Shishkin	  Say Y here if your system has a dual role high speed USB
9fb67cb00SPeter Chen	  controller based on ChipIdea silicon IP. It supports:
10fb67cb00SPeter Chen	  Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
11fb67cb00SPeter Chen	  Peripheral-only.
12bc25a80dSAlexander Shishkin
132a53e060SChristoph Fritz	  When compiled dynamically, the module will be called ci_hdrc.ko.
14e443b333SAlexander Shishkin
15e443b333SAlexander Shishkinif USB_CHIPIDEA
16e443b333SAlexander Shishkin
17d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_OF
18d728189dSAndy Shevchenko	tristate
19d728189dSAndy Shevchenko	depends on OF
20d728189dSAndy Shevchenko	default USB_CHIPIDEA
21d728189dSAndy Shevchenko
22d728189dSAndy Shevchenkoconfig USB_CHIPIDEA_PCI
23d728189dSAndy Shevchenko	tristate
242c93e790Syuan linyu	depends on USB_PCI
25db7869caSAndy Shevchenko	depends on NOP_USB_XCEIV
26d728189dSAndy Shevchenko	default USB_CHIPIDEA
27d728189dSAndy Shevchenko
28e443b333SAlexander Shishkinconfig USB_CHIPIDEA_UDC
29e443b333SAlexander Shishkin	bool "ChipIdea device controller"
30a0cfdc6bSLothar Waßmann	depends on USB_GADGET
31e443b333SAlexander Shishkin	help
32e443b333SAlexander Shishkin	  Say Y here to enable device controller functionality of the
33e443b333SAlexander Shishkin	  ChipIdea driver.
34e443b333SAlexander Shishkin
35eb70e5abSAlexander Shishkinconfig USB_CHIPIDEA_HOST
36eb70e5abSAlexander Shishkin	bool "ChipIdea host controller"
37a0cfdc6bSLothar Waßmann	depends on USB_EHCI_HCD
38ca72ae9bSRichard Zhao	select USB_EHCI_ROOT_HUB_TT
39eb70e5abSAlexander Shishkin	help
40eb70e5abSAlexander Shishkin	  Say Y here to enable host controller functionality of the
41eb70e5abSAlexander Shishkin	  ChipIdea driver.
42e443b333SAlexander Shishkinendif
43