xref: /openbmc/linux/drivers/soc/renesas/Kconfig (revision 0b003749)
1# SPDX-License-Identifier: GPL-2.0
2config SOC_RENESAS
3	bool "Renesas SoC driver support" if COMPILE_TEST && !ARCH_RENESAS
4	default y if ARCH_RENESAS
5	select SOC_BUS
6	select RST_RCAR if ARCH_RCAR_GEN1 || ARCH_RCAR_GEN2 || \
7			   ARCH_R8A774A1 || ARCH_R8A774C0 || ARCH_R8A7795 || \
8			   ARCH_R8A7796 || ARCH_R8A77965 || ARCH_R8A77970 || \
9			   ARCH_R8A77980 || ARCH_R8A77990 || ARCH_R8A77995
10	select SYSC_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744
11	select SYSC_R8A7745 if ARCH_R8A7745
12	select SYSC_R8A77470 if ARCH_R8A77470
13	select SYSC_R8A774A1 if ARCH_R8A774A1
14	select SYSC_R8A774C0 if ARCH_R8A774C0
15	select SYSC_R8A7779 if ARCH_R8A7779
16	select SYSC_R8A7790 if ARCH_R8A7790
17	select SYSC_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793
18	select SYSC_R8A7792 if ARCH_R8A7792
19	select SYSC_R8A7794 if ARCH_R8A7794
20	select SYSC_R8A7795 if ARCH_R8A7795
21	select SYSC_R8A7796 if ARCH_R8A7796
22	select SYSC_R8A77965 if ARCH_R8A77965
23	select SYSC_R8A77970 if ARCH_R8A77970
24	select SYSC_R8A77980 if ARCH_R8A77980
25	select SYSC_R8A77990 if ARCH_R8A77990
26	select SYSC_R8A77995 if ARCH_R8A77995
27
28if SOC_RENESAS
29
30# SoC
31config SYSC_R8A7743
32	bool "RZ/G1M System Controller support" if COMPILE_TEST
33	select SYSC_RCAR
34
35config SYSC_R8A7745
36	bool "RZ/G1E System Controller support" if COMPILE_TEST
37	select SYSC_RCAR
38
39config SYSC_R8A77470
40	bool "RZ/G1C System Controller support" if COMPILE_TEST
41	select SYSC_RCAR
42
43config SYSC_R8A774A1
44	bool "RZ/G2M System Controller support" if COMPILE_TEST
45	select SYSC_RCAR
46
47config SYSC_R8A774C0
48	bool "RZ/G2E System Controller support" if COMPILE_TEST
49	select SYSC_RCAR
50
51config SYSC_R8A7779
52	bool "R-Car H1 System Controller support" if COMPILE_TEST
53	select SYSC_RCAR
54
55config SYSC_R8A7790
56	bool "R-Car H2 System Controller support" if COMPILE_TEST
57	select SYSC_RCAR
58
59config SYSC_R8A7791
60	bool "R-Car M2-W/N System Controller support" if COMPILE_TEST
61	select SYSC_RCAR
62
63config SYSC_R8A7792
64	bool "R-Car V2H System Controller support" if COMPILE_TEST
65	select SYSC_RCAR
66
67config SYSC_R8A7794
68	bool "R-Car E2 System Controller support" if COMPILE_TEST
69	select SYSC_RCAR
70
71config SYSC_R8A7795
72	bool "R-Car H3 System Controller support" if COMPILE_TEST
73	select SYSC_RCAR
74
75config SYSC_R8A7796
76	bool "R-Car M3-W System Controller support" if COMPILE_TEST
77	select SYSC_RCAR
78
79config SYSC_R8A77965
80	bool "R-Car M3-N System Controller support" if COMPILE_TEST
81	select SYSC_RCAR
82
83config SYSC_R8A77970
84	bool "R-Car V3M System Controller support" if COMPILE_TEST
85	select SYSC_RCAR
86
87config SYSC_R8A77980
88	bool "R-Car V3H System Controller support" if COMPILE_TEST
89	select SYSC_RCAR
90
91config SYSC_R8A77990
92	bool "R-Car E3 System Controller support" if COMPILE_TEST
93	select SYSC_RCAR
94
95config SYSC_R8A77995
96	bool "R-Car D3 System Controller support" if COMPILE_TEST
97	select SYSC_RCAR
98
99# Family
100config RST_RCAR
101	bool "R-Car Reset Controller support" if COMPILE_TEST
102
103config SYSC_RCAR
104	bool "R-Car System Controller support" if COMPILE_TEST
105
106endif # SOC_RENESAS
107