[PATCH v3 0/9] PCI: rzg3s-host: Add PCIe driver for Renesas RZ/G3S SoC

Claudiu
2025-07-04T16:29:18Z

From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

Series adds a PCIe driver for the Renesas RZ/G3S SoC.
It is split as follows:
- patch 1/9: updates the max register offset for RZ/G3S SYSC;
this is necessary as the PCIe need to setup the
SYSC for proper functioning
- patch 2/9: adds clocks and resets support for the PCIe IP
- patch 3/9: fix the legacy interrupt request failure
- patches 4-5/9: add PCIe support for the RZ/G3S SoC
- patches 6-9/9: add device tree support and defconfig flag

Please provide your feedback.

Merge strategy, if any:
- patches 1-2,6-9/9 can go through the Renesas tree
- patches 3-5/9 can go through the PCI tree

Thank you,
Claudiu Beznea

Changes in v3:
- added patch "PCI: of_property: Restore the arguments of the next level parent"
to fix the legacy interrupt request
- addressed review comments
- per-patch changes are described in each individual patch

Changes in v2:
- dropped "of/irq: Export of_irq_count()" as it is not needed anymore
in this version
- added "arm64: dts: renesas: rzg3s-smarc-som: Update dma-ranges for PCIe"
to reflect the board specific memory constraints
- addressed review comments
- updated patch "soc: renesas: rz-sysc: Add syscon/regmap support"
- per-patch changes are described in each individual patch

Claudiu Beznea (8):
clk: renesas: r9a08g045: Add clocks and resets support for PCIe
PCI: of_property: Restore the arguments of the next level parent
dt-bindings: PCI: renesas,r9a08g045s33-pcie: Add documentation for the
PCIe IP on Renesas RZ/G3S
PCI: rzg3s-host: Add Initial PCIe Host Driver for Renesas RZ/G3S SoC
arm64: dts: renesas: r9a08g045s33: Add PCIe node
arm64: dts: renesas: rzg3s-smarc-som: Update dma-ranges for PCIe
arm64: dts: renesas: rzg3s-smarc: Enable PCIe
arm64: defconfig: Enable PCIe for the Renesas RZ/G3S SoC

John Madieu (1):
soc: renesas: rz-sysc: Add syscon/regmap support

.../pci/renesas,r9a08g045s33-pcie.yaml | 202 ++
MAINTAINERS | 8 +
arch/arm64/boot/dts/renesas/r9a08g045s33.dtsi | 60 +
.../boot/dts/renesas/rzg3s-smarc-som.dtsi | 5 +
arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi | 11 +
arch/arm64/configs/defconfig | 1 +
drivers/clk/renesas/r9a08g045-cpg.c | 19 +
drivers/pci/controller/Kconfig | 7 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pcie-rzg3s-host.c | 1715 +++++++++++++++++
drivers/pci/of_property.c | 8 +
drivers/soc/renesas/Kconfig | 1 +
drivers/soc/renesas/r9a08g045-sysc.c | 10 +
drivers/soc/renesas/r9a09g047-sys.c | 10 +
drivers/soc/renesas/r9a09g057-sys.c | 10 +
drivers/soc/renesas/rz-sysc.c | 17 +-
drivers/soc/renesas/rz-sysc.h | 3 +
17 files changed, 2087 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/pci/renesas,r9a08g045s33-pcie.yaml
create mode 100644 drivers/pci/controller/pcie-rzg3s-host.c

--
2.43.0