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_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_SH73A0 if ARCH_SH73A0 44 45if CLK_RENESAS 46 47# SoC 48config CLK_EMEV2 49 bool "Emma Mobile EV2 clock support" if COMPILE_TEST 50 51config CLK_RZA1 52 bool "RZ/A1H clock support" if COMPILE_TEST 53 select CLK_RENESAS_CPG_MSTP 54 55config CLK_R7S9210 56 bool "RZ/A2 clock support" if COMPILE_TEST 57 select CLK_RENESAS_CPG_MSSR 58 59config CLK_R8A73A4 60 bool "R-Mobile APE6 clock support" if COMPILE_TEST 61 select CLK_RENESAS_CPG_MSTP 62 select CLK_RENESAS_DIV6 63 64config CLK_R8A7740 65 bool "R-Mobile A1 clock support" if COMPILE_TEST 66 select CLK_RENESAS_CPG_MSTP 67 select CLK_RENESAS_DIV6 68 69config CLK_R8A7742 70 bool "RZ/G1H clock support" if COMPILE_TEST 71 select CLK_RCAR_GEN2_CPG 72 73config CLK_R8A7743 74 bool "RZ/G1M clock support" if COMPILE_TEST 75 select CLK_RCAR_GEN2_CPG 76 77config CLK_R8A7745 78 bool "RZ/G1E clock support" if COMPILE_TEST 79 select CLK_RCAR_GEN2_CPG 80 81config CLK_R8A77470 82 bool "RZ/G1C clock support" if COMPILE_TEST 83 select CLK_RCAR_GEN2_CPG 84 85config CLK_R8A774A1 86 bool "RZ/G2M clock support" if COMPILE_TEST 87 select CLK_RCAR_GEN3_CPG 88 89config CLK_R8A774B1 90 bool "RZ/G2N clock support" if COMPILE_TEST 91 select CLK_RCAR_GEN3_CPG 92 93config CLK_R8A774C0 94 bool "RZ/G2E clock support" if COMPILE_TEST 95 select CLK_RCAR_GEN3_CPG 96 97config CLK_R8A774E1 98 bool "RZ/G2H clock support" if COMPILE_TEST 99 select CLK_RCAR_GEN3_CPG 100 101config CLK_R8A7778 102 bool "R-Car M1A clock support" if COMPILE_TEST 103 select CLK_RENESAS_CPG_MSTP 104 105config CLK_R8A7779 106 bool "R-Car H1 clock support" if COMPILE_TEST 107 select CLK_RENESAS_CPG_MSTP 108 109config CLK_R8A7790 110 bool "R-Car H2 clock support" if COMPILE_TEST 111 select CLK_RCAR_GEN2_CPG 112 113config CLK_R8A7791 114 bool "R-Car M2-W/N clock support" if COMPILE_TEST 115 select CLK_RCAR_GEN2_CPG 116 117config CLK_R8A7792 118 bool "R-Car V2H clock support" if COMPILE_TEST 119 select CLK_RCAR_GEN2_CPG 120 121config CLK_R8A7794 122 bool "R-Car E2 clock support" if COMPILE_TEST 123 select CLK_RCAR_GEN2_CPG 124 125config CLK_R8A7795 126 bool "R-Car H3 clock support" if COMPILE_TEST 127 select CLK_RCAR_GEN3_CPG 128 129config CLK_R8A77960 130 bool "R-Car M3-W clock support" if COMPILE_TEST 131 select CLK_RCAR_GEN3_CPG 132 133config CLK_R8A77961 134 bool "R-Car M3-W+ clock support" if COMPILE_TEST 135 select CLK_RCAR_GEN3_CPG 136 137config CLK_R8A77965 138 bool "R-Car M3-N clock support" if COMPILE_TEST 139 select CLK_RCAR_GEN3_CPG 140 141config CLK_R8A77970 142 bool "R-Car V3M clock support" if COMPILE_TEST 143 select CLK_RCAR_GEN3_CPG 144 145config CLK_R8A77980 146 bool "R-Car V3H clock support" if COMPILE_TEST 147 select CLK_RCAR_GEN3_CPG 148 149config CLK_R8A77990 150 bool "R-Car E3 clock support" if COMPILE_TEST 151 select CLK_RCAR_GEN3_CPG 152 153config CLK_R8A77995 154 bool "R-Car D3 clock support" if COMPILE_TEST 155 select CLK_RCAR_GEN3_CPG 156 157config CLK_R8A779A0 158 bool "R-Car V3U clock support" if COMPILE_TEST 159 select CLK_RCAR_GEN4_CPG 160 161config CLK_R8A779F0 162 bool "R-Car S4-8 clock support" if COMPILE_TEST 163 select CLK_RCAR_GEN4_CPG 164 165config CLK_R8A779G0 166 bool "R-Car V4H clock support" if COMPILE_TEST 167 select CLK_RCAR_GEN4_CPG 168 169config CLK_R8A779H0 170 bool "R-Car V4M clock support" if COMPILE_TEST 171 select CLK_RCAR_GEN4_CPG 172 173config CLK_R9A06G032 174 bool "RZ/N1D clock support" if COMPILE_TEST 175 176config CLK_R9A07G043 177 bool "RZ/G2UL clock support" if COMPILE_TEST 178 select CLK_RZG2L 179 180config CLK_R9A07G044 181 bool "RZ/G2L clock support" if COMPILE_TEST 182 select CLK_RZG2L 183 184config CLK_R9A07G054 185 bool "RZ/V2L clock support" if COMPILE_TEST 186 select CLK_RZG2L 187 188config CLK_R9A08G045 189 bool "RZ/G3S clock support" if COMPILE_TEST 190 select CLK_RZG2L 191 192config CLK_R9A09G011 193 bool "RZ/V2M clock support" if COMPILE_TEST 194 select CLK_RZG2L 195 196config CLK_SH73A0 197 bool "SH-Mobile AG5 clock support" if COMPILE_TEST 198 select CLK_RENESAS_CPG_MSTP 199 select CLK_RENESAS_DIV6 200 201 202# Family 203config CLK_RCAR_CPG_LIB 204 bool "CPG/MSSR library functions" if COMPILE_TEST 205 206config CLK_RCAR_GEN2_CPG 207 bool "R-Car Gen2 CPG clock support" if COMPILE_TEST 208 select CLK_RENESAS_CPG_MSSR 209 210config CLK_RCAR_GEN3_CPG 211 bool "R-Car Gen3 and RZ/G2 CPG clock support" if COMPILE_TEST 212 select CLK_RCAR_CPG_LIB 213 select CLK_RENESAS_CPG_MSSR 214 215config CLK_RCAR_GEN4_CPG 216 bool "R-Car Gen4 clock support" if COMPILE_TEST 217 select CLK_RCAR_CPG_LIB 218 select CLK_RENESAS_CPG_MSSR 219 220config CLK_RCAR_USB2_CLOCK_SEL 221 bool "R-Car USB2 clock selector support" 222 depends on ARCH_RENESAS || COMPILE_TEST 223 select RESET_CONTROLLER 224 help 225 This is a driver for R-Car USB2 clock selector 226 227config CLK_RZG2L 228 bool "RZ/{G2L,G2UL,G3S,V2L} family clock support" if COMPILE_TEST 229 select RESET_CONTROLLER 230 231# Generic 232config CLK_RENESAS_CPG_MSSR 233 bool "CPG/MSSR clock support" if COMPILE_TEST 234 select CLK_RENESAS_DIV6 235 236config CLK_RENESAS_CPG_MSTP 237 bool "MSTP clock support" if COMPILE_TEST 238 239config CLK_RENESAS_DIV6 240 bool "DIV6 clock support" if COMPILE_TEST 241 242endif # CLK_RENESAS 243