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