Add Cadence PCIe endpoint driver with new uclass
Get series with b4
b4 am CA+Kvs9ntdQZeLBb_LXFxPecUUfy_4zH8kF384nTDp4mcvOrx9Q@mail.gmail.comVersions newest first · linked by author and title
- v3 Latest posting 2/20 of 4 patches 0 repliesNew
- v3 posting 1/24 patches 0 repliesSuperseded
- v24 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 0 replies | Superseded |
Patches in v3 posting 2/2 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [U-Boot] [PATCH v3 0/4] Add Cadence PCIe endpoint driver with new uclass
Hi Simon,
Kind reminder, just touching base.
Thanks,
Ramon.
Quoted 62 lines · Ramon Fried
This patchset adds support for new uclass,
UCLASS_PCI_EPallowing new set of PCI endpoint drivers.
Included in the patch is also a driver for Cadence PCIe endpoint.Changes in V2:
- Removed "pci.h: add missing maskbit" as it was already merged by Simon.
- Added PCI endpoint sandbox driver
- Added testing for sandbox driver
- Addressed issues raised by Simon inUCLASS_PCI_EPclass implementationChanges in v3:
- Added function to read bar config
- Fixed a bug in set MSI implementation (missing -1)
- Elaborate a bit more in comments
- Added MAINTAINER entry for PCI Endpoint
- Added more description to commit message and kmsg
- Removed some unused functionality that can't be tested.
- Removed entries from sandbox config and added implies and select toarch/Kconfigsandbox entry.
- Added more testing of sandbox driverRamon Fried (4):
drivers:pci_ep: IntroduceUCLASS_PCI_EPuclass
pci_ep: add Cadence PCIe endpoint driver
pci_ep: add pci endpoint sandbox driver
test:pci_ep: add basicpci_eptestsMAINTAINERS | 6 + arch/Kconfig | 2 + arch/sandbox/dts/test.dts | 4 + arch/sandbox/include/asm/test.h | 8 + .../pci_endpoint/cdns,cdns-pcie-ep.txt | 18 + drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/pci_endpoint/Kconfig | 34 ++ drivers/pci_endpoint/Makefile | 8 + drivers/pci_endpoint/pci_ep-uclass.c | 211 +++++++++ drivers/pci_endpoint/pcie-cadence-ep.c | 177 ++++++++ drivers/pci_endpoint/pcie-cadence.h | 309 +++++++++++++ drivers/pci_endpoint/sandbox-pci_ep.c | 182 ++++++++ include/dm/uclass-id.h | 1 + include/pci_ep.h | 414 ++++++++++++++++++ test/dm/Makefile | 1 + test/dm/pci_ep.c | 64 +++ 17 files changed, 1442 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 drivers/pci_endpoint/sandbox-pci_ep.c create mode 100644 include/pci_ep.h create mode 100644 test/dm/pci_ep.c--
2.21.0