usb: cdns2: Add main part of Cadence USBHS driver
authorPawel Laszczak <pawell@cadence.com>
Fri, 2 Jun 2023 10:26:42 +0000 (06:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2023 09:59:29 +0000 (11:59 +0200)
commit3eb1f1efe2045e7083048f4cc4257d0df51899b8
tree116cbbf05e72bd4ac6f82ff2535cc6cf069922b0
parent0ca2026eea104adc1d0d356bca35915a1ab6e3e9
usb: cdns2: Add main part of Cadence USBHS driver

This patch introduces the main part of Cadence USBHS driver
to Linux kernel.
To reduce the patch size a little bit, the header file gadget.h was
intentionally added as separate patch.

The Cadence USB 2.0 Controller is a highly configurable IP Core which
supports both full and high speed data transfer.

The current driver has been validated with FPGA platform. We have
support for PCIe bus, which is used on FPGA prototyping.

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Message-ID: <20230602102644.77470-3-pawell@cadence.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/Kconfig
drivers/usb/gadget/udc/Makefile
drivers/usb/gadget/udc/cdns2/Kconfig [new file with mode: 0644]
drivers/usb/gadget/udc/cdns2/Makefile [new file with mode: 0644]
drivers/usb/gadget/udc/cdns2/cdns2-ep0.c [new file with mode: 0644]
drivers/usb/gadget/udc/cdns2/cdns2-gadget.c [new file with mode: 0644]
drivers/usb/gadget/udc/cdns2/cdns2-pci.c [new file with mode: 0644]