Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / clk / renesas / Kconfig
blob18915d668a30c579e02833b98efd76efce3acaa3
1 # SPDX-License-Identifier: GPL-2.0
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_SH73A0 if ARCH_SH73A0
37 if CLK_RENESAS
39 # SoC
40 config CLK_EMEV2
41         bool "Emma Mobile EV2 clock support" if COMPILE_TEST
43 config CLK_RZA1
44         bool "RZ/A1H clock support" if COMPILE_TEST
45         select CLK_RENESAS_CPG_MSTP
47 config CLK_R7S9210
48         bool "RZ/A2 clock support" if COMPILE_TEST
49         select CLK_RENESAS_CPG_MSSR
51 config CLK_R8A73A4
52         bool "R-Mobile APE6 clock support" if COMPILE_TEST
53         select CLK_RENESAS_CPG_MSTP
54         select CLK_RENESAS_DIV6
56 config CLK_R8A7740
57         bool "R-Mobile A1 clock support" if COMPILE_TEST
58         select CLK_RENESAS_CPG_MSTP
59         select CLK_RENESAS_DIV6
61 config CLK_R8A7742
62         bool "RZ/G1H clock support" if COMPILE_TEST
63         select CLK_RCAR_GEN2_CPG
65 config CLK_R8A7743
66         bool "RZ/G1M clock support" if COMPILE_TEST
67         select CLK_RCAR_GEN2_CPG
69 config CLK_R8A7745
70         bool "RZ/G1E clock support" if COMPILE_TEST
71         select CLK_RCAR_GEN2_CPG
73 config CLK_R8A77470
74         bool "RZ/G1C clock support" if COMPILE_TEST
75         select CLK_RCAR_GEN2_CPG
77 config CLK_R8A774A1
78         bool "RZ/G2M clock support" if COMPILE_TEST
79         select CLK_RCAR_GEN3_CPG
81 config CLK_R8A774B1
82         bool "RZ/G2N clock support" if COMPILE_TEST
83         select CLK_RCAR_GEN3_CPG
85 config CLK_R8A774C0
86         bool "RZ/G2E clock support" if COMPILE_TEST
87         select CLK_RCAR_GEN3_CPG
89 config CLK_R8A774E1
90         bool "RZ/G2H clock support" if COMPILE_TEST
91         select CLK_RCAR_GEN3_CPG
93 config CLK_R8A7778
94         bool "R-Car M1A clock support" if COMPILE_TEST
95         select CLK_RENESAS_CPG_MSTP
97 config CLK_R8A7779
98         bool "R-Car H1 clock support" if COMPILE_TEST
99         select CLK_RENESAS_CPG_MSTP
101 config CLK_R8A7790
102         bool "R-Car H2 clock support" if COMPILE_TEST
103         select CLK_RCAR_GEN2_CPG
105 config CLK_R8A7791
106         bool "R-Car M2-W/N clock support" if COMPILE_TEST
107         select CLK_RCAR_GEN2_CPG
109 config CLK_R8A7792
110         bool "R-Car V2H clock support" if COMPILE_TEST
111         select CLK_RCAR_GEN2_CPG
113 config CLK_R8A7794
114         bool "R-Car E2 clock support" if COMPILE_TEST
115         select CLK_RCAR_GEN2_CPG
117 config CLK_R8A7795
118         bool "R-Car H3 clock support" if COMPILE_TEST
119         select CLK_RCAR_GEN3_CPG
121 config CLK_R8A77960
122         bool "R-Car M3-W clock support" if COMPILE_TEST
123         select CLK_RCAR_GEN3_CPG
125 config CLK_R8A77961
126         bool "R-Car M3-W+ clock support" if COMPILE_TEST
127         select CLK_RCAR_GEN3_CPG
129 config CLK_R8A77965
130         bool "R-Car M3-N clock support" if COMPILE_TEST
131         select CLK_RCAR_GEN3_CPG
133 config CLK_R8A77970
134         bool "R-Car V3M clock support" if COMPILE_TEST
135         select CLK_RCAR_GEN3_CPG
137 config CLK_R8A77980
138         bool "R-Car V3H clock support" if COMPILE_TEST
139         select CLK_RCAR_GEN3_CPG
141 config CLK_R8A77990
142         bool "R-Car E3 clock support" if COMPILE_TEST
143         select CLK_RCAR_GEN3_CPG
145 config CLK_R8A77995
146         bool "R-Car D3 clock support" if COMPILE_TEST
147         select CLK_RCAR_GEN3_CPG
149 config CLK_R8A779A0
150         bool "R-Car V3U clock support" if COMPILE_TEST
151         select CLK_RENESAS_CPG_MSSR
153 config CLK_R9A06G032
154         bool "Renesas R9A06G032 clock driver"
155         help
156           This is a driver for R9A06G032 clocks
158 config CLK_SH73A0
159         bool "SH-Mobile AG5 clock support" if COMPILE_TEST
160         select CLK_RENESAS_CPG_MSTP
161         select CLK_RENESAS_DIV6
164 # Family
165 config CLK_RCAR_GEN2_CPG
166         bool "R-Car Gen2 CPG clock support" if COMPILE_TEST
167         select CLK_RENESAS_CPG_MSSR
169 config CLK_RCAR_GEN3_CPG
170         bool "R-Car Gen3 and RZ/G2 CPG clock support" if COMPILE_TEST
171         select CLK_RENESAS_CPG_MSSR
173 config CLK_RCAR_USB2_CLOCK_SEL
174         bool "Renesas R-Car USB2 clock selector support"
175         depends on ARCH_RENESAS || COMPILE_TEST
176         select RESET_CONTROLLER
177         help
178           This is a driver for R-Car USB2 clock selector
180 # Generic
181 config CLK_RENESAS_CPG_MSSR
182         bool "CPG/MSSR clock support" if COMPILE_TEST
183         select CLK_RENESAS_DIV6
185 config CLK_RENESAS_CPG_MSTP
186         bool "MSTP clock support" if COMPILE_TEST
188 config CLK_RENESAS_DIV6
189         bool "DIV6 clock support" if COMPILE_TEST
191 endif # CLK_RENESAS