18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_cimenu "DesignWare PCI Core Support"
48c2ecf20Sopenharmony_ci	depends on PCI
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig PCIE_DW
78c2ecf20Sopenharmony_ci	bool
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig PCIE_DW_HOST
108c2ecf20Sopenharmony_ci	bool
118c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
128c2ecf20Sopenharmony_ci	select PCIE_DW
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig PCIE_DW_EP
158c2ecf20Sopenharmony_ci	bool
168c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
178c2ecf20Sopenharmony_ci	select PCIE_DW
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig PCI_DRA7XX
208c2ecf20Sopenharmony_ci	bool
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig PCI_DRA7XX_HOST
238c2ecf20Sopenharmony_ci	bool "TI DRA7xx PCIe controller Host Mode"
248c2ecf20Sopenharmony_ci	depends on SOC_DRA7XX || COMPILE_TEST
258c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
268c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM && TI_PIPE3
278c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
288c2ecf20Sopenharmony_ci	select PCI_DRA7XX
298c2ecf20Sopenharmony_ci	default y if SOC_DRA7XX
308c2ecf20Sopenharmony_ci	help
318c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the DRA7xx SoC to work in
328c2ecf20Sopenharmony_ci	  host mode. There are two instances of PCIe controller in DRA7xx.
338c2ecf20Sopenharmony_ci	  This controller can work either as EP or RC. In order to enable
348c2ecf20Sopenharmony_ci	  host-specific features PCI_DRA7XX_HOST must be selected and in order
358c2ecf20Sopenharmony_ci	  to enable device-specific features PCI_DRA7XX_EP must be selected.
368c2ecf20Sopenharmony_ci	  This uses the DesignWare core.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig PCI_DRA7XX_EP
398c2ecf20Sopenharmony_ci	bool "TI DRA7xx PCIe controller Endpoint Mode"
408c2ecf20Sopenharmony_ci	depends on SOC_DRA7XX || COMPILE_TEST
418c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
428c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM && TI_PIPE3
438c2ecf20Sopenharmony_ci	select PCIE_DW_EP
448c2ecf20Sopenharmony_ci	select PCI_DRA7XX
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the DRA7xx SoC to work in
478c2ecf20Sopenharmony_ci	  endpoint mode. There are two instances of PCIe controller in DRA7xx.
488c2ecf20Sopenharmony_ci	  This controller can work either as EP or RC. In order to enable
498c2ecf20Sopenharmony_ci	  host-specific features PCI_DRA7XX_HOST must be selected and in order
508c2ecf20Sopenharmony_ci	  to enable device-specific features PCI_DRA7XX_EP must be selected.
518c2ecf20Sopenharmony_ci	  This uses the DesignWare core.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciconfig PCIE_DW_PLAT
548c2ecf20Sopenharmony_ci	bool
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig PCIE_DW_PLAT_HOST
578c2ecf20Sopenharmony_ci	bool "Platform bus based DesignWare PCIe Controller - Host mode"
588c2ecf20Sopenharmony_ci	depends on PCI && PCI_MSI_IRQ_DOMAIN
598c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
608c2ecf20Sopenharmony_ci	select PCIE_DW_PLAT
618c2ecf20Sopenharmony_ci	help
628c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the Designware IP to
638c2ecf20Sopenharmony_ci	  work in host mode. There are two instances of PCIe controller in
648c2ecf20Sopenharmony_ci	  Designware IP.
658c2ecf20Sopenharmony_ci	  This controller can work either as EP or RC. In order to enable
668c2ecf20Sopenharmony_ci	  host-specific features PCIE_DW_PLAT_HOST must be selected and in
678c2ecf20Sopenharmony_ci	  order to enable device-specific features PCI_DW_PLAT_EP must be
688c2ecf20Sopenharmony_ci	  selected.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciconfig PCIE_DW_PLAT_EP
718c2ecf20Sopenharmony_ci	bool "Platform bus based DesignWare PCIe Controller - Endpoint mode"
728c2ecf20Sopenharmony_ci	depends on PCI && PCI_MSI_IRQ_DOMAIN
738c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
748c2ecf20Sopenharmony_ci	select PCIE_DW_EP
758c2ecf20Sopenharmony_ci	select PCIE_DW_PLAT
768c2ecf20Sopenharmony_ci	help
778c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the Designware IP to
788c2ecf20Sopenharmony_ci	  work in endpoint mode. There are two instances of PCIe controller
798c2ecf20Sopenharmony_ci	  in Designware IP.
808c2ecf20Sopenharmony_ci	  This controller can work either as EP or RC. In order to enable
818c2ecf20Sopenharmony_ci	  host-specific features PCIE_DW_PLAT_HOST must be selected and in
828c2ecf20Sopenharmony_ci	  order to enable device-specific features PCI_DW_PLAT_EP must be
838c2ecf20Sopenharmony_ci	  selected.
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ciconfig PCI_EXYNOS
868c2ecf20Sopenharmony_ci	bool "Samsung Exynos PCIe controller"
878c2ecf20Sopenharmony_ci	depends on SOC_EXYNOS5440 || COMPILE_TEST
888c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
898c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ciconfig PCI_IMX6
928c2ecf20Sopenharmony_ci	bool "Freescale i.MX6/7/8 PCIe controller"
938c2ecf20Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
948c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
958c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
968c2ecf20Sopenharmony_ci
978c2ecf20Sopenharmony_ciconfig PCIE_SPEAR13XX
988c2ecf20Sopenharmony_ci	bool "STMicroelectronics SPEAr PCIe controller"
998c2ecf20Sopenharmony_ci	depends on ARCH_SPEAR13XX || COMPILE_TEST
1008c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1018c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1028c2ecf20Sopenharmony_ci	help
1038c2ecf20Sopenharmony_ci	  Say Y here if you want PCIe support on SPEAr13XX SoCs.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ciconfig PCI_KEYSTONE
1068c2ecf20Sopenharmony_ci	bool
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ciconfig PCI_KEYSTONE_HOST
1098c2ecf20Sopenharmony_ci	bool "PCI Keystone Host Mode"
1108c2ecf20Sopenharmony_ci	depends on ARCH_KEYSTONE || ARCH_K3 || ((ARM || ARM64) && COMPILE_TEST)
1118c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1128c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1138c2ecf20Sopenharmony_ci	select PCI_KEYSTONE
1148c2ecf20Sopenharmony_ci	help
1158c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the Keystone SoC to
1168c2ecf20Sopenharmony_ci	  work in host mode. The PCI controller on Keystone is based on
1178c2ecf20Sopenharmony_ci	  DesignWare hardware and therefore the driver re-uses the
1188c2ecf20Sopenharmony_ci	  DesignWare core functions to implement the driver.
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig PCI_KEYSTONE_EP
1218c2ecf20Sopenharmony_ci	bool "PCI Keystone Endpoint Mode"
1228c2ecf20Sopenharmony_ci	depends on ARCH_KEYSTONE || ARCH_K3 || ((ARM || ARM64) && COMPILE_TEST)
1238c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
1248c2ecf20Sopenharmony_ci	select PCIE_DW_EP
1258c2ecf20Sopenharmony_ci	select PCI_KEYSTONE
1268c2ecf20Sopenharmony_ci	help
1278c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the Keystone SoC to
1288c2ecf20Sopenharmony_ci	  work in endpoint mode. The PCI controller on Keystone is based
1298c2ecf20Sopenharmony_ci	  on DesignWare hardware and therefore the driver re-uses the
1308c2ecf20Sopenharmony_ci	  DesignWare core functions to implement the driver.
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ciconfig PCI_LAYERSCAPE
1338c2ecf20Sopenharmony_ci	bool "Freescale Layerscape PCIe controller - Host mode"
1348c2ecf20Sopenharmony_ci	depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
1358c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1368c2ecf20Sopenharmony_ci	select MFD_SYSCON
1378c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1388c2ecf20Sopenharmony_ci	help
1398c2ecf20Sopenharmony_ci	  Say Y here if you want to enable PCIe controller support on Layerscape
1408c2ecf20Sopenharmony_ci	  SoCs to work in Host mode.
1418c2ecf20Sopenharmony_ci	  This controller can work either as EP or RC. The RCW[HOST_AGT_PEX]
1428c2ecf20Sopenharmony_ci	  determines which PCIe controller works in EP mode and which PCIe
1438c2ecf20Sopenharmony_ci	  controller works in RC mode.
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ciconfig PCI_LAYERSCAPE_EP
1468c2ecf20Sopenharmony_ci	bool "Freescale Layerscape PCIe controller - Endpoint mode"
1478c2ecf20Sopenharmony_ci	depends on OF && (ARM || ARCH_LAYERSCAPE || COMPILE_TEST)
1488c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
1498c2ecf20Sopenharmony_ci	select PCIE_DW_EP
1508c2ecf20Sopenharmony_ci	help
1518c2ecf20Sopenharmony_ci	  Say Y here if you want to enable PCIe controller support on Layerscape
1528c2ecf20Sopenharmony_ci	  SoCs to work in Endpoint mode.
1538c2ecf20Sopenharmony_ci	  This controller can work either as EP or RC. The RCW[HOST_AGT_PEX]
1548c2ecf20Sopenharmony_ci	  determines which PCIe controller works in EP mode and which PCIe
1558c2ecf20Sopenharmony_ci	  controller works in RC mode.
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_ciconfig PCI_HISI
1588c2ecf20Sopenharmony_ci	depends on OF && (ARM64 || COMPILE_TEST)
1598c2ecf20Sopenharmony_ci	bool "HiSilicon Hip05 and Hip06 SoCs PCIe controllers"
1608c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1618c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1628c2ecf20Sopenharmony_ci	select PCI_HOST_COMMON
1638c2ecf20Sopenharmony_ci	help
1648c2ecf20Sopenharmony_ci	  Say Y here if you want PCIe controller support on HiSilicon
1658c2ecf20Sopenharmony_ci	  Hip05 and Hip06 SoCs
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ciconfig PCIE_QCOM
1688c2ecf20Sopenharmony_ci	bool "Qualcomm PCIe controller"
1698c2ecf20Sopenharmony_ci	depends on OF && (ARCH_QCOM || COMPILE_TEST)
1708c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1718c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1728c2ecf20Sopenharmony_ci	help
1738c2ecf20Sopenharmony_ci	  Say Y here to enable PCIe controller support on Qualcomm SoCs. The
1748c2ecf20Sopenharmony_ci	  PCIe controller uses the DesignWare core plus Qualcomm-specific
1758c2ecf20Sopenharmony_ci	  hardware wrappers.
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ciconfig PCIE_ARMADA_8K
1788c2ecf20Sopenharmony_ci	bool "Marvell Armada-8K PCIe controller"
1798c2ecf20Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
1808c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1818c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1828c2ecf20Sopenharmony_ci	help
1838c2ecf20Sopenharmony_ci	  Say Y here if you want to enable PCIe controller support on
1848c2ecf20Sopenharmony_ci	  Armada-8K SoCs. The PCIe controller on Armada-8K is based on
1858c2ecf20Sopenharmony_ci	  DesignWare hardware and therefore the driver re-uses the
1868c2ecf20Sopenharmony_ci	  DesignWare core functions to implement the driver.
1878c2ecf20Sopenharmony_ci
1888c2ecf20Sopenharmony_ciconfig PCIE_ARTPEC6
1898c2ecf20Sopenharmony_ci	bool
1908c2ecf20Sopenharmony_ci
1918c2ecf20Sopenharmony_ciconfig PCIE_ARTPEC6_HOST
1928c2ecf20Sopenharmony_ci	bool "Axis ARTPEC-6 PCIe controller Host Mode"
1938c2ecf20Sopenharmony_ci	depends on MACH_ARTPEC6 || COMPILE_TEST
1948c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
1958c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
1968c2ecf20Sopenharmony_ci	select PCIE_ARTPEC6
1978c2ecf20Sopenharmony_ci	help
1988c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
1998c2ecf20Sopenharmony_ci	  host mode. This uses the DesignWare core.
2008c2ecf20Sopenharmony_ci
2018c2ecf20Sopenharmony_ciconfig PCIE_ARTPEC6_EP
2028c2ecf20Sopenharmony_ci	bool "Axis ARTPEC-6 PCIe controller Endpoint Mode"
2038c2ecf20Sopenharmony_ci	depends on MACH_ARTPEC6 || COMPILE_TEST
2048c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
2058c2ecf20Sopenharmony_ci	select PCIE_DW_EP
2068c2ecf20Sopenharmony_ci	select PCIE_ARTPEC6
2078c2ecf20Sopenharmony_ci	help
2088c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
2098c2ecf20Sopenharmony_ci	  endpoint mode. This uses the DesignWare core.
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_ciconfig PCIE_INTEL_GW
2128c2ecf20Sopenharmony_ci	bool "Intel Gateway PCIe host controller support"
2138c2ecf20Sopenharmony_ci	depends on OF && (X86 || COMPILE_TEST)
2148c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
2158c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
2168c2ecf20Sopenharmony_ci	help
2178c2ecf20Sopenharmony_ci	  Say 'Y' here to enable PCIe Host controller support on Intel
2188c2ecf20Sopenharmony_ci	  Gateway SoCs.
2198c2ecf20Sopenharmony_ci	  The PCIe controller uses the DesignWare core plus Intel-specific
2208c2ecf20Sopenharmony_ci	  hardware wrappers.
2218c2ecf20Sopenharmony_ci
2228c2ecf20Sopenharmony_ciconfig PCIE_KIRIN
2238c2ecf20Sopenharmony_ci	depends on OF && (ARM64 || COMPILE_TEST)
2248c2ecf20Sopenharmony_ci	bool "HiSilicon Kirin series SoCs PCIe controllers"
2258c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
2268c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
2278c2ecf20Sopenharmony_ci	help
2288c2ecf20Sopenharmony_ci	  Say Y here if you want PCIe controller support
2298c2ecf20Sopenharmony_ci	  on HiSilicon Kirin series SoCs.
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ciconfig PCIE_HISI_STB
2328c2ecf20Sopenharmony_ci	bool "HiSilicon STB SoCs PCIe controllers"
2338c2ecf20Sopenharmony_ci	depends on ARCH_HISI || COMPILE_TEST
2348c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
2358c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
2368c2ecf20Sopenharmony_ci	help
2378c2ecf20Sopenharmony_ci	  Say Y here if you want PCIe controller support on HiSilicon STB SoCs
2388c2ecf20Sopenharmony_ci
2398c2ecf20Sopenharmony_ciconfig PCI_MESON
2408c2ecf20Sopenharmony_ci	tristate "MESON PCIe controller"
2418c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
2428c2ecf20Sopenharmony_ci	default m if ARCH_MESON
2438c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
2448c2ecf20Sopenharmony_ci	help
2458c2ecf20Sopenharmony_ci	  Say Y here if you want to enable PCI controller support on Amlogic
2468c2ecf20Sopenharmony_ci	  SoCs. The PCI controller on Amlogic is based on DesignWare hardware
2478c2ecf20Sopenharmony_ci	  and therefore the driver re-uses the DesignWare core functions to
2488c2ecf20Sopenharmony_ci	  implement the driver.
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ciconfig PCIE_TEGRA194
2518c2ecf20Sopenharmony_ci	tristate
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_ciconfig PCIE_TEGRA194_HOST
2548c2ecf20Sopenharmony_ci	tristate "NVIDIA Tegra194 (and later) PCIe controller - Host Mode"
2558c2ecf20Sopenharmony_ci	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
2568c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
2578c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
2588c2ecf20Sopenharmony_ci	select PHY_TEGRA194_P2U
2598c2ecf20Sopenharmony_ci	select PCIE_TEGRA194
2608c2ecf20Sopenharmony_ci	help
2618c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the NVIDIA Tegra194 SoC to
2628c2ecf20Sopenharmony_ci	  work in host mode. There are two instances of PCIe controllers in
2638c2ecf20Sopenharmony_ci	  Tegra194. This controller can work either as EP or RC. In order to
2648c2ecf20Sopenharmony_ci	  enable host-specific features PCIE_TEGRA194_HOST must be selected and
2658c2ecf20Sopenharmony_ci	  in order to enable device-specific features PCIE_TEGRA194_EP must be
2668c2ecf20Sopenharmony_ci	  selected. This uses the DesignWare core.
2678c2ecf20Sopenharmony_ci
2688c2ecf20Sopenharmony_ciconfig PCIE_TEGRA194_EP
2698c2ecf20Sopenharmony_ci	tristate "NVIDIA Tegra194 (and later) PCIe controller - Endpoint Mode"
2708c2ecf20Sopenharmony_ci	depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
2718c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
2728c2ecf20Sopenharmony_ci	select PCIE_DW_EP
2738c2ecf20Sopenharmony_ci	select PHY_TEGRA194_P2U
2748c2ecf20Sopenharmony_ci	select PCIE_TEGRA194
2758c2ecf20Sopenharmony_ci	help
2768c2ecf20Sopenharmony_ci	  Enables support for the PCIe controller in the NVIDIA Tegra194 SoC to
2778c2ecf20Sopenharmony_ci	  work in host mode. There are two instances of PCIe controllers in
2788c2ecf20Sopenharmony_ci	  Tegra194. This controller can work either as EP or RC. In order to
2798c2ecf20Sopenharmony_ci	  enable host-specific features PCIE_TEGRA194_HOST must be selected and
2808c2ecf20Sopenharmony_ci	  in order to enable device-specific features PCIE_TEGRA194_EP must be
2818c2ecf20Sopenharmony_ci	  selected. This uses the DesignWare core.
2828c2ecf20Sopenharmony_ci
2838c2ecf20Sopenharmony_ciconfig PCIE_UNIPHIER
2848c2ecf20Sopenharmony_ci	bool "Socionext UniPhier PCIe host controllers"
2858c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
2868c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
2878c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
2888c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
2898c2ecf20Sopenharmony_ci	help
2908c2ecf20Sopenharmony_ci	  Say Y here if you want PCIe host controller support on UniPhier SoCs.
2918c2ecf20Sopenharmony_ci	  This driver supports LD20 and PXs3 SoCs.
2928c2ecf20Sopenharmony_ci
2938c2ecf20Sopenharmony_ciconfig PCIE_UNIPHIER_EP
2948c2ecf20Sopenharmony_ci	bool "Socionext UniPhier PCIe endpoint controllers"
2958c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
2968c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
2978c2ecf20Sopenharmony_ci	depends on PCI_ENDPOINT
2988c2ecf20Sopenharmony_ci	select PCIE_DW_EP
2998c2ecf20Sopenharmony_ci	help
3008c2ecf20Sopenharmony_ci	  Say Y here if you want PCIe endpoint controller support on
3018c2ecf20Sopenharmony_ci	  UniPhier SoCs. This driver supports Pro5 SoC.
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ciconfig PCIE_AL
3048c2ecf20Sopenharmony_ci	bool "Amazon Annapurna Labs PCIe controller"
3058c2ecf20Sopenharmony_ci	depends on OF && (ARM64 || COMPILE_TEST)
3068c2ecf20Sopenharmony_ci	depends on PCI_MSI_IRQ_DOMAIN
3078c2ecf20Sopenharmony_ci	select PCIE_DW_HOST
3088c2ecf20Sopenharmony_ci	help
3098c2ecf20Sopenharmony_ci	  Say Y here to enable support of the Amazon's Annapurna Labs PCIe
3108c2ecf20Sopenharmony_ci	  controller IP on Amazon SoCs. The PCIe controller uses the DesignWare
3118c2ecf20Sopenharmony_ci	  core plus Annapurna Labs proprietary hardware wrappers. This is
3128c2ecf20Sopenharmony_ci	  required only for DT-based platforms. ACPI platforms with the
3138c2ecf20Sopenharmony_ci	  Annapurna Labs PCIe controller don't need to enable this.
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ciendmenu
316