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