spi: sprd: adi: Add a reset reason for watchdog mode
[linux/fpc-iii.git] / drivers / soc / renesas / Kconfig
blob2bbf49e5d441808bda02c86dcc1f8a368972ffbf
1 # SPDX-License-Identifier: GPL-2.0
2 config SOC_RENESAS
3         bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
4         default y if ARCH_RENESAS
5         select SOC_BUS
7 if SOC_RENESAS
9 config ARCH_RCAR_GEN1
10         bool
11         select PM
12         select PM_GENERIC_DOMAINS
13         select RENESAS_INTC_IRQPIN
14         select RST_RCAR
15         select SYS_SUPPORTS_SH_TMU
17 config ARCH_RCAR_GEN2
18         bool
19         select HAVE_ARM_ARCH_TIMER
20         select PM
21         select PM_GENERIC_DOMAINS
22         select RENESAS_IRQC
23         select RST_RCAR
24         select SYS_SUPPORTS_SH_CMT
26 config ARCH_RCAR_GEN3
27         bool
28         select PM
29         select PM_GENERIC_DOMAINS
30         select RENESAS_IRQC
31         select RST_RCAR
32         select SYS_SUPPORTS_SH_CMT
33         select SYS_SUPPORTS_SH_TMU
35 config ARCH_RMOBILE
36         bool
37         select PM
38         select PM_GENERIC_DOMAINS
39         select SYS_SUPPORTS_SH_CMT
40         select SYS_SUPPORTS_SH_TMU
41         select SYSC_RMOBILE
43 config ARCH_RZN1
44         bool
45         select ARM_AMBA
47 if ARM && ARCH_RENESAS
49 #comment "Renesas ARM SoCs System Type"
51 config ARCH_EMEV2
52         bool "Emma Mobile EV2"
53         select HAVE_ARM_SCU if SMP
54         select SYS_SUPPORTS_EM_STI
56 config ARCH_R7S72100
57         bool "RZ/A1H (R7S72100)"
58         select PM
59         select PM_GENERIC_DOMAINS
60         select RENESAS_OSTM
61         select RENESAS_RZA1_IRQC
62         select SYS_SUPPORTS_SH_MTU2
64 config ARCH_R7S9210
65         bool "RZ/A2 (R7S9210)"
66         select PM
67         select PM_GENERIC_DOMAINS
68         select RENESAS_OSTM
69         select RENESAS_RZA1_IRQC
71 config ARCH_R8A73A4
72         bool "R-Mobile APE6 (R8A73A40)"
73         select ARCH_RMOBILE
74         select ARM_ERRATA_798181 if SMP
75         select HAVE_ARM_ARCH_TIMER
76         select RENESAS_IRQC
78 config ARCH_R8A7740
79         bool "R-Mobile A1 (R8A77400)"
80         select ARCH_RMOBILE
81         select RENESAS_INTC_IRQPIN
83 config ARCH_R8A7743
84         bool "RZ/G1M (R8A77430)"
85         select ARCH_RCAR_GEN2
86         select ARM_ERRATA_798181 if SMP
87         select SYSC_R8A7743
89 config ARCH_R8A7744
90         bool "RZ/G1N (R8A77440)"
91         select ARCH_RCAR_GEN2
92         select ARM_ERRATA_798181 if SMP
93         select SYSC_R8A7743
95 config ARCH_R8A7745
96         bool "RZ/G1E (R8A77450)"
97         select ARCH_RCAR_GEN2
98         select SYSC_R8A7745
100 config ARCH_R8A77470
101         bool "RZ/G1C (R8A77470)"
102         select ARCH_RCAR_GEN2
103         select SYSC_R8A77470
105 config ARCH_R8A7778
106         bool "R-Car M1A (R8A77781)"
107         select ARCH_RCAR_GEN1
109 config ARCH_R8A7779
110         bool "R-Car H1 (R8A77790)"
111         select ARCH_RCAR_GEN1
112         select HAVE_ARM_SCU if SMP
113         select HAVE_ARM_TWD if SMP
114         select SYSC_R8A7779
116 config ARCH_R8A7790
117         bool "R-Car H2 (R8A77900)"
118         select ARCH_RCAR_GEN2
119         select ARM_ERRATA_798181 if SMP
120         select I2C
121         select SYSC_R8A7790
123 config ARCH_R8A7791
124         bool "R-Car M2-W (R8A77910)"
125         select ARCH_RCAR_GEN2
126         select ARM_ERRATA_798181 if SMP
127         select I2C
128         select SYSC_R8A7791
130 config ARCH_R8A7792
131         bool "R-Car V2H (R8A77920)"
132         select ARCH_RCAR_GEN2
133         select ARM_ERRATA_798181 if SMP
134         select SYSC_R8A7792
136 config ARCH_R8A7793
137         bool "R-Car M2-N (R8A7793)"
138         select ARCH_RCAR_GEN2
139         select ARM_ERRATA_798181 if SMP
140         select I2C
141         select SYSC_R8A7791
143 config ARCH_R8A7794
144         bool "R-Car E2 (R8A77940)"
145         select ARCH_RCAR_GEN2
146         select SYSC_R8A7794
148 config ARCH_R9A06G032
149         bool "RZ/N1D (R9A06G032)"
150         select ARCH_RZN1
152 config ARCH_SH73A0
153         bool "SH-Mobile AG5 (R8A73A00)"
154         select ARCH_RMOBILE
155         select HAVE_ARM_SCU if SMP
156         select HAVE_ARM_TWD if SMP
157         select RENESAS_INTC_IRQPIN
159 endif # ARM
161 if ARM64
163 config ARCH_R8A774A1
164         bool "Renesas RZ/G2M SoC Platform"
165         select ARCH_RCAR_GEN3
166         select SYSC_R8A774A1
167         help
168           This enables support for the Renesas RZ/G2M SoC.
170 config ARCH_R8A774C0
171         bool "Renesas RZ/G2E SoC Platform"
172         select ARCH_RCAR_GEN3
173         select SYSC_R8A774C0
174         help
175           This enables support for the Renesas RZ/G2E SoC.
177 config ARCH_R8A7795
178         bool "Renesas R-Car H3 SoC Platform"
179         select ARCH_RCAR_GEN3
180         select SYSC_R8A7795
181         help
182           This enables support for the Renesas R-Car H3 SoC.
184 config ARCH_R8A7796
185         bool "Renesas R-Car M3-W SoC Platform"
186         select ARCH_RCAR_GEN3
187         select SYSC_R8A7796
188         help
189           This enables support for the Renesas R-Car M3-W SoC.
191 config ARCH_R8A77965
192         bool "Renesas R-Car M3-N SoC Platform"
193         select ARCH_RCAR_GEN3
194         select SYSC_R8A77965
195         help
196           This enables support for the Renesas R-Car M3-N SoC.
198 config ARCH_R8A77970
199         bool "Renesas R-Car V3M SoC Platform"
200         select ARCH_RCAR_GEN3
201         select SYSC_R8A77970
202         help
203           This enables support for the Renesas R-Car V3M SoC.
205 config ARCH_R8A77980
206         bool "Renesas R-Car V3H SoC Platform"
207         select ARCH_RCAR_GEN3
208         select SYSC_R8A77980
209         help
210           This enables support for the Renesas R-Car V3H SoC.
212 config ARCH_R8A77990
213         bool "Renesas R-Car E3 SoC Platform"
214         select ARCH_RCAR_GEN3
215         select SYSC_R8A77990
216         help
217           This enables support for the Renesas R-Car E3 SoC.
219 config ARCH_R8A77995
220         bool "Renesas R-Car D3 SoC Platform"
221         select ARCH_RCAR_GEN3
222         select SYSC_R8A77995
223         help
224           This enables support for the Renesas R-Car D3 SoC.
226 endif # ARM64
228 # SoC
229 config SYSC_R8A7743
230         bool "RZ/G1M System Controller support" if COMPILE_TEST
231         select SYSC_RCAR
233 config SYSC_R8A7745
234         bool "RZ/G1E System Controller support" if COMPILE_TEST
235         select SYSC_RCAR
237 config SYSC_R8A77470
238         bool "RZ/G1C System Controller support" if COMPILE_TEST
239         select SYSC_RCAR
241 config SYSC_R8A774A1
242         bool "RZ/G2M System Controller support" if COMPILE_TEST
243         select SYSC_RCAR
245 config SYSC_R8A774C0
246         bool "RZ/G2E System Controller support" if COMPILE_TEST
247         select SYSC_RCAR
249 config SYSC_R8A7779
250         bool "R-Car H1 System Controller support" if COMPILE_TEST
251         select SYSC_RCAR
253 config SYSC_R8A7790
254         bool "R-Car H2 System Controller support" if COMPILE_TEST
255         select SYSC_RCAR
257 config SYSC_R8A7791
258         bool "R-Car M2-W/N System Controller support" if COMPILE_TEST
259         select SYSC_RCAR
261 config SYSC_R8A7792
262         bool "R-Car V2H System Controller support" if COMPILE_TEST
263         select SYSC_RCAR
265 config SYSC_R8A7794
266         bool "R-Car E2 System Controller support" if COMPILE_TEST
267         select SYSC_RCAR
269 config SYSC_R8A7795
270         bool "R-Car H3 System Controller support" if COMPILE_TEST
271         select SYSC_RCAR
273 config SYSC_R8A7796
274         bool "R-Car M3-W System Controller support" if COMPILE_TEST
275         select SYSC_RCAR
277 config SYSC_R8A77965
278         bool "R-Car M3-N System Controller support" if COMPILE_TEST
279         select SYSC_RCAR
281 config SYSC_R8A77970
282         bool "R-Car V3M System Controller support" if COMPILE_TEST
283         select SYSC_RCAR
285 config SYSC_R8A77980
286         bool "R-Car V3H System Controller support" if COMPILE_TEST
287         select SYSC_RCAR
289 config SYSC_R8A77990
290         bool "R-Car E3 System Controller support" if COMPILE_TEST
291         select SYSC_RCAR
293 config SYSC_R8A77995
294         bool "R-Car D3 System Controller support" if COMPILE_TEST
295         select SYSC_RCAR
297 # Family
298 config RST_RCAR
299         bool "R-Car Reset Controller support" if COMPILE_TEST
301 config SYSC_RCAR
302         bool "R-Car System Controller support" if COMPILE_TEST
304 config SYSC_RMOBILE
305         bool "R-Mobile System Controller support" if COMPILE_TEST
307 endif # SOC_RENESAS