[PATCH RESEND v2 0/5] Introduction of PCIe support on STi platform

Alain Volmat
2022-01-03T07:49:24Z

The STi platform SoC embed a designware based PCIe controller.
This serie include the driver for the controller and DT for the
stih407-family and for the stih418-b2264 into which it is used.

Within the DT and the binding, only st,stih407-pcie compatible is
used.
Rob, could you clarify if I need to mention both compatible (st,stih407-pcie
and snps,dw-pcie) or if st,stih407-pcie is enought ?

RESEND since not all patches made their way to the mailing list on
previous attempt.

v2: update of the pcie-st driver to add possibility to build as module
and remove the __init of the probe

Alain Volmat (5):
dt-bindings: pci: st-pcie: PCIe controller found on STi platforms
pci: dwc: pcie-st: Add PCIe driver for STi platforms
MAINTAINERS: add entry for ST STI PCIE driver
ARM: dts: sti: add the PCIe controller node within stih407-family
ARM: dts: sti: enable PCIe on the stih418-b2264 board

.../devicetree/bindings/pci/snps,dw-pcie.yaml | 2 +-
.../devicetree/bindings/pci/st,st-pcie.yaml | 112 +++++
MAINTAINERS | 6 +
arch/arm/boot/dts/stih407-family.dtsi | 40 ++
arch/arm/boot/dts/stih418-b2264.dts | 5 +
drivers/pci/controller/dwc/Kconfig | 11 +
drivers/pci/controller/dwc/Makefile | 1 +
drivers/pci/controller/dwc/pcie-sti.c | 386 ++++++++++++++++++
8 files changed, 562 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/pci/st,st-pcie.yaml
create mode 100644 drivers/pci/controller/dwc/pcie-sti.c