Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: endpoint: Add a generic PCI Endpoint Controller driver
@ 2026-12-04 14:00 Manivannan Sadhasivam via B4 Relay
  2026-12-04 14:00 ` [PATCH 1/2] dt-bindings: PCI: Add generic PCI Endpoint Controller Manivannan Sadhasivam via B4 Relay
  2026-12-04 14:00 ` [PATCH 2/2] PCI: endpoint: Add generic PCI Endpoint Controller driver Manivannan Sadhasivam via B4 Relay
  0 siblings, 2 replies; 5+ messages in thread
From: Manivannan Sadhasivam via B4 Relay @ 2026-12-04 14:00 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Krzysztof Wilczyński,
	Manivannan Sadhasivam, Rob Herring, Bjorn Helgaas,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-pci, devicetree, linux-kernel, Manivannan Sadhasivam

Hi,

This series adds a generic PCI Endpoint Controller driver for the
firmware-initialised and emulated PCI Endpoint controllers. For a firmware
initialised controller, all the resources such as Clocks, Regulators, PHY are
configured by the firmware. So the controller driver just need to program the
MMIO interface to configure the controller.

So this driver fetches 'ctrl' and 'outbound' MMIO regions from DT and configures
them based on the Function driver.

Testing
=======

This generic EP controller driver was tested with the below QEMU patchset:
https://lore.kernel.org/qemu-devel/20261204-pcie-ep-emulation-v2-0-ce3b3a393e7f@kernel.org/

Instructions to test this driver with QEMU is provided in the cover letter of
the above mentioned QEMU patchset.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
---
Manivannan Sadhasivam (2):
      dt-bindings: PCI: Add generic PCI Endpoint Controller
      PCI: endpoint: Add generic PCI Endpoint Controller driver

 .../devicetree/bindings/pci/pci-ep-generic.yaml    |  48 +++
 drivers/pci/controller/Kconfig                     |  12 +
 drivers/pci/controller/Makefile                    |   1 +
 drivers/pci/controller/pci-ep-generic.c            | 387 +++++++++++++++++++++
 4 files changed, 448 insertions(+)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261203-pci-ep-generic-3c4f4979f8a8

Best regards,
--  
மணிவண்ணன் சதாசிவம்



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-04 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 14:00 [PATCH 0/2] PCI: endpoint: Add a generic PCI Endpoint Controller driver Manivannan Sadhasivam via B4 Relay
2026-12-04 14:00 ` [PATCH 1/2] dt-bindings: PCI: Add generic PCI Endpoint Controller Manivannan Sadhasivam via B4 Relay
2026-12-04 14:14   ` sashiko-bot
2026-12-04 14:00 ` [PATCH 2/2] PCI: endpoint: Add generic PCI Endpoint Controller driver Manivannan Sadhasivam via B4 Relay
2026-12-04 14:43   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox