Skip to content

Commit 5cbc7d3

Browse files
vingu-linarobjorn-helgaas
authored andcommitted
PCI: s32g: Add NXP S32G PCIe controller driver (RC)
Add initial support of the PCIe controller for the NXP S32G SoC family. Only host mode is supported. Co-developed-by: Ionut Vicovan <Ionut.Vicovan@nxp.com> Signed-off-by: Ionut Vicovan <Ionut.Vicovan@nxp.com> Co-developed-by: Ciprian Marian Costea <ciprianmarian.costea@nxp.com> Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@nxp.com> Co-developed-by: Ghennadi Procopciuc <Ghennadi.Procopciuc@nxp.com> Signed-off-by: Ghennadi Procopciuc <Ghennadi.Procopciuc@nxp.com> Co-developed-by: Larisa Grigore <larisa.grigore@nxp.com> Signed-off-by: Larisa Grigore <larisa.grigore@nxp.com> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> [mani: replaced memblock_start_of_DRAM with hardcoded boundary addr] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20251121164920.2008569-4-vincent.guittot@linaro.org
1 parent 045ad2c commit 5cbc7d3

3 files changed

Lines changed: 417 additions & 0 deletions

File tree

drivers/pci/controller/dwc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,16 @@ config PCIE_TEGRA194_EP
256256
in order to enable device-specific features PCIE_TEGRA194_EP must be
257257
selected. This uses the DesignWare core.
258258

259+
config PCIE_NXP_S32G
260+
bool "NXP S32G PCIe controller (host mode)"
261+
depends on ARCH_S32 || COMPILE_TEST
262+
select PCIE_DW_HOST
263+
help
264+
Enable support for the PCIe controller in NXP S32G based boards to
265+
work in Host mode. The controller is based on DesignWare IP and
266+
can work either as RC or EP. In order to enable host-specific
267+
features PCIE_NXP_S32G must be selected.
268+
259269
config PCIE_DW_PLAT
260270
bool
261271

drivers/pci/controller/dwc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
1010
obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
1111
obj-$(CONFIG_PCIE_FU740) += pcie-fu740.o
1212
obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
13+
obj-$(CONFIG_PCIE_NXP_S32G) += pcie-nxp-s32g.o
1314
obj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
1415
obj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o
1516
obj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o

0 commit comments

Comments
 (0)