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