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