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