xref: /linux/drivers/usb/cdns3/Kconfig (revision 7733f6c32e36ff9d7adadf40001039bf219b1cbe)
1*7733f6c3SPawel Laszczakconfig USB_CDNS3
2*7733f6c3SPawel Laszczak	tristate "Cadence USB3 Dual-Role Controller"
3*7733f6c3SPawel Laszczak	depends on USB_SUPPORT && (USB || USB_GADGET) && HAS_DMA
4*7733f6c3SPawel Laszczak	select USB_XHCI_PLATFORM if USB_XHCI_HCD
5*7733f6c3SPawel Laszczak	select USB_ROLE_SWITCH
6*7733f6c3SPawel Laszczak	help
7*7733f6c3SPawel Laszczak	  Say Y here if your system has a Cadence USB3 dual-role controller.
8*7733f6c3SPawel Laszczak	  It supports: dual-role switch, Host-only, and Peripheral-only.
9*7733f6c3SPawel Laszczak
10*7733f6c3SPawel Laszczak	  If you choose to build this driver is a dynamically linked
11*7733f6c3SPawel Laszczak	  as module, the module will be called cdns3.ko.
12*7733f6c3SPawel Laszczak
13*7733f6c3SPawel Laszczakif USB_CDNS3
14*7733f6c3SPawel Laszczak
15*7733f6c3SPawel Laszczakconfig USB_CDNS3_GADGET
16*7733f6c3SPawel Laszczak	bool "Cadence USB3 device controller"
17*7733f6c3SPawel Laszczak	depends on USB_GADGET=y || USB_GADGET=USB_CDNS3
18*7733f6c3SPawel Laszczak	help
19*7733f6c3SPawel Laszczak	  Say Y here to enable device controller functionality of the
20*7733f6c3SPawel Laszczak	  Cadence USBSS-DEV driver.
21*7733f6c3SPawel Laszczak
22*7733f6c3SPawel Laszczak	  This controller supports FF, HS and SS mode. It doesn't support
23*7733f6c3SPawel Laszczak	  LS and SSP mode.
24*7733f6c3SPawel Laszczak
25*7733f6c3SPawel Laszczakconfig USB_CDNS3_HOST
26*7733f6c3SPawel Laszczak	bool "Cadence USB3 host controller"
27*7733f6c3SPawel Laszczak	depends on USB=y || USB=USB_CDNS3
28*7733f6c3SPawel Laszczak	help
29*7733f6c3SPawel Laszczak	  Say Y here to enable host controller functionality of the
30*7733f6c3SPawel Laszczak	  Cadence driver.
31*7733f6c3SPawel Laszczak
32*7733f6c3SPawel Laszczak	  Host controller is compliant with XHCI so it will use
33*7733f6c3SPawel Laszczak	  standard XHCI driver.
34*7733f6c3SPawel Laszczak
35*7733f6c3SPawel Laszczakconfig USB_CDNS3_PCI_WRAP
36*7733f6c3SPawel Laszczak	tristate "Cadence USB3 support on PCIe-based platforms"
37*7733f6c3SPawel Laszczak	depends on USB_PCI && ACPI
38*7733f6c3SPawel Laszczak	default USB_CDNS3
39*7733f6c3SPawel Laszczak	help
40*7733f6c3SPawel Laszczak	  If you're using the USBSS Core IP with a PCIe, please say
41*7733f6c3SPawel Laszczak	  'Y' or 'M' here.
42*7733f6c3SPawel Laszczak
43*7733f6c3SPawel Laszczak	  If you choose to build this driver as module it will
44*7733f6c3SPawel Laszczak	  be dynamically linked and module will be called cdns3-pci.ko
45*7733f6c3SPawel Laszczak
46*7733f6c3SPawel Laszczakendif
47