Commit f23f1101 authored by Ulrich Hecht's avatar Ulrich Hecht Committed by Geert Uytterhoeven

clk: renesas: rcar-gen3: Mark RWDT clocks as critical

Ensures RWDT remains alert throughout the boot process if enabled.

This patch applies the change to the following SoCs: r8a77950, r8a77951,
r8a77960, r8a77961, r8a77965, r8a77970, r8a77980, r8a77990 and r8a77995.
Signed-off-by: default avatarUlrich Hecht <uli+renesas@fpond.eu>
Link: https://lore.kernel.org/r/20200616162626.27944-3-uli+renesas@fpond.euSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent ed4a1180
...@@ -287,10 +287,10 @@ static struct mssr_mod_clk r8a7795_mod_clks[] __initdata = { ...@@ -287,10 +287,10 @@ static struct mssr_mod_clk r8a7795_mod_clks[] __initdata = {
}; };
static const unsigned int r8a7795_crit_mod_clks[] __initconst = { static const unsigned int r8a7795_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
/* /*
* CPG Clock Data * CPG Clock Data
*/ */
......
...@@ -262,10 +262,10 @@ static struct mssr_mod_clk r8a7796_mod_clks[] __initdata = { ...@@ -262,10 +262,10 @@ static struct mssr_mod_clk r8a7796_mod_clks[] __initdata = {
}; };
static const unsigned int r8a7796_crit_mod_clks[] __initconst = { static const unsigned int r8a7796_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
/* /*
* CPG Clock Data * CPG Clock Data
*/ */
......
...@@ -263,6 +263,7 @@ static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = { ...@@ -263,6 +263,7 @@ static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = {
}; };
static const unsigned int r8a77965_crit_mod_clks[] __initconst = { static const unsigned int r8a77965_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
......
...@@ -165,10 +165,10 @@ static const struct mssr_mod_clk r8a77970_mod_clks[] __initconst = { ...@@ -165,10 +165,10 @@ static const struct mssr_mod_clk r8a77970_mod_clks[] __initconst = {
}; };
static const unsigned int r8a77970_crit_mod_clks[] __initconst = { static const unsigned int r8a77970_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
/* /*
* CPG Clock Data * CPG Clock Data
*/ */
......
...@@ -180,10 +180,10 @@ static const struct mssr_mod_clk r8a77980_mod_clks[] __initconst = { ...@@ -180,10 +180,10 @@ static const struct mssr_mod_clk r8a77980_mod_clks[] __initconst = {
}; };
static const unsigned int r8a77980_crit_mod_clks[] __initconst = { static const unsigned int r8a77980_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
/* /*
* CPG Clock Data * CPG Clock Data
*/ */
......
...@@ -245,6 +245,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = { ...@@ -245,6 +245,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = {
}; };
static const unsigned int r8a77990_crit_mod_clks[] __initconst = { static const unsigned int r8a77990_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
......
...@@ -183,10 +183,10 @@ static const struct mssr_mod_clk r8a77995_mod_clks[] __initconst = { ...@@ -183,10 +183,10 @@ static const struct mssr_mod_clk r8a77995_mod_clks[] __initconst = {
}; };
static const unsigned int r8a77995_crit_mod_clks[] __initconst = { static const unsigned int r8a77995_crit_mod_clks[] __initconst = {
MOD_CLK_ID(402), /* RWDT */
MOD_CLK_ID(408), /* INTC-AP (GIC) */ MOD_CLK_ID(408), /* INTC-AP (GIC) */
}; };
/* /*
* CPG Clock Data * CPG Clock Data
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment