]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: mobiveil: Add Kconfig/Makefile entries
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 30 Jul 2018 12:09:56 +0000 (13:09 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 30 Jul 2018 13:30:16 +0000 (14:30 +0100)
commit 9af6bcb11e12 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP
driver") did not add the configuration and build infrastructure to
configure and build the mobiveil controller driver, so at present the
driver code is in the kernel but cannot be compiled.

Add the mobiveil controller driver Kconfig/Makefile infrastructure.

Fixes: 9af6bcb11e12 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP
driver")
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Subrahmanya Lingappa <l.subrahmanya@mobiveil.co.in>
drivers/pci/controller/Kconfig
drivers/pci/controller/Makefile

index 18fa09b3ac8f2c377ccd8e9ba890f01d66b3c367..fc4dbcd35e8f1930d2793263ec41f55b23a56060 100644 (file)
@@ -242,6 +242,16 @@ config PCIE_MEDIATEK
          Say Y here if you want to enable PCIe controller support on
          MediaTek SoCs.
 
+config PCIE_MOBIVEIL
+       bool "Mobiveil AXI PCIe controller"
+       depends on ARCH_ZYNQMP || COMPILE_TEST
+       depends on OF
+       depends on PCI_MSI_IRQ_DOMAIN
+       help
+         Say Y here if you want to enable support for the Mobiveil AXI PCIe
+         Soft IP. It has up to 8 outbound and inbound windows
+         for address translation and it is a PCIe Gen4 IP.
+
 config PCIE_TANGO_SMP8759
        bool "Tango SMP8759 PCIe controller (DANGEROUS)"
        depends on ARCH_TANGO && PCI_MSI && OF
index 24322b92f20029263c40c719f5249443958dda8d..d56a507495c5edd902a6012420924b9b837203a5 100644 (file)
@@ -26,6 +26,7 @@ obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
 obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
 obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
 obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
+obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
 obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
 obj-$(CONFIG_VMD) += vmd.o
 # pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW