xref: /linux/drivers/pci/controller/Makefile (revision c0452137034bda8f686dd9a2e167949bfffd6776)
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
106e0832faSShawn Linobj-$(CONFIG_PCIE_RCAR) += pcie-rcar.o
116e0832faSShawn Linobj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
126e0832faSShawn Linobj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
136e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
146e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
156e0832faSShawn Linobj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
166e0832faSShawn Linobj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
176e0832faSShawn Linobj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
186e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
196e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
206e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
216e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
226e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
236e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
246e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
256e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
266e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
276e0832faSShawn Linobj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
286f2c73c1SLorenzo Pieralisiobj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
296e0832faSShawn Linobj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
306e0832faSShawn Linobj-$(CONFIG_VMD) += vmd.o
31*c0452137SJim Quinlanobj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
326e0832faSShawn Lin# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
336e0832faSShawn Linobj-y				+= dwc/
346e0832faSShawn Lin
356e0832faSShawn Lin
366e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
376e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
386e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
396e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
406e0832faSShawn Lin
416e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
426e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
436e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
446e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
456e0832faSShawn Lin
466e0832faSShawn Linifdef CONFIG_PCI
476e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-ecam.o
486e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-pem.o
496e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-xgene.o
506e0832faSShawn Linendif
51