Merge tag 'nfs-for-5.14-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[linux-2.6-microblaze.git] / drivers / clk / renesas / Kconfig
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_R8A77950 || 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_R9A06G032 if ARCH_R9A06G032
35         select CLK_R9A07G044 if ARCH_R9A07G044
36         select CLK_SH73A0 if ARCH_SH73A0
37
38 if CLK_RENESAS
39
40 # SoC
41 config CLK_EMEV2
42         bool "Emma Mobile EV2 clock support" if COMPILE_TEST
43
44 config CLK_RZA1
45         bool "RZ/A1H clock support" if COMPILE_TEST
46         select CLK_RENESAS_CPG_MSTP
47
48 config CLK_R7S9210
49         bool "RZ/A2 clock support" if COMPILE_TEST
50         select CLK_RENESAS_CPG_MSSR
51
52 config CLK_R8A73A4
53         bool "R-Mobile APE6 clock support" if COMPILE_TEST
54         select CLK_RENESAS_CPG_MSTP
55         select CLK_RENESAS_DIV6
56
57 config CLK_R8A7740
58         bool "R-Mobile A1 clock support" if COMPILE_TEST
59         select CLK_RENESAS_CPG_MSTP
60         select CLK_RENESAS_DIV6
61
62 config CLK_R8A7742
63         bool "RZ/G1H clock support" if COMPILE_TEST
64         select CLK_RCAR_GEN2_CPG
65
66 config CLK_R8A7743
67         bool "RZ/G1M clock support" if COMPILE_TEST
68         select CLK_RCAR_GEN2_CPG
69
70 config CLK_R8A7745
71         bool "RZ/G1E clock support" if COMPILE_TEST
72         select CLK_RCAR_GEN2_CPG
73
74 config CLK_R8A77470
75         bool "RZ/G1C clock support" if COMPILE_TEST
76         select CLK_RCAR_GEN2_CPG
77
78 config CLK_R8A774A1
79         bool "RZ/G2M clock support" if COMPILE_TEST
80         select CLK_RCAR_GEN3_CPG
81
82 config CLK_R8A774B1
83         bool "RZ/G2N clock support" if COMPILE_TEST
84         select CLK_RCAR_GEN3_CPG
85
86 config CLK_R8A774C0
87         bool "RZ/G2E clock support" if COMPILE_TEST
88         select CLK_RCAR_GEN3_CPG
89
90 config CLK_R8A774E1
91         bool "RZ/G2H clock support" if COMPILE_TEST
92         select CLK_RCAR_GEN3_CPG
93
94 config CLK_R8A7778
95         bool "R-Car M1A clock support" if COMPILE_TEST
96         select CLK_RENESAS_CPG_MSTP
97
98 config CLK_R8A7779
99         bool "R-Car H1 clock support" if COMPILE_TEST
100         select CLK_RENESAS_CPG_MSTP
101
102 config CLK_R8A7790
103         bool "R-Car H2 clock support" if COMPILE_TEST
104         select CLK_RCAR_GEN2_CPG
105
106 config CLK_R8A7791
107         bool "R-Car M2-W/N clock support" if COMPILE_TEST
108         select CLK_RCAR_GEN2_CPG
109
110 config CLK_R8A7792
111         bool "R-Car V2H clock support" if COMPILE_TEST
112         select CLK_RCAR_GEN2_CPG
113
114 config CLK_R8A7794
115         bool "R-Car E2 clock support" if COMPILE_TEST
116         select CLK_RCAR_GEN2_CPG
117
118 config CLK_R8A7795
119         bool "R-Car H3 clock support" if COMPILE_TEST
120         select CLK_RCAR_GEN3_CPG
121
122 config CLK_R8A77960
123         bool "R-Car M3-W clock support" if COMPILE_TEST
124         select CLK_RCAR_GEN3_CPG
125
126 config CLK_R8A77961
127         bool "R-Car M3-W+ clock support" if COMPILE_TEST
128         select CLK_RCAR_GEN3_CPG
129
130 config CLK_R8A77965
131         bool "R-Car M3-N clock support" if COMPILE_TEST
132         select CLK_RCAR_GEN3_CPG
133
134 config CLK_R8A77970
135         bool "R-Car V3M clock support" if COMPILE_TEST
136         select CLK_RCAR_GEN3_CPG
137
138 config CLK_R8A77980
139         bool "R-Car V3H clock support" if COMPILE_TEST
140         select CLK_RCAR_GEN3_CPG
141
142 config CLK_R8A77990
143         bool "R-Car E3 clock support" if COMPILE_TEST
144         select CLK_RCAR_GEN3_CPG
145
146 config CLK_R8A77995
147         bool "R-Car D3 clock support" if COMPILE_TEST
148         select CLK_RCAR_GEN3_CPG
149
150 config CLK_R8A779A0
151         bool "R-Car V3U clock support" if COMPILE_TEST
152         select CLK_RCAR_CPG_LIB
153         select CLK_RENESAS_CPG_MSSR
154
155 config CLK_R9A06G032
156         bool "Renesas R9A06G032 clock driver"
157         help
158           This is a driver for R9A06G032 clocks
159
160 config CLK_R9A07G044
161         bool "RZ/G2L clock support" if COMPILE_TEST
162         select CLK_RZG2L
163
164 config CLK_SH73A0
165         bool "SH-Mobile AG5 clock support" if COMPILE_TEST
166         select CLK_RENESAS_CPG_MSTP
167         select CLK_RENESAS_DIV6
168
169
170 # Family
171 config CLK_RCAR_CPG_LIB
172         bool "CPG/MSSR library functions" if COMPILE_TEST
173
174 config CLK_RCAR_GEN2_CPG
175         bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
176         select CLK_RENESAS_CPG_MSSR
177
178 config CLK_RCAR_GEN3_CPG
179         bool "R-Car Gen3 and RZ/G2 CPG clock support" if COMPILE_TEST
180         select CLK_RCAR_CPG_LIB
181         select CLK_RENESAS_CPG_MSSR
182
183 config CLK_RCAR_USB2_CLOCK_SEL
184         bool "Renesas R-Car USB2 clock selector support"
185         depends on ARCH_RENESAS || COMPILE_TEST
186         select RESET_CONTROLLER
187         help
188           This is a driver for R-Car USB2 clock selector
189
190 config CLK_RZG2L
191         bool "Renesas RZ/G2L family clock support" if COMPILE_TEST
192         select RESET_CONTROLLER
193
194 # Generic
195 config CLK_RENESAS_CPG_MSSR
196         bool "CPG/MSSR clock support" if COMPILE_TEST
197         select CLK_RENESAS_DIV6
198
199 config CLK_RENESAS_CPG_MSTP
200         bool "MSTP clock support" if COMPILE_TEST
201
202 config CLK_RENESAS_DIV6
203         bool "DIV6 clock support" if COMPILE_TEST
204
205 endif # CLK_RENESAS