Skip to content

Commit 7ef502f

Browse files
claudiubezneabjorn-helgaas
authored andcommitted
PCI: Add Renesas RZ/G3S host controller driver
The Renesas RZ/G3S features a PCIe IP that complies with the PCI Express Base Specification 4.0 and supports speeds of up to 5 GT/s. It functions only as a root complex, with a single-lane (x1) configuration. The controller includes Type 1 configuration registers, as well as IP specific registers (called AXI registers) required for various adjustments. Hardware manual can be downloaded from the address in the "Link" section. The following steps should be followed to access the manual: 1/ Click the "User Manual" button 2/ Click "Confirm"; this will start downloading an archive 3/ Open the downloaded archive 4/ Navigate to r01uh1014ej*-rzg3s-users-manual-hardware -> Deliverables 5/ Open the file r01uh1014ej*-rzg3s.pdf Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://www.renesas.com/en/products/rz-g3s?queryID=695cc067c2d89e3f271d43656ede4d12 Link: https://patch.msgid.link/20251119143523.977085-3-claudiu.beznea.uj@bp.renesas.com
1 parent e7534e7 commit 7ef502f

4 files changed

Lines changed: 1779 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20007,6 +20007,14 @@ S: Maintained
2000720007
F: drivers/pci/controller/dwc/pcie-qcom-common.c
2000820008
F: drivers/pci/controller/dwc/pcie-qcom.c
2000920009

20010+
PCIE DRIVER FOR RENESAS RZ/G3S SERIES
20011+
M: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
20012+
L: linux-pci@vger.kernel.org
20013+
L: linux-renesas-soc@vger.kernel.org
20014+
S: Supported
20015+
F: Documentation/devicetree/bindings/pci/renesas,r9a08g045-pcie.yaml
20016+
F: drivers/pci/controller/pcie-rzg3s-host.c
20017+
2001020018
PCIE DRIVER FOR ROCKCHIP
2001120019
M: Shawn Lin <shawn.lin@rock-chips.com>
2001220020
L: linux-pci@vger.kernel.org

drivers/pci/controller/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,15 @@ config PCI_RCAR_GEN2
266266
There are 3 internal PCI controllers available with a single
267267
built-in EHCI/OHCI host controller present on each one.
268268

269+
config PCIE_RENESAS_RZG3S_HOST
270+
bool "Renesas RZ/G3S PCIe host controller"
271+
depends on ARCH_RENESAS || COMPILE_TEST
272+
select MFD_SYSCON
273+
select IRQ_MSI_LIB
274+
help
275+
Say Y here if you want PCIe host controller support on Renesas RZ/G3S
276+
SoC.
277+
269278
config PCIE_ROCKCHIP
270279
bool
271280
depends on PCI

drivers/pci/controller/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
1010
obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
1111
obj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar.o pcie-rcar-host.o
1212
obj-$(CONFIG_PCIE_RCAR_EP) += pcie-rcar.o pcie-rcar-ep.o
13+
obj-$(CONFIG_PCIE_RENESAS_RZG3S_HOST) += pcie-rzg3s-host.o
1314
obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
1415
obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
1516
obj-$(CONFIG_PCI_HOST_THUNDER_ECAM) += pci-thunder-ecam.o

0 commit comments

Comments
 (0)