Add Cadence USB3 IP driver, this is the 1st version for this driver, so wrapper layer and PHY layer are still IP core file (core.c). Below functions are supported: - Basic host function - Limited gadget function, only ACM (old g_seiral) are supported, and mass_storage support is not very well. - Role switch between host and device through extcon design (Eg, Type-C application NXP PTN5150). Below functions are missing: - Multi-queue support at gadget function, without this feature, many gadget function are missing. - Low power mode support, including system PM and runtime PM - Wakeup support Signed-off-by: Peter Chen <peter.chen@nxp.com>
27 lines
782 B
Plaintext
27 lines
782 B
Plaintext
config USB_CDNS3
|
|
tristate "Cadence USB3 Dual-Role Controller"
|
|
depends on ((USB_XHCI_HCD && USB_GADGET) || (USB_XHCI_HCD && !USB_GADGET) || (!USB_XHCI_HCD && USB_GADGET)) && HAS_DMA
|
|
select EXTCON
|
|
help
|
|
Say Y here if your system has a cadence USB3 dual-role controller.
|
|
It supports: dual-role switch Host-only, and Peripheral-only.
|
|
|
|
When compiled dynamically, the module will be called cdns3.ko.
|
|
|
|
if USB_CDNS3
|
|
|
|
config USB_CDNS3_GADGET
|
|
bool "Cadence USB3 device controller"
|
|
depends on USB_GADGET
|
|
help
|
|
Say Y here to enable device controller functionality of the
|
|
cadence usb3 driver.
|
|
|
|
config USB_CDNS3_HOST
|
|
bool "Cadence USB3 host controller"
|
|
depends on USB_XHCI_HCD
|
|
help
|
|
Say Y here to enable host controller functionality of the
|
|
cadence usb3 driver.
|
|
endif
|