Vignesh Raghavendra | 7e91f6c | 2019-10-01 17:26:33 +0530 | [diff] [blame] | 1 | config USB_CDNS3 |
| 2 | tristate "Cadence USB3 Dual-Role Controller" |
Tom Rini | be5c060 | 2021-07-09 10:11:56 -0400 | [diff] [blame] | 3 | depends on USB_XHCI_HCD || USB_GADGET |
Vignesh Raghavendra | 7e91f6c | 2019-10-01 17:26:33 +0530 | [diff] [blame] | 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 | |
| 8 | if USB_CDNS3 |
| 9 | |
| 10 | config 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 | |
| 21 | config 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 | |
| 31 | config 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 | |
| 42 | config SPL_USB_CDNS3_HOST |
| 43 | bool "Cadence USB3 host controller" |
Simon Glass | 333e4a6 | 2021-07-10 21:14:29 -0600 | [diff] [blame^] | 44 | depends on USB_XHCI_HCD && SPL_USB_HOST |
Vignesh Raghavendra | 7e91f6c | 2019-10-01 17:26:33 +0530 | [diff] [blame] | 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. |
Vignesh Raghavendra | a9ca419 | 2019-10-01 17:26:35 +0530 | [diff] [blame] | 51 | |
| 52 | config 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. |
Vignesh Raghavendra | 7e91f6c | 2019-10-01 17:26:33 +0530 | [diff] [blame] | 58 | endif |