Kconfig

CONFIG_USB_CDNS_SUPPORT Cadence USB Support

  • Off
  • Module
  • Built in

Say Y here if your system has a Cadence USBSS or USBSSP dual-role controller. It supports: dual-role switch, Host-only, and Peripheral-only.

If USB_CDNS_SUPPORT

CONFIG_USB_CDNS3 Cadence USB dual-role controller (USBSS and USBSSP)

  • Off
  • Module
  • Built in

Say Y or M here if your system has an on-chip Cadence USB dual-role controller. This covers both USBSS (USB 3.0) and USBSSP (SuperSpeed Plus) IP; the driver detects the variant at runtime.

The core driver (core, DRD, generic platform binding for the "cdns,usb3" device tree compatible, optional host and gadget) builds as one module named cdns.ko when built as a loadable module.

It supports: dual-role switch, Host-only, and Peripheral-only.

If USB_CDNS3

CONFIG_USB_CDNS3_HOST Cadence USB host controller (xHCI)

On

Say Y here to enable host controller functionality for Cadence USBSS and USBSSP dual-role controllers.

The host controller is xHCI compliant and uses the standard xHCI driver.

CONFIG_USB_CDNS3_GADGET Cadence USB device controller (USBSS and USBSSP)

On

Say Y here to include Cadence USB device (gadget) support for both USBSS (USB 3.0) and USBSSP (SuperSpeed Plus) IP in the cdns.ko module. The implementation is selected at runtime from the detected controller version.

USBSS gadget supports FF, HS and SS mode (not LS or SSP). USBSSP gadget supports FF, HS, SS and SSP mode (not LS).

Platform glue driver support

CONFIG_USB_CDNS3_STARFIVE Cadence USB3 support on StarFive SoC platforms

  • Off
  • Module
  • Built in

Say 'Y' or 'M' here if you are building for StarFive SoCs platforms that contain Cadence USB3 controller core.

e.g. JH7110.

If you choose to build this driver as module it will be dynamically linked and module will be called cdns3-starfive.ko