Skip to content
Permalink
Browse files
PCI: mediatek: Add new generation controller support
MediaTek's PCIe host controller has three generation HWs, the new
generation HW is an individual bridge, it supoorts Gen3 speed and
up to 256 MSI interrupt numbers for multi-function devices.

Add support for new Gen3 controller which can be found on MT8192.

Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
  • Loading branch information
wang-jianjun authored and intel-lab-lkp committed Nov 18, 2020
1 parent 4051962 commit 4b8f2b90a9127b0c70b6949026559172a2f5e707
Show file tree
Hide file tree
Showing 3 changed files with 1,046 additions and 0 deletions.
@@ -242,6 +242,20 @@ config PCIE_MEDIATEK
Say Y here if you want to enable PCIe controller support on
MediaTek SoCs.

config PCIE_MEDIATEK_GEN3
tristate "MediaTek GEN3 PCIe controller"
depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF
depends on PCI_MSI_IRQ_DOMAIN
help
Adds support for PCIe Gen3 MAC controller for MediaTek SoCs.
This PCIe controller provides the capable of Gen3, Gen2 and
Gen1 speed, and support up to 256 MSI interrupt numbers for
multi-function devices.

Say Y here if you want to enable Gen3 PCIe controller support on
MediaTek SoCs.

config PCIE_TANGO_SMP8759
bool "Tango SMP8759 PCIe controller (DANGEROUS)"
depends on ARCH_TANGO && PCI_MSI && OF
@@ -27,6 +27,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_MEDIATEK_GEN3) += pcie-mediatek-gen3.o
obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
obj-$(CONFIG_VMD) += vmd.o
obj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o

0 comments on commit 4b8f2b9

Please sign in to comment.