forked from raspberrypi/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver
This patch introduces the main part of Cadence USBSSP DRD 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 USBSSP DRD Controller is a highly configurable IP Core which can be instantiated as Dual-Role Device (DRD), Peripheral Only and Host Only (XHCI)configurations. The current driver has been validated with FPGA platform. We have support for PCIe bus, which is used on FPGA prototyping. The host side of USBSS DRD controller is compliant with XHCI. The architecture for device side is almost the same as for host side, and most of the XHCI specification can be used to understand how this controller operates. Signed-off-by: Pawel Laszczak <pawell@cadence.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
- Loading branch information
1 parent
e93e58d
commit 3d82904
Showing
15 changed files
with
6,641 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# define_trace.h needs to know how to find our header | ||
CFLAGS_trace.o := -I$(src) | ||
CFLAGS_trace.o := -I$(src) | ||
|
||
cdns-usb-common-y := core.o drd.o | ||
cdns3-y := cdns3-plat.o | ||
cdns-usb-common-y := core.o drd.o | ||
cdns3-y := cdns3-plat.o | ||
|
||
obj-$(CONFIG_USB_CDNS3) += cdns3.o | ||
obj-$(CONFIG_CDNS_USB_COMMON) += cdns-usb-common.o | ||
obj-$(CONFIG_USB_CDNS3) += cdns3.o | ||
obj-$(CONFIG_USB_CDNS_SUPPORT) += cdns-usb-common.o | ||
|
||
cdns-usb-common-$(CONFIG_CDNS_USB_HOST) += host.o | ||
cdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o | ||
cdns-usb-common-$(CONFIG_USB_CDNS_HOST) += host.o | ||
cdns3-$(CONFIG_USB_CDNS3_GADGET) += gadget.o ep0.o | ||
|
||
ifneq ($(CONFIG_USB_CDNS3_GADGET),) | ||
cdns3-$(CONFIG_TRACING) += trace.o | ||
cdns3-$(CONFIG_TRACING) += trace.o | ||
endif | ||
|
||
obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o | ||
obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o | ||
obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o | ||
obj-$(CONFIG_USB_CDNS3_PCI_WRAP) += cdns3-pci-wrap.o | ||
obj-$(CONFIG_USB_CDNS3_TI) += cdns3-ti.o | ||
obj-$(CONFIG_USB_CDNS3_IMX) += cdns3-imx.o | ||
|
||
cdnsp-udc-pci-y := cdnsp-pci.o | ||
obj-$(CONFIG_USB_CDNSP_PCI) += cdnsp-udc-pci.o | ||
cdnsp-udc-pci-$(CONFIG_USB_CDNSP_GADGET) += cdnsp-ring.o cdnsp-gadget.o \ | ||
cdnsp-mem.o cdnsp-ep0.o |
Oops, something went wrong.