^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) menu "Cadence PCIe controllers support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config PCIE_CADENCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) config PCIE_CADENCE_HOST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select IRQ_DOMAIN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select PCIE_CADENCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) config PCIE_CADENCE_EP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) depends on PCI_ENDPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select PCIE_CADENCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) config PCIE_CADENCE_PLAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) config PCIE_CADENCE_PLAT_HOST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) bool "Cadence PCIe platform host controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select PCIE_CADENCE_HOST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) select PCIE_CADENCE_PLAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Say Y here if you want to support the Cadence PCIe platform controller in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) host mode. This PCIe controller may be embedded into many different
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) vendors SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) config PCIE_CADENCE_PLAT_EP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) bool "Cadence PCIe platform endpoint controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) depends on PCI_ENDPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) select PCIE_CADENCE_EP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) select PCIE_CADENCE_PLAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Say Y here if you want to support the Cadence PCIe platform controller in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) endpoint mode. This PCIe controller may be embedded into many
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) different vendors SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) config PCI_J721E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) config PCI_J721E_HOST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) bool "TI J721E PCIe platform host controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) select PCIE_CADENCE_HOST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) select PCI_J721E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Say Y here if you want to support the TI J721E PCIe platform
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) controller in host mode. TI J721E PCIe controller uses Cadence PCIe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) core.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config PCI_J721E_EP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) bool "TI J721E PCIe platform endpoint controller"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) depends on PCI_ENDPOINT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) select PCIE_CADENCE_EP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) select PCI_J721E
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Say Y here if you want to support the TI J721E PCIe platform
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) core.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) endmenu