Debian Codegraph @

drivers/clk/renesas/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0
2
3 config CLK_RENESAS
4 bool "Renesas SoC clock support" if COMPILE_TEST && !ARCH_RENESAS
5 default y if ARCH_RENESAS
6 select CLK_EMEV2 if ARCH_EMEV2
7 select CLK_RZA1 if ARCH_R7S72100
8 select CLK_R7S9210 if ARCH_R7S9210
9 select CLK_R8A73A4 if ARCH_R8A73A4
10 select CLK_R8A7740 if ARCH_R8A7740
11 select CLK_R8A7742 if ARCH_R8A7742
12 select CLK_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744
13 select CLK_R8A7745 if ARCH_R8A7745
14 select CLK_R8A77470 if ARCH_R8A77470
15 select CLK_R8A774A1 if ARCH_R8A774A1
16 select CLK_R8A774B1 if ARCH_R8A774B1
17 select CLK_R8A774C0 if ARCH_R8A774C0
18 select CLK_R8A774E1 if ARCH_R8A774E1
19 select CLK_R8A7778 if ARCH_R8A7778
20 select CLK_R8A7779 if ARCH_R8A7779
21 select CLK_R8A7790 if ARCH_R8A7790
22 select CLK_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793
23 select CLK_R8A7792 if ARCH_R8A7792
24 select CLK_R8A7794 if ARCH_R8A7794
25 select CLK_R8A7795 if ARCH_R8A77951
26 select CLK_R8A77960 if ARCH_R8A77960
27 select CLK_R8A77961 if ARCH_R8A77961
28 select CLK_R8A77965 if ARCH_R8A77965
29 select CLK_R8A77970 if ARCH_R8A77970
30 select CLK_R8A77980 if ARCH_R8A77980
31 select CLK_R8A77990 if ARCH_R8A77990
32 select CLK_R8A77995 if ARCH_R8A77995
33 select CLK_R8A779A0 if ARCH_R8A779A0
34 select CLK_R8A779F0 if ARCH_R8A779F0
35 select CLK_R8A779G0 if ARCH_R8A779G0
36 select CLK_R8A779H0 if ARCH_R8A779H0
37 select CLK_R9A06G032 if ARCH_R9A06G032
38 select CLK_R9A07G043 if ARCH_R9A07G043
39 select CLK_R9A07G044 if ARCH_R9A07G044
40 select CLK_R9A07G054 if ARCH_R9A07G054
41 select CLK_R9A08G045 if ARCH_R9A08G045
42 select CLK_R9A09G011 if ARCH_R9A09G011
43 select CLK_R9A09G047 if ARCH_R9A09G047
44 select CLK_R9A09G056 if ARCH_R9A09G056
45 select CLK_R9A09G057 if ARCH_R9A09G057
46 select CLK_R9A09G077 if ARCH_R9A09G077
47 select CLK_R9A09G087 if ARCH_R9A09G087
48 select CLK_SH73A0 if ARCH_SH73A0
49
50 if CLK_RENESAS
51
52 # SoC
53 config CLK_EMEV2
54 bool "Emma Mobile EV2 clock support" if COMPILE_TEST
55
56 config CLK_RZA1
57 bool "RZ/A1H clock support" if COMPILE_TEST
58 select CLK_RENESAS_CPG_MSTP
59
60 config CLK_R7S9210
61 bool "RZ/A2 clock support" if COMPILE_TEST
62 select CLK_RENESAS_CPG_MSSR
63
64 config CLK_R8A73A4
65 bool "R-Mobile APE6 clock support" if COMPILE_TEST
66 select CLK_RENESAS_CPG_MSTP
67 select CLK_RENESAS_DIV6
68
69 config CLK_R8A7740
70 bool "R-Mobile A1 clock support" if COMPILE_TEST
71 select CLK_RENESAS_CPG_MSTP
72 select CLK_RENESAS_DIV6
73
74 config CLK_R8A7742
75 bool "RZ/G1H clock support" if COMPILE_TEST
76 select CLK_RCAR_GEN2_CPG
77
78 config CLK_R8A7743
79 bool "RZ/G1M clock support" if COMPILE_TEST
80 select CLK_RCAR_GEN2_CPG
81
82 config CLK_R8A7745
83 bool "RZ/G1E clock support" if COMPILE_TEST
84 select CLK_RCAR_GEN2_CPG
85
86 config CLK_R8A77470
87 bool "RZ/G1C clock support" if COMPILE_TEST
88 select CLK_RCAR_GEN2_CPG
89
90 config CLK_R8A774A1
91 bool "RZ/G2M clock support" if COMPILE_TEST
92 select CLK_RCAR_GEN3_CPG
93
94 config CLK_R8A774B1
95 bool "RZ/G2N clock support" if COMPILE_TEST
96 select CLK_RCAR_GEN3_CPG
97
98 config CLK_R8A774C0
99 bool "RZ/G2E clock support" if COMPILE_TEST
100 select CLK_RCAR_GEN3_CPG
101
102 config CLK_R8A774E1
103 bool "RZ/G2H clock support" if COMPILE_TEST
104 select CLK_RCAR_GEN3_CPG
105
106 config CLK_R8A7778
107 bool "R-Car M1A clock support" if COMPILE_TEST
108 select CLK_RENESAS_CPG_MSTP
109
110 config CLK_R8A7779
111 bool "R-Car H1 clock support" if COMPILE_TEST
112 select CLK_RENESAS_CPG_MSTP
113
114 config CLK_R8A7790
115 bool "R-Car H2 clock support" if COMPILE_TEST
116 select CLK_RCAR_GEN2_CPG
117
118 config CLK_R8A7791
119 bool "R-Car M2-W/N clock support" if COMPILE_TEST
120 select CLK_RCAR_GEN2_CPG
121
122 config CLK_R8A7792
123 bool "R-Car V2H clock support" if COMPILE_TEST
124 select CLK_RCAR_GEN2_CPG
125
126 config CLK_R8A7794
127 bool "R-Car E2 clock support" if COMPILE_TEST
128 select CLK_RCAR_GEN2_CPG
129
130 config CLK_R8A7795
131 bool "R-Car H3 clock support" if COMPILE_TEST
132 select CLK_RCAR_GEN3_CPG
133
134 config CLK_R8A77960
135 bool "R-Car M3-W clock support" if COMPILE_TEST
136 select CLK_RCAR_GEN3_CPG
137
138 config CLK_R8A77961
139 bool "R-Car M3-W+ clock support" if COMPILE_TEST
140 select CLK_RCAR_GEN3_CPG
141
142 config CLK_R8A77965
143 bool "R-Car M3-N clock support" if COMPILE_TEST
144 select CLK_RCAR_GEN3_CPG
145
146 config CLK_R8A77970
147 bool "R-Car V3M clock support" if COMPILE_TEST
148 select CLK_RCAR_GEN3_CPG
149
150 config CLK_R8A77980
151 bool "R-Car V3H clock support" if COMPILE_TEST
152 select CLK_RCAR_GEN3_CPG
153
154 config CLK_R8A77990
155 bool "R-Car E3 clock support" if COMPILE_TEST
156 select CLK_RCAR_GEN3_CPG
157
158 config CLK_R8A77995
159 bool "R-Car D3 clock support" if COMPILE_TEST
160 select CLK_RCAR_GEN3_CPG
161
162 config CLK_R8A779A0
163 bool "R-Car V3U clock support" if COMPILE_TEST
164 select CLK_RCAR_GEN4_CPG
165
166 config CLK_R8A779F0
167 bool "R-Car S4-8 clock support" if COMPILE_TEST
168 select CLK_RCAR_GEN4_CPG
169
170 config CLK_R8A779G0
171 bool "R-Car V4H clock support" if COMPILE_TEST
172 select CLK_RCAR_GEN4_CPG
173
174 config CLK_R8A779H0
175 bool "R-Car V4M clock support" if COMPILE_TEST
176 select CLK_RCAR_GEN4_CPG
177
178 config CLK_R9A06G032
179 bool "RZ/N1D clock support" if COMPILE_TEST
180
181 config CLK_R9A07G043
182 bool "RZ/G2UL clock support" if COMPILE_TEST
183 select CLK_RZG2L
184
185 config CLK_R9A07G044
186 bool "RZ/G2L clock support" if COMPILE_TEST
187 select CLK_RZG2L
188
189 config CLK_R9A07G054
190 bool "RZ/V2L clock support" if COMPILE_TEST
191 select CLK_RZG2L
192
193 config CLK_R9A08G045
194 bool "RZ/G3S clock support" if COMPILE_TEST
195 select CLK_RZG2L
196
197 config CLK_R9A09G011
198 bool "RZ/V2M clock support" if COMPILE_TEST
199 select CLK_RZG2L
200
201 config CLK_R9A09G047
202 bool "RZ/G3E clock support" if COMPILE_TEST
203 select CLK_RZV2H
204
205 config CLK_R9A09G056
206 bool "RZ/V2N clock support" if COMPILE_TEST
207 select CLK_RZV2H
208
209 config CLK_R9A09G057
210 bool "RZ/V2H(P) clock support" if COMPILE_TEST
211 select CLK_RZV2H
212
213 config CLK_R9A09G077
214 bool "RZ/T2H clock support" if COMPILE_TEST
215 select CLK_RENESAS_CPG_MSSR
216
217 config CLK_R9A09G087
218 bool "RZ/N2H clock support" if COMPILE_TEST
219 select CLK_RENESAS_CPG_MSSR
220
221 config CLK_SH73A0
222 bool "SH-Mobile AG5 clock support" if COMPILE_TEST
223 select CLK_RENESAS_CPG_MSTP
224 select CLK_RENESAS_DIV6
225
226
227 # Family
228 config CLK_RCAR_CPG_LIB
229 bool "CPG/MSSR library functions" if COMPILE_TEST
230
231 config CLK_RCAR_GEN2_CPG
232 bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
233 select CLK_RENESAS_CPG_MSSR
234
235 config CLK_RCAR_GEN3_CPG
236 bool "R-Car Gen3 and RZ/G2 CPG clock support" if COMPILE_TEST
237 select CLK_RCAR_CPG_LIB
238 select CLK_RENESAS_CPG_MSSR
239
240 config CLK_RCAR_GEN4_CPG
241 bool "R-Car Gen4 clock support" if COMPILE_TEST
242 select CLK_RCAR_CPG_LIB
243 select CLK_RENESAS_CPG_MSSR
244
245 config CLK_RCAR_USB2_CLOCK_SEL
246 bool "R-Car USB2 clock selector support"
247 depends on ARCH_RENESAS || COMPILE_TEST
248 select RESET_CONTROLLER
249 help
250 This is a driver for R-Car USB2 clock selector
251
252 config CLK_RZG2L
253 bool "RZ/{G2L,G2UL,G3S,V2L} family clock support" if COMPILE_TEST
254 select RESET_CONTROLLER
255
256 config CLK_RZV2H
257 bool "RZ/{G3E,V2H(P)} family clock support" if COMPILE_TEST
258 select RESET_CONTROLLER
259
260 config CLK_RENESAS_VBATTB
261 tristate "Renesas VBATTB clock controller"
262 depends on ARCH_RZG2L || COMPILE_TEST
263 select RESET_CONTROLLER
264
265 # Generic
266 config CLK_RENESAS_CPG_MSSR
267 bool "CPG/MSSR clock support" if COMPILE_TEST
268 select CLK_RENESAS_DIV6
269
270 config CLK_RENESAS_CPG_MSTP
271 bool "MSTP clock support" if COMPILE_TEST
272
273 config CLK_RENESAS_DIV6
274 bool "DIV6 clock support" if COMPILE_TEST
275
276 endif # CLK_RENESAS