1 # SPDX-License-Identifier: GPL-2.0
3 menu "DesignWare-based PCIe controllers"
18 bool "Amazon Annapurna Labs PCIe controller"
19 depends on OF && (ARM64 || COMPILE_TEST)
24 Say Y here to enable support of the Amazon's Annapurna Labs PCIe
25 controller IP on Amazon SoCs. The PCIe controller uses the DesignWare
26 core plus Annapurna Labs proprietary hardware wrappers. This is
27 required only for DT-based platforms. ACPI platforms with the
28 Annapurna Labs PCIe controller don't need to enable this.
31 tristate "Amlogic Meson PCIe controller"
32 default m if ARCH_MESON
36 Say Y here if you want to enable PCI controller support on Amlogic
37 SoCs. The PCI controller on Amlogic is based on DesignWare hardware
38 and therefore the driver re-uses the DesignWare core functions to
44 config PCIE_ARTPEC6_HOST
45 bool "Axis ARTPEC-6 PCIe controller (host mode)"
46 depends on MACH_ARTPEC6 || COMPILE_TEST
51 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
52 host mode. This uses the DesignWare core.
54 config PCIE_ARTPEC6_EP
55 bool "Axis ARTPEC-6 PCIe controller (endpoint mode)"
56 depends on MACH_ARTPEC6 || COMPILE_TEST
57 depends on PCI_ENDPOINT
61 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
62 endpoint mode. This uses the DesignWare core.
65 tristate "Baikal-T1 PCIe controller"
66 depends on MIPS_BAIKAL_T1 || COMPILE_TEST
70 Enables support for the PCIe controller in the Baikal-T1 SoC to work
71 in host mode. It's based on the Synopsys DWC PCIe v4.60a IP-core.
77 bool "Freescale i.MX6/7/8 PCIe controller (host mode)"
78 depends on ARCH_MXC || COMPILE_TEST
83 Enables support for the PCIe controller in the i.MX SoCs to
84 work in Root Complex mode. The PCI controller on i.MX is based
85 on DesignWare hardware and therefore the driver re-uses the
86 DesignWare core functions to implement the driver.
89 bool "Freescale i.MX6/7/8 PCIe controller (endpoint mode)"
90 depends on ARCH_MXC || COMPILE_TEST
91 depends on PCI_ENDPOINT
95 Enables support for the PCIe controller in the i.MX SoCs to
96 work in endpoint mode. The PCI controller on i.MX is based
97 on DesignWare hardware and therefore the driver re-uses the
98 DesignWare core functions to implement the driver.
100 config PCI_LAYERSCAPE
101 bool "Freescale Layerscape PCIe controller (host mode)"
102 depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
107 Say Y here if you want to enable PCIe controller support on Layerscape
108 SoCs to work in Host mode.
109 This controller can work either as EP or RC. The RCW[HOST_AGT_PEX]
110 determines which PCIe controller works in EP mode and which PCIe
111 controller works in RC mode.
113 config PCI_LAYERSCAPE_EP
114 bool "Freescale Layerscape PCIe controller (endpoint mode)"
115 depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
116 depends on PCI_ENDPOINT
119 Say Y here if you want to enable PCIe controller support on Layerscape
120 SoCs to work in Endpoint mode.
121 This controller can work either as EP or RC. The RCW[HOST_AGT_PEX]
122 determines which PCIe controller works in EP mode and which PCIe
123 controller works in RC mode.
126 depends on OF && (ARM64 || COMPILE_TEST)
127 bool "HiSilicon Hip05 and Hip06 SoCs PCIe controller"
130 select PCI_HOST_COMMON
132 Say Y here if you want PCIe controller support on HiSilicon
136 depends on OF && (ARM64 || COMPILE_TEST)
137 tristate "HiSilicon Kirin PCIe controller"
142 Say Y here if you want PCIe controller support
143 on HiSilicon Kirin series SoCs.
146 bool "HiSilicon STB PCIe controller"
147 depends on ARCH_HISI || COMPILE_TEST
151 Say Y here if you want PCIe controller support on HiSilicon STB SoCs
154 bool "Intel Gateway PCIe controller "
155 depends on OF && (X86 || COMPILE_TEST)
159 Say 'Y' here to enable PCIe Host controller support on Intel
161 The PCIe controller uses the DesignWare core plus Intel-specific
167 config PCIE_KEEMBAY_HOST
168 bool "Intel Keem Bay PCIe controller (host mode)"
169 depends on ARCH_KEEMBAY || COMPILE_TEST
174 Say 'Y' here to enable support for the PCIe controller in Keem Bay
175 to work in host mode.
176 The PCIe controller is based on DesignWare Hardware and uses
177 DesignWare core functions.
179 config PCIE_KEEMBAY_EP
180 bool "Intel Keem Bay PCIe controller (endpoint mode)"
181 depends on ARCH_KEEMBAY || COMPILE_TEST
183 depends on PCI_ENDPOINT
187 Say 'Y' here to enable support for the PCIe controller in Keem Bay
188 to work in endpoint mode.
189 The PCIe controller is based on DesignWare Hardware and uses
190 DesignWare core functions.
192 config PCIE_ARMADA_8K
193 bool "Marvell Armada-8K PCIe controller"
194 depends on ARCH_MVEBU || COMPILE_TEST
198 Say Y here if you want to enable PCIe controller support on
199 Armada-8K SoCs. The PCIe controller on Armada-8K is based on
200 DesignWare hardware and therefore the driver re-uses the
201 DesignWare core functions to implement the driver.
206 config PCIE_TEGRA194_HOST
207 tristate "NVIDIA Tegra194 (and later) PCIe controller (host mode)"
208 depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
211 select PHY_TEGRA194_P2U
214 Enables support for the PCIe controller in the NVIDIA Tegra194 SoC to
215 work in host mode. There are two instances of PCIe controllers in
216 Tegra194. This controller can work either as EP or RC. In order to
217 enable host-specific features PCIE_TEGRA194_HOST must be selected and
218 in order to enable device-specific features PCIE_TEGRA194_EP must be
219 selected. This uses the DesignWare core.
221 config PCIE_TEGRA194_EP
222 tristate "NVIDIA Tegra194 (and later) PCIe controller (endpoint mode)"
223 depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
224 depends on PCI_ENDPOINT
226 select PHY_TEGRA194_P2U
229 Enables support for the PCIe controller in the NVIDIA Tegra194 SoC to
230 work in endpoint mode. There are two instances of PCIe controllers in
231 Tegra194. This controller can work either as EP or RC. In order to
232 enable host-specific features PCIE_TEGRA194_HOST must be selected and
233 in order to enable device-specific features PCIE_TEGRA194_EP must be
234 selected. This uses the DesignWare core.
239 config PCIE_DW_PLAT_HOST
240 bool "Platform bus based DesignWare PCIe controller (host mode)"
245 Enables support for the PCIe controller in the Designware IP to
246 work in host mode. There are two instances of PCIe controller in
248 This controller can work either as EP or RC. In order to enable
249 host-specific features PCIE_DW_PLAT_HOST must be selected and in
250 order to enable device-specific features PCI_DW_PLAT_EP must be
253 config PCIE_DW_PLAT_EP
254 bool "Platform bus based DesignWare PCIe controller (endpoint mode)"
255 depends on PCI && PCI_MSI
256 depends on PCI_ENDPOINT
260 Enables support for the PCIe controller in the Designware IP to
261 work in endpoint mode. There are two instances of PCIe controller
263 This controller can work either as EP or RC. In order to enable
264 host-specific features PCIE_DW_PLAT_HOST must be selected and in
265 order to enable device-specific features PCI_DW_PLAT_EP must be
268 config PCIE_QCOM_COMMON
272 bool "Qualcomm PCIe controller (host mode)"
273 depends on OF && (ARCH_QCOM || COMPILE_TEST)
277 select PCIE_QCOM_COMMON
279 Say Y here to enable PCIe controller support on Qualcomm SoCs. The
280 PCIe controller uses the DesignWare core plus Qualcomm-specific
284 tristate "Qualcomm PCIe controller (endpoint mode)"
285 depends on OF && (ARCH_QCOM || COMPILE_TEST)
286 depends on PCI_ENDPOINT
288 select PCIE_QCOM_COMMON
290 Say Y here to enable support for the PCIe controllers on Qualcomm SoCs
291 to work in endpoint mode. The PCIe controller uses the DesignWare core
292 plus Qualcomm-specific hardware wrappers.
294 config PCIE_RCAR_GEN4
297 config PCIE_RCAR_GEN4_HOST
298 tristate "Renesas R-Car Gen4 PCIe controller (host mode)"
299 depends on ARCH_RENESAS || COMPILE_TEST
302 select PCIE_RCAR_GEN4
304 Say Y here if you want PCIe controller (host mode) on R-Car Gen4 SoCs.
305 To compile this driver as a module, choose M here: the module will be
306 called pcie-rcar-gen4.ko. This uses the DesignWare core.
308 config PCIE_RCAR_GEN4_EP
309 tristate "Renesas R-Car Gen4 PCIe controller (endpoint mode)"
310 depends on ARCH_RENESAS || COMPILE_TEST
311 depends on PCI_ENDPOINT
313 select PCIE_RCAR_GEN4
315 Say Y here if you want PCIe controller (endpoint mode) on R-Car Gen4
316 SoCs. To compile this driver as a module, choose M here: the module
317 will be called pcie-rcar-gen4.ko. This uses the DesignWare core.
319 config PCIE_ROCKCHIP_DW
322 config PCIE_ROCKCHIP_DW_HOST
323 bool "Rockchip DesignWare PCIe controller (host mode)"
325 depends on ARCH_ROCKCHIP || COMPILE_TEST
328 select PCIE_ROCKCHIP_DW
330 Enables support for the DesignWare PCIe controller in the
331 Rockchip SoC (except RK3399) to work in host mode.
333 config PCIE_ROCKCHIP_DW_EP
334 bool "Rockchip DesignWare PCIe controller (endpoint mode)"
335 depends on ARCH_ROCKCHIP || COMPILE_TEST
337 depends on PCI_ENDPOINT
339 select PCIE_ROCKCHIP_DW
341 Enables support for the DesignWare PCIe controller in the
342 Rockchip SoC (except RK3399) to work in endpoint mode.
345 tristate "Samsung Exynos PCIe controller"
346 depends on ARCH_EXYNOS || COMPILE_TEST
350 Enables support for the PCIe controller in the Samsung Exynos SoCs
351 to work in host mode. The PCI controller is based on the DesignWare
352 hardware and therefore the driver re-uses the DesignWare core
353 functions to implement the driver.
356 bool "SiFive FU740 PCIe controller"
358 depends on ARCH_SIFIVE || COMPILE_TEST
361 Say Y here if you want PCIe controller support for the SiFive
365 bool "Socionext UniPhier PCIe controller (host mode)"
366 depends on ARCH_UNIPHIER || COMPILE_TEST
367 depends on OF && HAS_IOMEM
371 Say Y here if you want PCIe host controller support on UniPhier SoCs.
372 This driver supports LD20 and PXs3 SoCs.
374 config PCIE_UNIPHIER_EP
375 bool "Socionext UniPhier PCIe controller (endpoint mode)"
376 depends on ARCH_UNIPHIER || COMPILE_TEST
377 depends on OF && HAS_IOMEM
378 depends on PCI_ENDPOINT
381 Say Y here if you want PCIe endpoint controller support on
382 UniPhier SoCs. This driver supports Pro5 SoC.
384 config PCIE_SPEAR13XX
385 bool "STMicroelectronics SPEAr PCIe controller"
386 depends on ARCH_SPEAR13XX || COMPILE_TEST
390 Say Y here if you want PCIe support on SPEAr13XX SoCs.
395 config PCI_DRA7XX_HOST
396 tristate "TI DRA7xx PCIe controller (host mode)"
397 depends on SOC_DRA7XX || COMPILE_TEST
398 depends on OF && HAS_IOMEM && TI_PIPE3
402 default y if SOC_DRA7XX
404 Enables support for the PCIe controller in the DRA7xx SoC to work in
405 host mode. There are two instances of PCIe controller in DRA7xx.
406 This controller can work either as EP or RC. In order to enable
407 host-specific features PCI_DRA7XX_HOST must be selected and in order
408 to enable device-specific features PCI_DRA7XX_EP must be selected.
409 This uses the DesignWare core.
412 tristate "TI DRA7xx PCIe controller (endpoint mode)"
413 depends on SOC_DRA7XX || COMPILE_TEST
414 depends on OF && HAS_IOMEM && TI_PIPE3
415 depends on PCI_ENDPOINT
419 Enables support for the PCIe controller in the DRA7xx SoC to work in
420 endpoint mode. There are two instances of PCIe controller in DRA7xx.
421 This controller can work either as EP or RC. In order to enable
422 host-specific features PCI_DRA7XX_HOST must be selected and in order
423 to enable device-specific features PCI_DRA7XX_EP must be selected.
424 This uses the DesignWare core.
429 config PCI_KEYSTONE_HOST
430 bool "TI Keystone PCIe controller (host mode)"
431 depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
436 Enables support for the PCIe controller in the Keystone SoC to
437 work in host mode. The PCI controller on Keystone is based on
438 DesignWare hardware and therefore the driver re-uses the
439 DesignWare core functions to implement the driver.
441 config PCI_KEYSTONE_EP
442 bool "TI Keystone PCIe controller (endpoint mode)"
443 depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
444 depends on PCI_ENDPOINT
448 Enables support for the PCIe controller in the Keystone SoC to
449 work in endpoint mode. The PCI controller on Keystone is based
450 on DesignWare hardware and therefore the driver re-uses the
451 DesignWare core functions to implement the driver.
453 config PCIE_VISCONTI_HOST
454 bool "Toshiba Visconti PCIe controller"
455 depends on ARCH_VISCONTI || COMPILE_TEST
459 Say Y here if you want PCIe controller support on Toshiba Visconti SoC.
460 This driver supports TMPV7708 SoC.