]> Git Repo - linux.git/blob - drivers/soc/renesas/Kconfig
Linux 6.14-rc3
[linux.git] / drivers / soc / renesas / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 menuconfig SOC_RENESAS
3         bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
4         default y if ARCH_RENESAS
5         select GPIOLIB
6         select PINCTRL
7         select SOC_BUS
8
9 if SOC_RENESAS
10
11 config ARCH_RCAR_GEN1
12         bool
13         select PM
14         select PM_GENERIC_DOMAINS
15         select RENESAS_INTC_IRQPIN
16         select RST_RCAR
17         select SYS_SUPPORTS_SH_TMU
18
19 config ARCH_RCAR_GEN2
20         bool
21         select HAVE_ARM_ARCH_TIMER
22         select PM
23         select PM_GENERIC_DOMAINS
24         select RENESAS_IRQC
25         select RST_RCAR
26         select SYS_SUPPORTS_SH_CMT
27         select SYS_SUPPORTS_SH_TMU
28
29 config ARCH_RCAR_GEN3
30         bool
31         select PM
32         select PM_GENERIC_DOMAINS
33         select RENESAS_IRQC
34         select RST_RCAR
35         select SYS_SUPPORTS_SH_CMT
36         select SYS_SUPPORTS_SH_TMU
37
38 config ARCH_RCAR_GEN4
39         bool
40         select ARCH_RCAR_GEN3
41
42 config ARCH_RMOBILE
43         bool
44         select PM
45         select PM_GENERIC_DOMAINS
46         select SYS_SUPPORTS_SH_CMT
47         select SYS_SUPPORTS_SH_TMU
48         select SYSC_RMOBILE
49
50 config ARCH_RZG2L
51         bool
52         select PM
53         select PM_GENERIC_DOMAINS
54         select RENESAS_RZG2L_IRQC
55
56 config ARCH_RZN1
57         bool
58         select PM
59         select PM_GENERIC_DOMAINS
60         select ARM_AMBA
61
62 if ARM && ARCH_RENESAS
63
64 #comment "Renesas ARM SoCs System Type"
65
66 config ARCH_EMEV2
67         bool "ARM32 Platform support for Emma Mobile EV2"
68         select HAVE_ARM_SCU if SMP
69         select SYS_SUPPORTS_EM_STI
70
71 config ARCH_R8A7794
72         bool "ARM32 Platform support for R-Car E2"
73         select ARCH_RCAR_GEN2
74         select ARM_ERRATA_814220
75         select SYSC_R8A7794
76
77 config ARCH_R8A7779
78         bool "ARM32 Platform support for R-Car H1"
79         select ARCH_RCAR_GEN1
80         select ARM_ERRATA_754322
81         select ARM_GLOBAL_TIMER
82         select HAVE_ARM_SCU if SMP
83         select HAVE_ARM_TWD if SMP
84         select SYSC_R8A7779
85
86 config ARCH_R8A7790
87         bool "ARM32 Platform support for R-Car H2"
88         select ARCH_RCAR_GEN2
89         select ARM_ERRATA_798181 if SMP
90         select ARM_ERRATA_814220
91         select I2C
92         select SYSC_R8A7790
93
94 config ARCH_R8A7778
95         bool "ARM32 Platform support for R-Car M1A"
96         select ARCH_RCAR_GEN1
97         select ARM_ERRATA_754322
98
99 config ARCH_R8A7793
100         bool "ARM32 Platform support for R-Car M2-N"
101         select ARCH_RCAR_GEN2
102         select ARM_ERRATA_798181 if SMP
103         select I2C
104         select SYSC_R8A7791
105
106 config ARCH_R8A7791
107         bool "ARM32 Platform support for R-Car M2-W"
108         select ARCH_RCAR_GEN2
109         select ARM_ERRATA_798181 if SMP
110         select I2C
111         select SYSC_R8A7791
112
113 config ARCH_R8A7792
114         bool "ARM32 Platform support for R-Car V2H"
115         select ARCH_RCAR_GEN2
116         select ARM_ERRATA_798181 if SMP
117         select SYSC_R8A7792
118
119 config ARCH_R8A7740
120         bool "ARM32 Platform support for R-Mobile A1"
121         select ARCH_RMOBILE
122         select ARM_ERRATA_754322
123         select RENESAS_INTC_IRQPIN
124
125 config ARCH_R8A73A4
126         bool "ARM32 Platform support for R-Mobile APE6"
127         select ARCH_RMOBILE
128         select ARM_ERRATA_798181 if SMP
129         select ARM_ERRATA_814220
130         select HAVE_ARM_ARCH_TIMER
131         select RENESAS_IRQC
132
133 config ARCH_R7S72100
134         bool "ARM32 Platform support for RZ/A1H"
135         select ARM_ERRATA_754322
136         select PM
137         select PM_GENERIC_DOMAINS
138         select RENESAS_OSTM
139         select RENESAS_RZA1_IRQC
140         select SYS_SUPPORTS_SH_MTU2
141
142 config ARCH_R7S9210
143         bool "ARM32 Platform support for RZ/A2"
144         select PM
145         select PM_GENERIC_DOMAINS
146         select RENESAS_OSTM
147         select RENESAS_RZA1_IRQC
148
149 config ARCH_R8A77470
150         bool "ARM32 Platform support for RZ/G1C"
151         select ARCH_RCAR_GEN2
152         select ARM_ERRATA_814220
153         select SYSC_R8A77470
154
155 config ARCH_R8A7745
156         bool "ARM32 Platform support for RZ/G1E"
157         select ARCH_RCAR_GEN2
158         select ARM_ERRATA_814220
159         select SYSC_R8A7745
160
161 config ARCH_R8A7742
162         bool "ARM32 Platform support for RZ/G1H"
163         select ARCH_RCAR_GEN2
164         select ARM_ERRATA_798181 if SMP
165         select ARM_ERRATA_814220
166         select SYSC_R8A7742
167
168 config ARCH_R8A7743
169         bool "ARM32 Platform support for RZ/G1M"
170         select ARCH_RCAR_GEN2
171         select ARM_ERRATA_798181 if SMP
172         select SYSC_R8A7743
173
174 config ARCH_R8A7744
175         bool "ARM32 Platform support for RZ/G1N"
176         select ARCH_RCAR_GEN2
177         select ARM_ERRATA_798181 if SMP
178         select SYSC_R8A7743
179
180 config ARCH_R9A06G032
181         bool "ARM32 Platform support for RZ/N1D"
182         select ARCH_RZN1
183         select ARM_ERRATA_814220
184
185 config ARCH_SH73A0
186         bool "ARM32 Platform support for SH-Mobile AG5"
187         select ARCH_RMOBILE
188         select ARM_ERRATA_754322
189         select ARM_GLOBAL_TIMER
190         select HAVE_ARM_SCU if SMP
191         select HAVE_ARM_TWD if SMP
192         select RENESAS_INTC_IRQPIN
193
194 endif # ARM
195
196 if ARM64
197
198 config ARCH_R8A77995
199         bool "ARM64 Platform support for R-Car D3"
200         select ARCH_RCAR_GEN3
201         select SYSC_R8A77995
202         help
203           This enables support for the Renesas R-Car D3 SoC.
204           This includes different gradings like R-Car D3e.
205
206 config ARCH_R8A77990
207         bool "ARM64 Platform support for R-Car E3"
208         select ARCH_RCAR_GEN3
209         select SYSC_R8A77990
210         help
211           This enables support for the Renesas R-Car E3 SoC.
212           This includes different gradings like R-Car E3e.
213
214 config ARCH_R8A77951
215         bool "ARM64 Platform support for R-Car H3 ES2.0+"
216         select ARCH_RCAR_GEN3
217         select SYSC_R8A7795
218         help
219           This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
220           later).
221           This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
222
223 config ARCH_R8A77965
224         bool "ARM64 Platform support for R-Car M3-N"
225         select ARCH_RCAR_GEN3
226         select SYSC_R8A77965
227         help
228           This enables support for the Renesas R-Car M3-N SoC.
229           This includes different gradings like R-Car M3Ne and M3Ne-2G.
230
231 config ARCH_R8A77960
232         bool "ARM64 Platform support for R-Car M3-W"
233         select ARCH_RCAR_GEN3
234         select SYSC_R8A77960
235         help
236           This enables support for the Renesas R-Car M3-W SoC.
237
238 config ARCH_R8A77961
239         bool "ARM64 Platform support for R-Car M3-W+"
240         select ARCH_RCAR_GEN3
241         select SYSC_R8A77961
242         help
243           This enables support for the Renesas R-Car M3-W+ SoC.
244           This includes different gradings like R-Car M3e and M3e-2G.
245
246 config ARCH_R8A779F0
247         bool "ARM64 Platform support for R-Car S4-8"
248         select ARCH_RCAR_GEN4
249         select SYSC_R8A779F0
250         help
251           This enables support for the Renesas R-Car S4-8 SoC.
252
253 config ARCH_R8A77980
254         bool "ARM64 Platform support for R-Car V3H"
255         select ARCH_RCAR_GEN3
256         select SYSC_R8A77980
257         help
258           This enables support for the Renesas R-Car V3H SoC.
259
260 config ARCH_R8A77970
261         bool "ARM64 Platform support for R-Car V3M"
262         select ARCH_RCAR_GEN3
263         select SYSC_R8A77970
264         help
265           This enables support for the Renesas R-Car V3M SoC.
266
267 config ARCH_R8A779A0
268         bool "ARM64 Platform support for R-Car V3U"
269         select ARCH_RCAR_GEN4
270         select SYSC_R8A779A0
271         help
272           This enables support for the Renesas R-Car V3U SoC.
273
274 config ARCH_R8A779G0
275         bool "ARM64 Platform support for R-Car V4H"
276         select ARCH_RCAR_GEN4
277         select SYSC_R8A779G0
278         help
279           This enables support for the Renesas R-Car V4H SoC.
280
281 config ARCH_R8A779H0
282         bool "ARM64 Platform support for R-Car V4M"
283         select ARCH_RCAR_GEN4
284         select SYSC_R8A779H0
285         help
286           This enables support for the Renesas R-Car V4M SoC.
287
288 config ARCH_R8A774C0
289         bool "ARM64 Platform support for RZ/G2E"
290         select ARCH_RCAR_GEN3
291         select SYSC_R8A774C0
292         help
293           This enables support for the Renesas RZ/G2E SoC.
294
295 config ARCH_R8A774E1
296         bool "ARM64 Platform support for RZ/G2H"
297         select ARCH_RCAR_GEN3
298         select SYSC_R8A774E1
299         help
300           This enables support for the Renesas RZ/G2H SoC.
301
302 config ARCH_R8A774A1
303         bool "ARM64 Platform support for RZ/G2M"
304         select ARCH_RCAR_GEN3
305         select SYSC_R8A774A1
306         help
307           This enables support for the Renesas RZ/G2M SoC.
308
309 config ARCH_R8A774B1
310         bool "ARM64 Platform support for RZ/G2N"
311         select ARCH_RCAR_GEN3
312         select SYSC_R8A774B1
313         help
314           This enables support for the Renesas RZ/G2N SoC.
315
316 config ARCH_R9A07G043
317         bool "ARM64 Platform support for RZ/G2UL"
318         select ARCH_RZG2L
319         help
320           This enables support for the Renesas RZ/G2UL SoC variants.
321
322 config ARCH_R9A07G044
323         bool "ARM64 Platform support for RZ/G2L"
324         select ARCH_RZG2L
325         help
326           This enables support for the Renesas RZ/G2L SoC variants.
327
328 config ARCH_R9A07G054
329         bool "ARM64 Platform support for RZ/V2L"
330         select ARCH_RZG2L
331         help
332           This enables support for the Renesas RZ/V2L SoC variants.
333
334 config ARCH_R9A08G045
335         bool "ARM64 Platform support for RZ/G3S"
336         select ARCH_RZG2L
337         help
338           This enables support for the Renesas RZ/G3S SoC variants.
339
340 config ARCH_R9A09G011
341         bool "ARM64 Platform support for RZ/V2M"
342         select PM
343         select PM_GENERIC_DOMAINS
344         select PWC_RZV2M
345         help
346           This enables support for the Renesas RZ/V2M SoC.
347
348 config ARCH_R9A09G047
349         bool "ARM64 Platform support for RZ/G3E"
350         help
351           This enables support for the Renesas RZ/G3E SoC variants.
352
353 config ARCH_R9A09G057
354         bool "ARM64 Platform support for RZ/V2H(P)"
355         select RENESAS_RZV2H_ICU
356         help
357           This enables support for the Renesas RZ/V2H(P) SoC variants.
358
359 endif # ARM64
360
361 if RISCV
362
363 config ARCH_R9A07G043
364         bool "RISC-V Platform support for RZ/Five"
365         depends on NONPORTABLE
366         depends on !DMA_DIRECT_REMAP
367         depends on RISCV_ALTERNATIVE
368         depends on !RISCV_ISA_ZICBOM
369         depends on RISCV_SBI
370         select ARCH_RZG2L
371         select AX45MP_L2_CACHE
372         select DMA_GLOBAL_POOL
373         select ERRATA_ANDES
374         select ERRATA_ANDES_CMO
375         help
376           This enables support for the Renesas RZ/Five SoC.
377
378 endif # RISCV
379
380 config PWC_RZV2M
381         bool "Renesas RZ/V2M PWC support" if COMPILE_TEST
382
383 config RST_RCAR
384         bool "Reset Controller support for R-Car" if COMPILE_TEST
385
386 endif # SOC_RENESAS
This page took 0.056546 seconds and 4 git commands to generate.