Skip to content

Commit 9c0ef6d

Browse files
Yue WangLorenzo Pieralisi
authored andcommitted
PCI: amlogic: Add the Amlogic Meson PCIe controller driver
The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. This patch adds the driver support for Meson PCIe controller. Link: https://lore.kernel.org/linux-pci/20181218224708.GB22610@google.com/ Signed-off-by: Yue Wang <yue.wang@amlogic.com> Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com> [lorenzo.pieralisi@arm.com: updated coding/comment style] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1 parent 7cd2103 commit 9c0ef6d

File tree

4 files changed

+610
-0
lines changed

4 files changed

+610
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11509,6 +11509,13 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/pci.git/
1150911509
S: Supported
1151011510
F: drivers/pci/controller/
1151111511

11512+
PCIE DRIVER FOR AMLOGIC MESON
11513+
M: Yue Wang <yue.wang@Amlogic.com>
11514+
L: linux-pci@vger.kernel.org
11515+
L: linux-amlogic@lists.infradead.org
11516+
S: Maintained
11517+
F: drivers/pci/controller/dwc/pci-meson.c
11518+
1151211519
PCIE DRIVER FOR AXIS ARTPEC
1151311520
M: Jesper Nilsson <jesper.nilsson@axis.com>
1151411521
L: linux-arm-kernel@axis.com

drivers/pci/controller/dwc/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,14 @@ config PCIE_HISI_STB
193193
help
194194
Say Y here if you want PCIe controller support on HiSilicon STB SoCs
195195

196+
config PCI_MESON
197+
bool "MESON PCIe controller"
198+
depends on PCI_MSI_IRQ_DOMAIN
199+
select PCIE_DW_HOST
200+
help
201+
Say Y here if you want to enable PCI controller support on Amlogic
202+
SoCs. The PCI controller on Amlogic is based on DesignWare hardware
203+
and therefore the driver re-uses the DesignWare core functions to
204+
implement the driver.
205+
196206
endmenu

drivers/pci/controller/dwc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
1414
obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
1515
obj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
1616
obj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
17+
obj-$(CONFIG_PCI_MESON) += pci-meson.o
1718

1819
# The following drivers are for devices that use the generic ACPI
1920
# pci_root.c driver but don't support standard ECAM config access.

0 commit comments

Comments
 (0)