18c2ecf20Sopenharmony_ciconfig USB_CDNS3
28c2ecf20Sopenharmony_ci	tristate "Cadence USB3 Dual-Role Controller"
38c2ecf20Sopenharmony_ci	depends on USB_SUPPORT && (USB || USB_GADGET) && HAS_DMA
48c2ecf20Sopenharmony_ci	select USB_XHCI_PLATFORM if USB_XHCI_HCD
58c2ecf20Sopenharmony_ci	select USB_ROLE_SWITCH
68c2ecf20Sopenharmony_ci	help
78c2ecf20Sopenharmony_ci	  Say Y here if your system has a Cadence USB3 dual-role controller.
88c2ecf20Sopenharmony_ci	  It supports: dual-role switch, Host-only, and Peripheral-only.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci	  If you choose to build this driver is a dynamically linked
118c2ecf20Sopenharmony_ci	  as module, the module will be called cdns3.ko.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciif USB_CDNS3
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig USB_CDNS3_GADGET
168c2ecf20Sopenharmony_ci	bool "Cadence USB3 device controller"
178c2ecf20Sopenharmony_ci	depends on USB_GADGET=y || USB_GADGET=USB_CDNS3
188c2ecf20Sopenharmony_ci	help
198c2ecf20Sopenharmony_ci	  Say Y here to enable device controller functionality of the
208c2ecf20Sopenharmony_ci	  Cadence USBSS-DEV driver.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  This controller supports FF, HS and SS mode. It doesn't support
238c2ecf20Sopenharmony_ci	  LS and SSP mode.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig USB_CDNS3_HOST
268c2ecf20Sopenharmony_ci	bool "Cadence USB3 host controller"
278c2ecf20Sopenharmony_ci	depends on USB=y || USB=USB_CDNS3
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Say Y here to enable host controller functionality of the
308c2ecf20Sopenharmony_ci	  Cadence driver.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	  Host controller is compliant with XHCI so it will use
338c2ecf20Sopenharmony_ci	  standard XHCI driver.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig USB_CDNS3_PCI_WRAP
368c2ecf20Sopenharmony_ci	tristate "Cadence USB3 support on PCIe-based platforms"
378c2ecf20Sopenharmony_ci	depends on USB_PCI && ACPI
388c2ecf20Sopenharmony_ci	default USB_CDNS3
398c2ecf20Sopenharmony_ci	help
408c2ecf20Sopenharmony_ci	  If you're using the USBSS Core IP with a PCIe, please say
418c2ecf20Sopenharmony_ci	  'Y' or 'M' here.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci	  If you choose to build this driver as module it will
448c2ecf20Sopenharmony_ci	  be dynamically linked and module will be called cdns3-pci.ko
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciconfig USB_CDNS3_TI
478c2ecf20Sopenharmony_ci	tristate "Cadence USB3 support on TI platforms"
488c2ecf20Sopenharmony_ci	depends on ARCH_K3 || COMPILE_TEST
498c2ecf20Sopenharmony_ci	default USB_CDNS3
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  Say 'Y' or 'M' here if you are building for Texas Instruments
528c2ecf20Sopenharmony_ci	  platforms that contain Cadence USB3 controller core.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci	  e.g. J721e.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig USB_CDNS3_IMX
578c2ecf20Sopenharmony_ci	tristate "Cadence USB3 support on NXP i.MX platforms"
588c2ecf20Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
598c2ecf20Sopenharmony_ci	default USB_CDNS3
608c2ecf20Sopenharmony_ci	help
618c2ecf20Sopenharmony_ci	  Say 'Y' or 'M' here if you are building for NXP i.MX
628c2ecf20Sopenharmony_ci	  platforms that contain Cadence USB3 controller core.
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci	  For example, imx8qm and imx8qxp.
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ciendif
67