Skip to contentSkip to conversation

pci: host: new driver for Axis ARTPEC-6 PCIe controller

PATCH Superseded Niklas Cassel 1 participant 1 message May 4, 2016 PCI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 pci: host: new driver for Axis ARTPEC-6 PCIe controller

From: Niklas Cassel <[email protected]>

The Axis ARTPEC-6 SoC integrates a PCIe controller from Synopsys. This commit adds a new driver that provides the small glue needed to use the existing Designware driver to make it work on the Axis ARTPEC-6 SoC.

---
 MAINTAINERS                     |   9 ++
 drivers/pci/host/Kconfig        |   6 +
 drivers/pci/host/Makefile       |   1 +
 drivers/pci/host/pcie-artpec6.c | 297 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 313 insertions(+)
 create mode 100644 drivers/pci/host/pcie-artpec6.c
MAINTAINERS +9 -0
index 456978d..ac43fb3 100644
@@ -8755,6 +8755,15 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/pci/xgene-pci-msi.txt
 F:	drivers/pci/host/pci-xgene-msi.c
 
+PCIE DRIVER FOR AXIS ARTPEC
+M:	Niklas Cassel <[email protected]>
+M:	Jesper Nilsson <[email protected]>
+L:	[email protected]
+L:	[email protected]
+S:	Maintained
+F:	Documentation/devicetree/bindings/pci/axis,artpec*
+F:	drivers/pci/host/*artpec*
+
 PCIE DRIVER FOR HISILICON
 M:	Zhou Wang <[email protected]>
 M:	Gabriele Paoloni <[email protected]>
drivers/pci/host/Kconfig +6 -0
index 5855f85..29e159a 100644
@@ -244,4 +244,10 @@ config PCIE_ARMADA_8K
 	  Designware hardware and therefore the driver re-uses the
 	  Designware core functions to implement the driver.
 
+config PCIE_ARTPEC6
+	bool "Axis ARTPEC-6 PCIe controller"
+	depends on MACH_ARTPEC6
+	select PCIE_DW
+	select PCIEPORTBUS
+
 endmenu
drivers/pci/host/Makefile +1 -0
index 9c8698e..5bc0af2 100644
@@ -29,3 +29,4 @@ obj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
 obj-$(CONFIG_PCI_HOST_THUNDER_ECAM) += pci-thunder-ecam.o
 obj-$(CONFIG_PCI_HOST_THUNDER_PEM) += pci-thunder-pem.o
 obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
+obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
drivers/pci/host/pcie-artpec6.c new file +297 -0

297 lines not on this page · raw message

Signature · 1 line
2.1.4