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