Skip to content

Commit b593c26

Browse files
PCI: eswin: Add ESWIN PCIe Root Complex driver
Add driver for the ESWIN PCIe Root Complex based on the DesignWare PCIe core, IP revision 5.96a. The PCIe Gen.3 Root Complex supports data rate of 8 GT/s and x4 lanes, with INTx and MSI interrupt capability. Signed-off-by: Yu Ning <ningyu@eswincomputing.com> Signed-off-by: Yanghui Ou <ouyanghui@eswincomputing.com> Signed-off-by: Senchuan Zhang <zhangsenchuan@eswincomputing.com> [mani: renamed "EIC7700" to "ESWIN", added maintainers entry, removed async probe] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> [bhelgaas: add driver tag in subject] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260227111808.1996-1-zhangsenchuan@eswincomputing.com
1 parent 249c48a commit b593c26

4 files changed

Lines changed: 426 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20494,6 +20494,13 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
2049420494
S: Odd Fixes
2049520495
F: drivers/pci/controller/pci-thunder-*
2049620496

20497+
PCIE DRIVER FOR ESWIN
20498+
M: Senchuan Zhang <zhangsenchuan@eswincomputing.com>
20499+
L: linux-pci@vger.kernel.org
20500+
S: Maintained
20501+
F: Documentation/devicetree/bindings/pci/eswin,pcie.yaml
20502+
F: drivers/pci/controller/dwc/pcie-eswin.c
20503+
2049720504
PCIE DRIVER FOR HISILICON
2049820505
M: Zhou Wang <wangzhou1@hisilicon.com>
2049920506
L: linux-pci@vger.kernel.org

drivers/pci/controller/dwc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ config PCIE_BT1
9393
Enables support for the PCIe controller in the Baikal-T1 SoC to work
9494
in host mode. It's based on the Synopsys DWC PCIe v4.60a IP-core.
9595

96+
config PCIE_ESWIN
97+
tristate "ESWIN PCIe controller"
98+
depends on ARCH_ESWIN || COMPILE_TEST
99+
depends on PCI_MSI
100+
select PCIE_DW_HOST
101+
help
102+
Say Y here if you want PCIe controller support for the ESWIN SoCs.
103+
The PCIe controller in ESWIN SoCs is based on DesignWare hardware, and
104+
works only in host mode.
105+
96106
config PCI_IMX6
97107
bool
98108

drivers/pci/controller/dwc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ obj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o
66
obj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o
77
obj-$(CONFIG_PCIE_AMD_MDB) += pcie-amd-mdb.o
88
obj-$(CONFIG_PCIE_BT1) += pcie-bt1.o
9+
obj-$(CONFIG_PCIE_ESWIN) += pcie-eswin.o
910
obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
1011
obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
1112
obj-$(CONFIG_PCIE_FU740) += pcie-fu740.o

0 commit comments

Comments
 (0)