developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From 99a6452c7481de2f1a36699dd60361c49602cc77 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:24 +0800 |
| 4 | Subject: [PATCH] |
| 5 | [high-speed-io][999-2600-pcie-add-pcie-gen3-upstream-driver.patch] |
| 6 | |
| 7 | --- |
| 8 | drivers/pci/controller/Kconfig | 13 +++++++++++++ |
| 9 | drivers/pci/controller/Makefile | 1 + |
| 10 | 2 files changed, 14 insertions(+) |
| 11 | |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 12 | diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 13 | index 70e078238..67988f868 100644 |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 14 | --- a/drivers/pci/controller/Kconfig |
| 15 | +++ b/drivers/pci/controller/Kconfig |
| 16 | @@ -241,6 +241,19 @@ config PCIE_MEDIATEK |
| 17 | Say Y here if you want to enable PCIe controller support on |
| 18 | MediaTek SoCs. |
| 19 | |
| 20 | +config PCIE_MEDIATEK_GEN3 |
| 21 | + tristate "MediaTek Gen3 PCIe controller" |
| 22 | + depends on ARCH_MEDIATEK || COMPILE_TEST |
| 23 | + depends on PCI_MSI_IRQ_DOMAIN |
| 24 | + help |
| 25 | + Adds support for PCIe Gen3 MAC controller for MediaTek SoCs. |
| 26 | + This PCIe controller is compatible with Gen3, Gen2 and Gen1 speed, |
| 27 | + and support up to 256 MSI interrupt numbers for |
| 28 | + multi-function devices. |
| 29 | + |
| 30 | + Say Y here if you want to enable Gen3 PCIe controller support on |
| 31 | + MediaTek SoCs. |
| 32 | + |
| 33 | config PCIE_MOBIVEIL |
| 34 | bool "Mobiveil AXI PCIe controller" |
| 35 | depends on ARCH_ZYNQMP || COMPILE_TEST |
| 36 | diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 37 | index a2a22c9d9..54a496a68 100644 |
developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 38 | --- a/drivers/pci/controller/Makefile |
| 39 | +++ b/drivers/pci/controller/Makefile |
| 40 | @@ -27,6 +27,7 @@ obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o |
| 41 | obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o |
| 42 | obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o |
| 43 | obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o |
| 44 | +obj-$(CONFIG_PCIE_MEDIATEK_GEN3) += pcie-mediatek-gen3.o |
| 45 | obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o |
| 46 | obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o |
| 47 | obj-$(CONFIG_VMD) += vmd.o |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 48 | -- |
| 49 | 2.34.1 |
| 50 | |