1config USB_CDNS3
2	tristate "Cadence USB3 Dual-Role Controller"
3	depends on USB_HOST || USB_GADGET
4	help
5	  Say Y here if your system has a Cadence USB3 dual-role controller.
6	  It supports: Host-only, and Peripheral-only.
7
8if USB_CDNS3
9
10config USB_CDNS3_GADGET
11	bool "Cadence USB3 device controller"
12	depends on USB_GADGET
13	select USB_GADGET_DUALSPEED
14	help
15	  Say Y here to enable device controller functionality of the
16	  Cadence USBSS-DEV driver.
17
18	  This controller supports FF and HS mode. It doesn't support
19	  LS and SSP mode.
20
21config USB_CDNS3_HOST
22	bool "Cadence USB3 host controller"
23	depends on USB_XHCI_HCD
24	help
25	  Say Y here to enable host controller functionality of the
26	  Cadence driver.
27
28	  Host controller is compliant with XHCI so it will use
29	  standard XHCI driver.
30
31config SPL_USB_CDNS3_GADGET
32	bool "SPL support for Cadence USB3 device controller"
33	depends on SPL_USB_GADGET
34	select USB_GADGET_DUALSPEED
35	help
36	  Say Y here to enable device controller functionality of the
37	  Cadence USBSS-DEV driver in SPL.
38
39	  This controller supports FF and HS mode. It doesn't support
40	  LS and SSP mode.
41
42config SPL_USB_CDNS3_HOST
43	bool "Cadence USB3 host controller"
44	depends on USB_XHCI_HCD && SPL_USB_HOST_SUPPORT
45	help
46	  Say Y here to enable host controller functionality of the
47	  Cadence driver.
48
49	  Host controller is compliant with XHCI so it will use
50	  standard XHCI driver.
51
52config USB_CDNS3_TI
53	tristate "Cadence USB3 support on TI platforms"
54	default USB_CDNS3
55	help
56	  Say 'Y' here if you are building for Texas Instruments
57	  platforms that contain Cadence USB3 controller core. E.g.: J721e.
58endif
59