1 # SPDX-License-Identifier: GPL-2.0
3 menu "DesignWare PCI Core Support"
20 config PCI_DRA7XX_HOST
21 tristate "TI DRA7xx PCIe controller Host Mode"
22 depends on SOC_DRA7XX || COMPILE_TEST
23 depends on OF && HAS_IOMEM && TI_PIPE3
24 depends on PCI_MSI_IRQ_DOMAIN
27 default y if SOC_DRA7XX
29 Enables support for the PCIe controller in the DRA7xx SoC to work in
30 host mode. There are two instances of PCIe controller in DRA7xx.
31 This controller can work either as EP or RC. In order to enable
32 host-specific features PCI_DRA7XX_HOST must be selected and in order
33 to enable device-specific features PCI_DRA7XX_EP must be selected.
34 This uses the DesignWare core.
37 tristate "TI DRA7xx PCIe controller Endpoint Mode"
38 depends on SOC_DRA7XX || COMPILE_TEST
39 depends on OF && HAS_IOMEM && TI_PIPE3
40 depends on PCI_ENDPOINT
44 Enables support for the PCIe controller in the DRA7xx SoC to work in
45 endpoint mode. There are two instances of PCIe controller in DRA7xx.
46 This controller can work either as EP or RC. In order to enable
47 host-specific features PCI_DRA7XX_HOST must be selected and in order
48 to enable device-specific features PCI_DRA7XX_EP must be selected.
49 This uses the DesignWare core.
54 config PCIE_DW_PLAT_HOST
55 bool "Platform bus based DesignWare PCIe Controller - Host mode"
56 depends on PCI_MSI_IRQ_DOMAIN
60 Enables support for the PCIe controller in the Designware IP to
61 work in host mode. There are two instances of PCIe controller in
63 This controller can work either as EP or RC. In order to enable
64 host-specific features PCIE_DW_PLAT_HOST must be selected and in
65 order to enable device-specific features PCI_DW_PLAT_EP must be
68 config PCIE_DW_PLAT_EP
69 bool "Platform bus based DesignWare PCIe Controller - Endpoint mode"
70 depends on PCI && PCI_MSI_IRQ_DOMAIN
71 depends on PCI_ENDPOINT
75 Enables support for the PCIe controller in the Designware IP to
76 work in endpoint mode. There are two instances of PCIe controller
78 This controller can work either as EP or RC. In order to enable
79 host-specific features PCIE_DW_PLAT_HOST must be selected and in
80 order to enable device-specific features PCI_DW_PLAT_EP must be
84 tristate "Samsung Exynos PCIe controller"
85 depends on ARCH_EXYNOS || COMPILE_TEST
86 depends on PCI_MSI_IRQ_DOMAIN
89 Enables support for the PCIe controller in the Samsung Exynos SoCs
90 to work in host mode. The PCI controller is based on the DesignWare
91 hardware and therefore the driver re-uses the DesignWare core
92 functions to implement the driver.
95 bool "Freescale i.MX6/7/8 PCIe controller"
96 depends on ARCH_MXC || COMPILE_TEST
97 depends on PCI_MSI_IRQ_DOMAIN
100 config PCIE_SPEAR13XX
101 bool "STMicroelectronics SPEAr PCIe controller"
102 depends on ARCH_SPEAR13XX || COMPILE_TEST
103 depends on PCI_MSI_IRQ_DOMAIN
106 Say Y here if you want PCIe support on SPEAr13XX SoCs.
111 config PCI_KEYSTONE_HOST
112 bool "PCI Keystone Host Mode"
113 depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
114 depends on PCI_MSI_IRQ_DOMAIN
118 Enables support for the PCIe controller in the Keystone SoC to
119 work in host mode. The PCI controller on Keystone is based on
120 DesignWare hardware and therefore the driver re-uses the
121 DesignWare core functions to implement the driver.
123 config PCI_KEYSTONE_EP
124 bool "PCI Keystone Endpoint Mode"
125 depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
126 depends on PCI_ENDPOINT
130 Enables support for the PCIe controller in the Keystone SoC to
131 work in endpoint mode. The PCI controller on Keystone is based
132 on DesignWare hardware and therefore the driver re-uses the
133 DesignWare core functions to implement the driver.
135 config PCI_LAYERSCAPE
136 bool "Freescale Layerscape PCIe controller - Host mode"
137 depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
138 depends on PCI_MSI_IRQ_DOMAIN
142 Say Y here if you want to enable PCIe controller support on Layerscape
143 SoCs to work in Host mode.
144 This controller can work either as EP or RC. The RCW[HOST_AGT_PEX]
145 determines which PCIe controller works in EP mode and which PCIe
146 controller works in RC mode.
148 config PCI_LAYERSCAPE_EP
149 bool "Freescale Layerscape PCIe controller - Endpoint mode"
150 depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
151 depends on PCI_ENDPOINT
154 Say Y here if you want to enable PCIe controller support on Layerscape
155 SoCs to work in Endpoint mode.
156 This controller can work either as EP or RC. The RCW[HOST_AGT_PEX]
157 determines which PCIe controller works in EP mode and which PCIe
158 controller works in RC mode.
161 depends on OF && (ARM64 || COMPILE_TEST)
162 bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
163 depends on PCI_MSI_IRQ_DOMAIN
165 select PCI_HOST_COMMON
167 Say Y here if you want PCIe controller support on HiSilicon
171 bool "Qualcomm PCIe controller"
172 depends on OF && (ARCH_QCOM || COMPILE_TEST)
173 depends on PCI_MSI_IRQ_DOMAIN
177 Say Y here to enable PCIe controller support on Qualcomm SoCs. The
178 PCIe controller uses the DesignWare core plus Qualcomm-specific
182 tristate "Qualcomm PCIe controller - Endpoint mode"
183 depends on OF && (ARCH_QCOM || COMPILE_TEST)
184 depends on PCI_ENDPOINT
187 Say Y here to enable support for the PCIe controllers on Qualcomm SoCs
188 to work in endpoint mode. The PCIe controller uses the DesignWare core
189 plus Qualcomm-specific hardware wrappers.
191 config PCIE_ARMADA_8K
192 bool "Marvell Armada-8K PCIe controller"
193 depends on ARCH_MVEBU || COMPILE_TEST
194 depends on PCI_MSI_IRQ_DOMAIN
197 Say Y here if you want to enable PCIe controller support on
198 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
199 DesignWare hardware and therefore the driver re-uses the
200 DesignWare core functions to implement the driver.
205 config PCIE_ARTPEC6_HOST
206 bool "Axis ARTPEC-6 PCIe controller Host Mode"
207 depends on MACH_ARTPEC6 || COMPILE_TEST
208 depends on PCI_MSI_IRQ_DOMAIN
212 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
213 host mode. This uses the DesignWare core.
215 config PCIE_ARTPEC6_EP
216 bool "Axis ARTPEC-6 PCIe controller Endpoint Mode"
217 depends on MACH_ARTPEC6 || COMPILE_TEST
218 depends on PCI_ENDPOINT
222 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
223 endpoint mode. This uses the DesignWare core.
225 config PCIE_ROCKCHIP_DW_HOST
226 bool "Rockchip DesignWare PCIe controller"
229 depends on PCI_MSI_IRQ_DOMAIN
230 depends on ARCH_ROCKCHIP || COMPILE_TEST
233 Enables support for the DesignWare PCIe controller in the
234 Rockchip SoC except RK3399.
237 bool "Intel Gateway PCIe host controller support"
238 depends on OF && (X86 || COMPILE_TEST)
239 depends on PCI_MSI_IRQ_DOMAIN
242 Say 'Y' here to enable PCIe Host controller support on Intel
244 The PCIe controller uses the DesignWare core plus Intel-specific
250 config PCIE_KEEMBAY_HOST
251 bool "Intel Keem Bay PCIe controller - Host mode"
252 depends on ARCH_KEEMBAY || COMPILE_TEST
253 depends on PCI && PCI_MSI_IRQ_DOMAIN
257 Say 'Y' here to enable support for the PCIe controller in Keem Bay
258 to work in host mode.
259 The PCIe controller is based on DesignWare Hardware and uses
260 DesignWare core functions.
262 config PCIE_KEEMBAY_EP
263 bool "Intel Keem Bay PCIe controller - Endpoint mode"
264 depends on ARCH_KEEMBAY || COMPILE_TEST
265 depends on PCI && PCI_MSI_IRQ_DOMAIN
266 depends on PCI_ENDPOINT
270 Say 'Y' here to enable support for the PCIe controller in Keem Bay
271 to work in endpoint mode.
272 The PCIe controller is based on DesignWare Hardware and uses
273 DesignWare core functions.
276 depends on OF && (ARM64 || COMPILE_TEST)
277 tristate "HiSilicon Kirin series SoCs PCIe controllers"
278 depends on PCI_MSI_IRQ_DOMAIN
281 Say Y here if you want PCIe controller support
282 on HiSilicon Kirin series SoCs.
285 bool "HiSilicon STB SoCs PCIe controllers"
286 depends on ARCH_HISI || COMPILE_TEST
287 depends on PCI_MSI_IRQ_DOMAIN
290 Say Y here if you want PCIe controller support on HiSilicon STB SoCs
293 tristate "MESON PCIe controller"
294 default m if ARCH_MESON
295 depends on PCI_MSI_IRQ_DOMAIN
298 Say Y here if you want to enable PCI controller support on Amlogic
299 SoCs. The PCI controller on Amlogic is based on DesignWare hardware
300 and therefore the driver re-uses the DesignWare core functions to
301 implement the driver.
306 config PCIE_TEGRA194_HOST
307 tristate "NVIDIA Tegra194 (and later) PCIe controller - Host Mode"
308 depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
309 depends on PCI_MSI_IRQ_DOMAIN
311 select PHY_TEGRA194_P2U
314 Enables support for the PCIe controller in the NVIDIA Tegra194 SoC to
315 work in host mode. There are two instances of PCIe controllers in
316 Tegra194. This controller can work either as EP or RC. In order to
317 enable host-specific features PCIE_TEGRA194_HOST must be selected and
318 in order to enable device-specific features PCIE_TEGRA194_EP must be
319 selected. This uses the DesignWare core.
321 config PCIE_TEGRA194_EP
322 tristate "NVIDIA Tegra194 (and later) PCIe controller - Endpoint Mode"
323 depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
324 depends on PCI_ENDPOINT
326 select PHY_TEGRA194_P2U
329 Enables support for the PCIe controller in the NVIDIA Tegra194 SoC to
330 work in endpoint mode. There are two instances of PCIe controllers in
331 Tegra194. This controller can work either as EP or RC. In order to
332 enable host-specific features PCIE_TEGRA194_HOST must be selected and
333 in order to enable device-specific features PCIE_TEGRA194_EP must be
334 selected. This uses the DesignWare core.
336 config PCIE_VISCONTI_HOST
337 bool "Toshiba Visconti PCIe controllers"
338 depends on ARCH_VISCONTI || COMPILE_TEST
339 depends on PCI_MSI_IRQ_DOMAIN
342 Say Y here if you want PCIe controller support on Toshiba Visconti SoC.
343 This driver supports TMPV7708 SoC.
346 bool "Socionext UniPhier PCIe host controllers"
347 depends on ARCH_UNIPHIER || COMPILE_TEST
348 depends on OF && HAS_IOMEM
349 depends on PCI_MSI_IRQ_DOMAIN
352 Say Y here if you want PCIe host controller support on UniPhier SoCs.
353 This driver supports LD20 and PXs3 SoCs.
355 config PCIE_UNIPHIER_EP
356 bool "Socionext UniPhier PCIe endpoint controllers"
357 depends on ARCH_UNIPHIER || COMPILE_TEST
358 depends on OF && HAS_IOMEM
359 depends on PCI_ENDPOINT
362 Say Y here if you want PCIe endpoint controller support on
363 UniPhier SoCs. This driver supports Pro5 SoC.
366 bool "Amazon Annapurna Labs PCIe controller"
367 depends on OF && (ARM64 || COMPILE_TEST)
368 depends on PCI_MSI_IRQ_DOMAIN
372 Say Y here to enable support of the Amazon's Annapurna Labs PCIe
373 controller IP on Amazon SoCs. The PCIe controller uses the DesignWare
374 core plus Annapurna Labs proprietary hardware wrappers. This is
375 required only for DT-based platforms. ACPI platforms with the
376 Annapurna Labs PCIe controller don't need to enable this.
379 bool "SiFive FU740 PCIe host controller"
380 depends on PCI_MSI_IRQ_DOMAIN
381 depends on SOC_SIFIVE || COMPILE_TEST
384 Say Y here if you want PCIe controller support for the SiFive