mbox series

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

Message ID CH2PPF4D26F8E1CB87C28EE79BE36320C63A2F12@CH2PPF4D26F8E1C.namprd07.prod.outlook.com (mailing list archive)
Headers show
Series PCI: cadence: Add support for next gen PCIe controller | expand

Message

Manikandan Karunakaran Pillai Feb. 7, 2025, 9:39 a.m. UTC
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(-)