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