Skip to content

Commit 52bc5ea

Browse files
Ulrich Hechtgeertu
authored andcommitted
clk: renesas: rzg2: Mark RWDT clocks as critical
Ensures RWDT remains alert throughout the boot process if enabled. This patch applies the change to the following SoCs: r8a774a1, r8a774b1 and r8a774c0. Signed-off-by: Ulrich Hecht <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent f23f110 commit 52bc5ea

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

drivers/clk/renesas/r8a774a1-cpg-mssr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ static const struct mssr_mod_clk r8a774a1_mod_clks[] __initconst = {
237237
};
238238

239239
static const unsigned int r8a774a1_crit_mod_clks[] __initconst = {
240+
MOD_CLK_ID(402), /* RWDT */
240241
MOD_CLK_ID(408), /* INTC-AP (GIC) */
241242
};
242243

drivers/clk/renesas/r8a774b1-cpg-mssr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ static const struct mssr_mod_clk r8a774b1_mod_clks[] __initconst = {
233233
};
234234

235235
static const unsigned int r8a774b1_crit_mod_clks[] __initconst = {
236+
MOD_CLK_ID(402), /* RWDT */
236237
MOD_CLK_ID(408), /* INTC-AP (GIC) */
237238
};
238239

drivers/clk/renesas/r8a774c0-cpg-mssr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ static const struct mssr_mod_clk r8a774c0_mod_clks[] __initconst = {
238238
};
239239

240240
static const unsigned int r8a774c0_crit_mod_clks[] __initconst = {
241+
MOD_CLK_ID(402), /* RWDT */
241242
MOD_CLK_ID(408), /* INTC-AP (GIC) */
242243
};
243244

0 commit comments

Comments
 (0)