Debian Codegraph @

drivers/pci/controller/cadence/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0
2
3 menu "Cadence-based PCIe controllers"
4 depends on PCI
5
6 config PCIE_CADENCE
7 tristate
8
9 config PCIE_CADENCE_HOST
10 tristate
11 depends on OF
12 select IRQ_DOMAIN
13 select PCIE_CADENCE
14
15 config PCIE_CADENCE_EP
16 tristate
17 depends on OF
18 depends on PCI_ENDPOINT
19 select PCIE_CADENCE
20
21 config PCIE_CADENCE_PLAT
22 tristate
23
24 config PCIE_CADENCE_PLAT_HOST
25 tristate "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
34 config PCIE_CADENCE_PLAT_EP
35 tristate "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
45 config PCI_SKY1_HOST
46 tristate "CIX SKY1 PCIe controller (host mode)"
47 depends on OF && (ARCH_CIX || COMPILE_TEST)
48 select PCIE_CADENCE_HOST
49 select PCI_ECAM
50 help
51 Say Y here if you want to support the CIX SKY1 PCIe platform
52 controller in host mode. CIX SKY1 PCIe controller uses Cadence
53 HPA (High Performance Architecture IP [Second generation of
54 Cadence PCIe IP])
55
56 This driver requires Cadence PCIe core infrastructure
57 (PCIE_CADENCE_HOST) and hardware platform adaptation layer
58 to function.
59
60 config PCIE_SG2042_HOST
61 tristate "Sophgo SG2042 PCIe controller (host mode)"
62 depends on OF && (ARCH_SOPHGO || COMPILE_TEST)
63 select PCIE_CADENCE_HOST
64 help
65 Say Y here if you want to support the Sophgo SG2042 PCIe platform
66 controller in host mode. Sophgo SG2042 PCIe controller uses Cadence
67 PCIe core.
68
69 config PCI_J721E
70 tristate
71 select PCIE_CADENCE_HOST if PCI_J721E_HOST != n
72 select PCIE_CADENCE_EP if PCI_J721E_EP != n
73
74 config PCI_J721E_HOST
75 tristate "TI J721E PCIe controller (host mode)"
76 depends on ARCH_K3 || COMPILE_TEST
77 depends on OF
78 select PCI_J721E
79 help
80 Say Y here if you want to support the TI J721E PCIe platform
81 controller in host mode. TI J721E PCIe controller uses Cadence PCIe
82 core.
83
84 config PCI_J721E_EP
85 tristate "TI J721E PCIe controller (endpoint mode)"
86 depends on ARCH_K3 || COMPILE_TEST
87 depends on OF
88 depends on PCI_ENDPOINT
89 select PCI_J721E
90 help
91 Say Y here if you want to support the TI J721E PCIe platform
92 controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
93 core.
94
95 endmenu