[U-Boot] [PATCH v1 0/3] Add Cadence PCIe endpoint driver with new uclass

Ramon Fried
2019-04-06T02:11:59Z

This patchset adds support for new uclass, UCLASS_PCI_EP
allowing new set of PCI endpoint drivers.
Included in the patchset is also a driver for Cadence PCIe endpoint.

Ramon Fried (3):
drivers: pci_ep: Introduce UCLASS_PCI_EP uclass
pci: pci.h: add missing maskbit
pci_ep: add Cadence PCIe endpoint driver

.../pci_endpoint/cdns,cdns-pcie-ep.txt | 18 +
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
drivers/pci_endpoint/Kconfig | 25 ++
drivers/pci_endpoint/Makefile | 7 +
drivers/pci_endpoint/pci_ep-uclass.c | 192 +++++++++
drivers/pci_endpoint/pcie-cadence-ep.c | 177 +++++++++
drivers/pci_endpoint/pcie-cadence.h | 309 +++++++++++++++
include/dm/uclass-id.h | 1 +
include/pci.h | 1 +
include/pci_ep.h | 375 ++++++++++++++++++
11 files changed, 1108 insertions(+)
create mode 100644 doc/device-tree-bindings/pci_endpoint/cdns,cdns-pcie-ep.txt
create mode 100644 drivers/pci_endpoint/Kconfig
create mode 100644 drivers/pci_endpoint/Makefile
create mode 100644 drivers/pci_endpoint/pci_ep-uclass.c
create mode 100644 drivers/pci_endpoint/pcie-cadence-ep.c
create mode 100644 drivers/pci_endpoint/pcie-cadence.h
create mode 100644 include/pci_ep.h

--
2.21.0