xref: /linux/drivers/pci/controller/cadence/Kconfig (revision 43dfc13ca972988e620a6edb72956981b75ab6b0)
1de80f95cSTom Joseph# SPDX-License-Identifier: GPL-2.0
2de80f95cSTom Joseph
380c170d7SBjorn Helgaasmenu "Cadence-based PCIe controllers"
4de80f95cSTom Joseph	depends on PCI
5de80f95cSTom Joseph
6de80f95cSTom Josephconfig PCIE_CADENCE
7f876904eSKishon Vijay Abraham I	tristate
8de80f95cSTom Joseph
9de80f95cSTom Josephconfig PCIE_CADENCE_HOST
10f876904eSKishon Vijay Abraham I	tristate
11de80f95cSTom Joseph	depends on OF
12de80f95cSTom Joseph	select IRQ_DOMAIN
13de80f95cSTom Joseph	select PCIE_CADENCE
14de80f95cSTom Joseph
15de80f95cSTom Josephconfig PCIE_CADENCE_EP
16f876904eSKishon Vijay Abraham I	tristate
17de80f95cSTom Joseph	depends on OF
18de80f95cSTom Joseph	depends on PCI_ENDPOINT
19de80f95cSTom Joseph	select PCIE_CADENCE
20de80f95cSTom Joseph
21de80f95cSTom Josephconfig PCIE_CADENCE_PLAT
22611627a4SManikandan K Pillai	tristate
23de80f95cSTom Joseph
24de80f95cSTom Josephconfig PCIE_CADENCE_PLAT_HOST
25611627a4SManikandan K Pillai	tristate "Cadence platform PCIe controller (host mode)"
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
35611627a4SManikandan K Pillai	tristate "Cadence platform PCIe controller (endpoint mode)"
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*a0d9f2c0SHans Zhangconfig PCI_SKY1_HOST
46*a0d9f2c0SHans Zhang	tristate "CIX SKY1 PCIe controller (host mode)"
47*a0d9f2c0SHans Zhang	depends on OF && (ARCH_CIX || COMPILE_TEST)
48*a0d9f2c0SHans Zhang	select PCIE_CADENCE_HOST
49*a0d9f2c0SHans Zhang	select PCI_ECAM
50*a0d9f2c0SHans Zhang	help
51*a0d9f2c0SHans Zhang	  Say Y here if you want to support the CIX SKY1 PCIe platform
52*a0d9f2c0SHans Zhang	  controller in host mode. CIX SKY1 PCIe controller uses Cadence
53*a0d9f2c0SHans Zhang	  HPA (High Performance Architecture IP [Second generation of
54*a0d9f2c0SHans Zhang	  Cadence PCIe IP])
55*a0d9f2c0SHans Zhang
56*a0d9f2c0SHans Zhang	  This driver requires Cadence PCIe core infrastructure
57*a0d9f2c0SHans Zhang	  (PCIE_CADENCE_HOST) and hardware platform adaptation layer
58*a0d9f2c0SHans Zhang	  to function.
59*a0d9f2c0SHans Zhang
601c72774dSChen Wangconfig PCIE_SG2042_HOST
611c72774dSChen Wang	tristate "Sophgo SG2042 PCIe controller (host mode)"
621c72774dSChen Wang	depends on OF && (ARCH_SOPHGO || COMPILE_TEST)
631c72774dSChen Wang	select PCIE_CADENCE_HOST
641c72774dSChen Wang	help
651c72774dSChen Wang	  Say Y here if you want to support the Sophgo SG2042 PCIe platform
661c72774dSChen Wang	  controller in host mode. Sophgo SG2042 PCIe controller uses Cadence
671c72774dSChen Wang	  PCIe core.
681c72774dSChen Wang
69f3e25911SKishon Vijay Abraham Iconfig PCI_J721E
70a2790bf8SSiddharth Vadapalli	tristate
713c05e884SArnd Bergmann	select PCIE_CADENCE_HOST if PCI_J721E_HOST != n
723c05e884SArnd Bergmann	select PCIE_CADENCE_EP if PCI_J721E_EP != n
73f3e25911SKishon Vijay Abraham I
74f3e25911SKishon Vijay Abraham Iconfig PCI_J721E_HOST
75a2790bf8SSiddharth Vadapalli	tristate "TI J721E PCIe controller (host mode)"
76177c9ac6SPeter Robinson	depends on ARCH_K3 || COMPILE_TEST
77f3e25911SKishon Vijay Abraham I	depends on OF
78f3e25911SKishon Vijay Abraham I	select PCI_J721E
79f3e25911SKishon Vijay Abraham I	help
80f3e25911SKishon Vijay Abraham I	  Say Y here if you want to support the TI J721E PCIe platform
81f3e25911SKishon Vijay Abraham I	  controller in host mode. TI J721E PCIe controller uses Cadence PCIe
82f3e25911SKishon Vijay Abraham I	  core.
83f3e25911SKishon Vijay Abraham I
84f3e25911SKishon Vijay Abraham Iconfig PCI_J721E_EP
85a2790bf8SSiddharth Vadapalli	tristate "TI J721E PCIe controller (endpoint mode)"
86177c9ac6SPeter Robinson	depends on ARCH_K3 || COMPILE_TEST
87f3e25911SKishon Vijay Abraham I	depends on OF
88f3e25911SKishon Vijay Abraham I	depends on PCI_ENDPOINT
89f3e25911SKishon Vijay Abraham I	select PCI_J721E
90f3e25911SKishon Vijay Abraham I	help
91f3e25911SKishon Vijay Abraham I	  Say Y here if you want to support the TI J721E PCIe platform
92f3e25911SKishon Vijay Abraham I	  controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
93f3e25911SKishon Vijay Abraham I	  core.
941c72774dSChen Wang
95de80f95cSTom Josephendmenu
96