[RFC 0/3] PCI: cadence: Add support for next gen PCIe controller

From: Manikandan Karunakaran Pillai
Date: Fri Feb 07 2025 - 04:41:10 EST


Enhances the exiting Cadence PCIe controller drivers to support second
generation PCIe controller also referred as HPA(High Performance
Architecture) controllers.

Comments from the earlier patch submission on the same enhancements are
taken into consideration.

[RFC 1/3] PCI: cadence: Add architecture information for PCIe controller
Adds the boolean flag for checks to know the architecture.
[RFC 2/3] PCI: cadence: Add support for PCIe Endpoint HPA controller
Adds the necessary register definitions, register offsets and architecture
specific functions for Endpoint functionality
[RFC 3/3] PCI: cadence: Add callback functions for Root Port and EP HPA
Add and register all the required callback for platform and invoke the
registered ops callback in the driver.

The changes are not tested on a hardware platform and hence submitting
them as RFC to get review comments.

Manikandan K Pillai (3):
PCI: cadence: Add architecture information for PCIe controller
PCI: cadence: Add support for PCIe Endpoint HPA controller
PCI: cadence: Add callback functions for Root Port and EP HPA
controllers

.../pci/controller/cadence/pcie-cadence-ep.c | 158 +++++++++-
.../controller/cadence/pcie-cadence-host.c | 249 ++++++++++++++--
.../controller/cadence/pcie-cadence-plat.c | 26 ++
drivers/pci/controller/cadence/pcie-cadence.c | 154 +++++++++-
drivers/pci/controller/cadence/pcie-cadence.h | 278 ++++++++++++++++++
5 files changed, 831 insertions(+), 34 deletions(-)

--
2.27.0