Skip to content

Commit 508f610

Browse files
Bharat Kumar Gogadabjorn-helgaas
authored andcommitted
PCI: xilinx-cpm: Add Versal CPM Root Port driver
Add support for Versal CPM as Root Port. The Versal ACAP devices include CCIX-PCIe Module (CPM). The integrated block for CPM along with the integrated bridge can function as PCIe Root Port. Bridge error and legacy interrupts in Versal CPM are handled using Versal CPM specific interrupt line. [bhelgaas: fold in kerneldoc fix from https://lore.kernel.org/linux-acpi/[email protected]/] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bharat Kumar Gogada <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rob Herring <[email protected]>
1 parent e22fadb commit 508f610

File tree

3 files changed

+623
-0
lines changed

3 files changed

+623
-0
lines changed

drivers/pci/controller/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ config PCIE_XILINX
9999
Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
100100
Host Bridge driver.
101101

102+
config PCIE_XILINX_CPM
103+
bool "Xilinx Versal CPM host bridge support"
104+
depends on ARCH_ZYNQMP || COMPILE_TEST
105+
select PCI_HOST_COMMON
106+
help
107+
Say 'Y' here if you want kernel support for the
108+
Xilinx Versal CPM host bridge.
109+
102110
config PCI_XGENE
103111
bool "X-Gene PCIe controller"
104112
depends on ARM64 || COMPILE_TEST

drivers/pci/controller/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
1313
obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
1414
obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
1515
obj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
16+
obj-$(CONFIG_PCIE_XILINX_CPM) += pcie-xilinx-cpm.o
1617
obj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
1718
obj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
1819
obj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o

0 commit comments

Comments
 (0)