@@ -167,7 +167,9 @@ static const struct mssr_mod_clk r8a77970_mod_clks[] __initconst = {
static const unsigned int r8a77970_crit_mod_clks[] __initconst = {
MOD_CLK_ID(408), /* INTC-AP (GIC) */
};
-
+static const unsigned int r8a77970_used_mod_clks[] __initconst = {
+ MOD_CLK_ID(402), /* RWDT */
+};
/*
* CPG Clock Data
@@ -267,6 +269,8 @@ const struct cpg_mssr_info r8a77970_cpg_mssr_info __initconst = {
/* Critical Module Clocks */
.crit_mod_clks = r8a77970_crit_mod_clks,
.num_crit_mod_clks = ARRAY_SIZE(r8a77970_crit_mod_clks),
+ .used_mod_clks = r8a77970_used_mod_clks,
+ .num_used_mod_clks = ARRAY_SIZE(r8a77970_used_mod_clks),
/* Callbacks */
.init = r8a77970_cpg_mssr_init,
Ensures RWDT remains alert throughout the boot process if enabled. Signed-off-by: Ulrich Hecht <uli+renesas@fpond.eu> --- drivers/clk/renesas/r8a77970-cpg-mssr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)