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