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