162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_cimenu "Cadence-based PCIe controllers"
462306a36Sopenharmony_ci	depends on PCI
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig PCIE_CADENCE
762306a36Sopenharmony_ci	bool
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig PCIE_CADENCE_HOST
1062306a36Sopenharmony_ci	bool
1162306a36Sopenharmony_ci	depends on OF
1262306a36Sopenharmony_ci	select IRQ_DOMAIN
1362306a36Sopenharmony_ci	select PCIE_CADENCE
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig PCIE_CADENCE_EP
1662306a36Sopenharmony_ci	bool
1762306a36Sopenharmony_ci	depends on OF
1862306a36Sopenharmony_ci	depends on PCI_ENDPOINT
1962306a36Sopenharmony_ci	select PCIE_CADENCE
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconfig PCIE_CADENCE_PLAT
2262306a36Sopenharmony_ci	bool
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig PCIE_CADENCE_PLAT_HOST
2562306a36Sopenharmony_ci	bool "Cadence platform PCIe controller (host mode)"
2662306a36Sopenharmony_ci	depends on OF
2762306a36Sopenharmony_ci	select PCIE_CADENCE_HOST
2862306a36Sopenharmony_ci	select PCIE_CADENCE_PLAT
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  Say Y here if you want to support the Cadence PCIe platform controller in
3162306a36Sopenharmony_ci	  host mode. This PCIe controller may be embedded into many different
3262306a36Sopenharmony_ci	  vendors SoCs.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig PCIE_CADENCE_PLAT_EP
3562306a36Sopenharmony_ci	bool "Cadence platform PCIe controller (endpoint mode)"
3662306a36Sopenharmony_ci	depends on OF
3762306a36Sopenharmony_ci	depends on PCI_ENDPOINT
3862306a36Sopenharmony_ci	select PCIE_CADENCE_EP
3962306a36Sopenharmony_ci	select PCIE_CADENCE_PLAT
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  Say Y here if you want to support the Cadence PCIe  platform controller in
4262306a36Sopenharmony_ci	  endpoint mode. This PCIe controller may be embedded into many
4362306a36Sopenharmony_ci	  different vendors SoCs.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig PCI_J721E
4662306a36Sopenharmony_ci	bool
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig PCI_J721E_HOST
4962306a36Sopenharmony_ci	bool "TI J721E PCIe controller (host mode)"
5062306a36Sopenharmony_ci	depends on OF
5162306a36Sopenharmony_ci	select PCIE_CADENCE_HOST
5262306a36Sopenharmony_ci	select PCI_J721E
5362306a36Sopenharmony_ci	help
5462306a36Sopenharmony_ci	  Say Y here if you want to support the TI J721E PCIe platform
5562306a36Sopenharmony_ci	  controller in host mode. TI J721E PCIe controller uses Cadence PCIe
5662306a36Sopenharmony_ci	  core.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig PCI_J721E_EP
5962306a36Sopenharmony_ci	bool "TI J721E PCIe controller (endpoint mode)"
6062306a36Sopenharmony_ci	depends on OF
6162306a36Sopenharmony_ci	depends on PCI_ENDPOINT
6262306a36Sopenharmony_ci	select PCIE_CADENCE_EP
6362306a36Sopenharmony_ci	select PCI_J721E
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Say Y here if you want to support the TI J721E PCIe platform
6662306a36Sopenharmony_ci	  controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
6762306a36Sopenharmony_ci	  core.
6862306a36Sopenharmony_ciendmenu
69