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_R8A7743 if ARCH_R8A7743 || ARCH_R8A7744 12 select CLK_R8A7745 if ARCH_R8A7745 13 select CLK_R8A77470 if ARCH_R8A77470 14 select CLK_R8A774A1 if ARCH_R8A774A1 15 select CLK_R8A774B1 if ARCH_R8A774B1 16 select CLK_R8A774C0 if ARCH_R8A774C0 17 select CLK_R8A7778 if ARCH_R8A7778 18 select CLK_R8A7779 if ARCH_R8A7779 19 select CLK_R8A7790 if ARCH_R8A7790 20 select CLK_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793 21 select CLK_R8A7792 if ARCH_R8A7792 22 select CLK_R8A7794 if ARCH_R8A7794 23 select CLK_R8A7795 if ARCH_R8A77950 || ARCH_R8A77951 24 select CLK_R8A77960 if ARCH_R8A77960 25 select CLK_R8A77961 if ARCH_R8A77961 26 select CLK_R8A77965 if ARCH_R8A77965 27 select CLK_R8A77970 if ARCH_R8A77970 28 select CLK_R8A77980 if ARCH_R8A77980 29 select CLK_R8A77990 if ARCH_R8A77990 30 select CLK_R8A77995 if ARCH_R8A77995 31 select CLK_R9A06G032 if ARCH_R9A06G032 32 select CLK_SH73A0 if ARCH_SH73A0 33 34if CLK_RENESAS 35 36# SoC 37config CLK_EMEV2 38 bool "Emma Mobile EV2 clock support" if COMPILE_TEST 39 40config CLK_RZA1 41 bool "RZ/A1H clock support" if COMPILE_TEST 42 select CLK_RENESAS_CPG_MSTP 43 44config CLK_R7S9210 45 bool "RZ/A2 clock support" if COMPILE_TEST 46 select CLK_RENESAS_CPG_MSSR 47 48config CLK_R8A73A4 49 bool "R-Mobile APE6 clock support" if COMPILE_TEST 50 select CLK_RENESAS_CPG_MSTP 51 select CLK_RENESAS_DIV6 52 53config CLK_R8A7740 54 bool "R-Mobile A1 clock support" if COMPILE_TEST 55 select CLK_RENESAS_CPG_MSTP 56 select CLK_RENESAS_DIV6 57 58config CLK_R8A7743 59 bool "RZ/G1M clock support" if COMPILE_TEST 60 select CLK_RCAR_GEN2_CPG 61 62config CLK_R8A7745 63 bool "RZ/G1E clock support" if COMPILE_TEST 64 select CLK_RCAR_GEN2_CPG 65 66config CLK_R8A77470 67 bool "RZ/G1C clock support" if COMPILE_TEST 68 select CLK_RCAR_GEN2_CPG 69 70config CLK_R8A774A1 71 bool "RZ/G2M clock support" if COMPILE_TEST 72 select CLK_RCAR_GEN3_CPG 73 74config CLK_R8A774B1 75 bool "RZ/G2N clock support" if COMPILE_TEST 76 select CLK_RCAR_GEN3_CPG 77 78config CLK_R8A774C0 79 bool "RZ/G2E clock support" if COMPILE_TEST 80 select CLK_RCAR_GEN3_CPG 81 82config CLK_R8A7778 83 bool "R-Car M1A clock support" if COMPILE_TEST 84 select CLK_RENESAS_CPG_MSTP 85 86config CLK_R8A7779 87 bool "R-Car H1 clock support" if COMPILE_TEST 88 select CLK_RENESAS_CPG_MSTP 89 90config CLK_R8A7790 91 bool "R-Car H2 clock support" if COMPILE_TEST 92 select CLK_RCAR_GEN2_CPG 93 select CLK_RENESAS_DIV6 94 95config CLK_R8A7791 96 bool "R-Car M2-W/N clock support" if COMPILE_TEST 97 select CLK_RCAR_GEN2_CPG 98 select CLK_RENESAS_DIV6 99 100config CLK_R8A7792 101 bool "R-Car V2H clock support" if COMPILE_TEST 102 select CLK_RCAR_GEN2_CPG 103 104config CLK_R8A7794 105 bool "R-Car E2 clock support" if COMPILE_TEST 106 select CLK_RCAR_GEN2_CPG 107 select CLK_RENESAS_DIV6 108 109config CLK_R8A7795 110 bool "R-Car H3 clock support" if COMPILE_TEST 111 select CLK_RCAR_GEN3_CPG 112 113config CLK_R8A77960 114 bool "R-Car M3-W clock support" if COMPILE_TEST 115 select CLK_RCAR_GEN3_CPG 116 117config CLK_R8A77961 118 bool "R-Car M3-W+ clock support" if COMPILE_TEST 119 select CLK_RCAR_GEN3_CPG 120 121config CLK_R8A77965 122 bool "R-Car M3-N clock support" if COMPILE_TEST 123 select CLK_RCAR_GEN3_CPG 124 125config CLK_R8A77970 126 bool "R-Car V3M clock support" if COMPILE_TEST 127 select CLK_RCAR_GEN3_CPG 128 129config CLK_R8A77980 130 bool "R-Car V3H clock support" if COMPILE_TEST 131 select CLK_RCAR_GEN3_CPG 132 133config CLK_R8A77990 134 bool "R-Car E3 clock support" if COMPILE_TEST 135 select CLK_RCAR_GEN3_CPG 136 137config CLK_R8A77995 138 bool "R-Car D3 clock support" if COMPILE_TEST 139 select CLK_RCAR_GEN3_CPG 140 141config CLK_R9A06G032 142 bool "Renesas R9A06G032 clock driver" 143 help 144 This is a driver for R9A06G032 clocks 145 146config CLK_SH73A0 147 bool "SH-Mobile AG5 clock support" if COMPILE_TEST 148 select CLK_RENESAS_CPG_MSTP 149 select CLK_RENESAS_DIV6 150 151 152# Family 153config CLK_RCAR_GEN2_CPG 154 bool "R-Car Gen2 CPG clock support" if COMPILE_TEST 155 select CLK_RENESAS_CPG_MSSR 156 157config CLK_RCAR_GEN3_CPG 158 bool "R-Car Gen3 CPG clock support" if COMPILE_TEST 159 select CLK_RENESAS_CPG_MSSR 160 161config CLK_RCAR_USB2_CLOCK_SEL 162 bool "Renesas R-Car USB2 clock selector support" 163 depends on ARCH_RENESAS || COMPILE_TEST 164 select RESET_CONTROLLER 165 help 166 This is a driver for R-Car USB2 clock selector 167 168# Generic 169config CLK_RENESAS_CPG_MSSR 170 bool "CPG/MSSR clock support" if COMPILE_TEST 171 select CLK_RENESAS_DIV6 172 173config CLK_RENESAS_CPG_MSTP 174 bool "MSTP clock support" if COMPILE_TEST 175 176config CLK_RENESAS_DIV6 177 bool "DIV6 clock support" if COMPILE_TEST 178 179endif # CLK_RENESAS 180