1config CLK_RENESAS 2 bool "Renesas SoC clock support" if COMPILE_TEST && !ARCH_RENESAS 3 default y if ARCH_RENESAS 4 select CLK_EMEV2 if ARCH_EMEV2 5 select CLK_RZA1 if ARCH_R7S72100 6 select CLK_R7S9210 if ARCH_R7S9210 7 select CLK_R8A73A4 if ARCH_R8A73A4 8 select CLK_R8A7740 if ARCH_R8A7740 9 select CLK_R8A7743 if ARCH_R8A7743 10 select CLK_R8A7745 if ARCH_R8A7745 11 select CLK_R8A77470 if ARCH_R8A77470 12 select CLK_R8A774A1 if ARCH_R8A774A1 13 select CLK_R8A7778 if ARCH_R8A7778 14 select CLK_R8A7779 if ARCH_R8A7779 15 select CLK_R8A7790 if ARCH_R8A7790 16 select CLK_R8A7791 if ARCH_R8A7791 || ARCH_R8A7793 17 select CLK_R8A7792 if ARCH_R8A7792 18 select CLK_R8A7794 if ARCH_R8A7794 19 select CLK_R8A7795 if ARCH_R8A7795 20 select CLK_R8A7796 if ARCH_R8A7796 21 select CLK_R8A77965 if ARCH_R8A77965 22 select CLK_R8A77970 if ARCH_R8A77970 23 select CLK_R8A77980 if ARCH_R8A77980 24 select CLK_R8A77990 if ARCH_R8A77990 25 select CLK_R8A77995 if ARCH_R8A77995 26 select CLK_R9A06G032 if ARCH_R9A06G032 27 select CLK_SH73A0 if ARCH_SH73A0 28 29if CLK_RENESAS 30 31config CLK_RENESAS_LEGACY 32 bool "Legacy DT clock support" 33 depends on CLK_R8A7790 || CLK_R8A7791 || CLK_R8A7792 || CLK_R8A7794 34 help 35 Enable backward compatibility with old device trees describing a 36 hierarchical representation of the various CPG and MSTP clocks. 37 38 Say Y if you want your kernel to work with old DTBs. 39 It is safe to say N if you use the DTS that is supplied with the 40 current kernel source tree. 41 42# SoC 43config CLK_EMEV2 44 bool "Emma Mobile EV2 clock support" if COMPILE_TEST 45 46config CLK_RZA1 47 bool "RZ/A1H clock support" if COMPILE_TEST 48 select CLK_RENESAS_CPG_MSTP 49 50config CLK_R7S9210 51 bool "RZ/A2 clock support" if COMPILE_TEST 52 select CLK_RENESAS_CPG_MSSR 53 54config CLK_R8A73A4 55 bool "R-Mobile APE6 clock support" if COMPILE_TEST 56 select CLK_RENESAS_CPG_MSTP 57 select CLK_RENESAS_DIV6 58 59config CLK_R8A7740 60 bool "R-Mobile A1 clock support" if COMPILE_TEST 61 select CLK_RENESAS_CPG_MSTP 62 select CLK_RENESAS_DIV6 63 64config CLK_R8A7743 65 bool "RZ/G1M clock support" if COMPILE_TEST 66 select CLK_RCAR_GEN2_CPG 67 68config CLK_R8A7745 69 bool "RZ/G1E clock support" if COMPILE_TEST 70 select CLK_RCAR_GEN2_CPG 71 72config CLK_R8A77470 73 bool "RZ/G1C clock support" if COMPILE_TEST 74 select CLK_RCAR_GEN2_CPG 75 76config CLK_R8A774A1 77 bool "RZ/G2M clock support" if COMPILE_TEST 78 select CLK_RCAR_GEN3_CPG 79 80config CLK_R8A7778 81 bool "R-Car M1A clock support" if COMPILE_TEST 82 select CLK_RENESAS_CPG_MSTP 83 84config CLK_R8A7779 85 bool "R-Car H1 clock support" if COMPILE_TEST 86 select CLK_RENESAS_CPG_MSTP 87 88config CLK_R8A7790 89 bool "R-Car H2 clock support" if COMPILE_TEST 90 select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY 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 if CLK_RENESAS_LEGACY 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 if CLK_RENESAS_LEGACY 103 select CLK_RCAR_GEN2_CPG 104 105config CLK_R8A7794 106 bool "R-Car E2 clock support" if COMPILE_TEST 107 select CLK_RCAR_GEN2 if CLK_RENESAS_LEGACY 108 select CLK_RCAR_GEN2_CPG 109 select CLK_RENESAS_DIV6 110 111config CLK_R8A7795 112 bool "R-Car H3 clock support" if COMPILE_TEST 113 select CLK_RCAR_GEN3_CPG 114 115config CLK_R8A7796 116 bool "R-Car M3-W clock support" if COMPILE_TEST 117 select CLK_RCAR_GEN3_CPG 118 119config CLK_R8A77965 120 bool "R-Car M3-N clock support" if COMPILE_TEST 121 select CLK_RCAR_GEN3_CPG 122 123config CLK_R8A77970 124 bool "R-Car V3M clock support" if COMPILE_TEST 125 select CLK_RCAR_GEN3_CPG 126 127config CLK_R8A77980 128 bool "R-Car V3H clock support" if COMPILE_TEST 129 select CLK_RCAR_GEN3_CPG 130 131config CLK_R8A77990 132 bool "R-Car E3 clock support" if COMPILE_TEST 133 select CLK_RCAR_GEN3_CPG 134 135config CLK_R8A77995 136 bool "R-Car D3 clock support" if COMPILE_TEST 137 select CLK_RCAR_GEN3_CPG 138 139config CLK_R9A06G032 140 bool "Renesas R9A06G032 clock driver" 141 help 142 This is a driver for R9A06G032 clocks 143 144config CLK_SH73A0 145 bool "SH-Mobile AG5 clock support" if COMPILE_TEST 146 select CLK_RENESAS_CPG_MSTP 147 select CLK_RENESAS_DIV6 148 149 150# Family 151config CLK_RCAR_GEN2 152 bool "R-Car Gen2 legacy clock support" if COMPILE_TEST 153 select CLK_RENESAS_CPG_MSTP 154 select CLK_RENESAS_DIV6 155 156config CLK_RCAR_GEN2_CPG 157 bool "R-Car Gen2 CPG clock support" if COMPILE_TEST 158 select CLK_RENESAS_CPG_MSSR 159 160config CLK_RCAR_GEN3_CPG 161 bool "R-Car Gen3 CPG clock support" if COMPILE_TEST 162 select CLK_RENESAS_CPG_MSSR 163 164config CLK_RCAR_USB2_CLOCK_SEL 165 bool "Renesas R-Car USB2 clock selector support" 166 depends on ARCH_RENESAS || COMPILE_TEST 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