xref: /linux/drivers/pci/controller/Makefile (revision acb52897cc842fae917c4441e0fefbc18133a08c)
16e0832faSShawn Lin# SPDX-License-Identifier: GPL-2.0
2de80f95cSTom Josephobj-$(CONFIG_PCIE_CADENCE) += cadence/
36e0832faSShawn Linobj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
46e0832faSShawn Linobj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
5348dd93eSHaiyang Zhangobj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o
66e0832faSShawn Linobj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
76e0832faSShawn Linobj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
86e0832faSShawn Linobj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
96e0832faSShawn Linobj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
1078a0d7f2SLad Prabhakarobj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar.o pcie-rcar-host.o
112a6d0d63SLad Prabhakarobj-$(CONFIG_PCIE_RCAR_EP) += pcie-rcar.o pcie-rcar-ep.o
126e0832faSShawn Linobj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
136e0832faSShawn Linobj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
146e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
156e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
16508f6106SBharat Kumar Gogadaobj-$(CONFIG_PCIE_XILINX_CPM) += pcie-xilinx-cpm.o
176e0832faSShawn Linobj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
186e0832faSShawn Linobj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
196e0832faSShawn Linobj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
206e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
216e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
226e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
236e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
246e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
256e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
266e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
276e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
286e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
296e0832faSShawn Linobj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
306e0832faSShawn Linobj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
316e0832faSShawn Linobj-$(CONFIG_VMD) += vmd.o
32c0452137SJim Quinlanobj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
331f58cca5SJiaxun Yangobj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o
34*acb52897SYicong Yangobj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o
356e0832faSShawn Lin# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
366e0832faSShawn Linobj-y				+= dwc/
3703bdc388SHou Zhiqiangobj-y				+= mobiveil/
386e0832faSShawn Lin
396e0832faSShawn Lin
406e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
416e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
426e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
436e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
446e0832faSShawn Lin
456e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
466e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
476e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
486e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
496e0832faSShawn Lin
506e0832faSShawn Linifdef CONFIG_PCI
516e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-ecam.o
526e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-pem.o
536e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-xgene.o
546e0832faSShawn Linendif
55