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