blob: 4b99d9d86e0b61116582ed6c6969d5912d1c26e9 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
2index 70e0782..67988f8 100644
3--- a/drivers/pci/controller/Kconfig
4+++ b/drivers/pci/controller/Kconfig
5@@ -241,6 +241,19 @@ config PCIE_MEDIATEK
6 Say Y here if you want to enable PCIe controller support on
7 MediaTek SoCs.
8
9+config PCIE_MEDIATEK_GEN3
10+ tristate "MediaTek Gen3 PCIe controller"
11+ depends on ARCH_MEDIATEK || COMPILE_TEST
12+ depends on PCI_MSI_IRQ_DOMAIN
13+ help
14+ Adds support for PCIe Gen3 MAC controller for MediaTek SoCs.
15+ This PCIe controller is compatible with Gen3, Gen2 and Gen1 speed,
16+ and support up to 256 MSI interrupt numbers for
17+ multi-function devices.
18+
19+ Say Y here if you want to enable Gen3 PCIe controller support on
20+ MediaTek SoCs.
21+
22 config PCIE_MOBIVEIL
23 bool "Mobiveil AXI PCIe controller"
24 depends on ARCH_ZYNQMP || COMPILE_TEST
25diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile
26index a2a22c9..54a496a 100644
27--- a/drivers/pci/controller/Makefile
28+++ b/drivers/pci/controller/Makefile
29@@ -27,6 +27,7 @@ obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
30 obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
31 obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
32 obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
33+obj-$(CONFIG_PCIE_MEDIATEK_GEN3) += pcie-mediatek-gen3.o
34 obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
35 obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
36 obj-$(CONFIG_VMD) += vmd.o