[PATCH] clk: renesas: r9a08g046: Add IA55_PCLK to critical module clocks

Biju posted 1 patch 1 month, 2 weeks ago
drivers/clk/renesas/r9a08g046-cpg.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] clk: renesas: r9a08g046: Add IA55_PCLK to critical module clocks
Posted by Biju 1 month, 2 weeks ago
From: Biju Das <biju.das.jz@bp.renesas.com>

Add R9A08G046_IA55_PCLK to the critical module clocks list to prevent
the clock from being gated during suspend, as it is required for the
interrupt controller (IA55) to function correctly.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 drivers/clk/renesas/r9a08g046-cpg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/renesas/r9a08g046-cpg.c b/drivers/clk/renesas/r9a08g046-cpg.c
index ce9503c3cfd1..0004b9516fdf 100644
--- a/drivers/clk/renesas/r9a08g046-cpg.c
+++ b/drivers/clk/renesas/r9a08g046-cpg.c
@@ -312,6 +312,7 @@ static const struct rzg2l_reset r9a08g046_resets[] = {
 
 static const unsigned int r9a08g046_crit_mod_clks[] __initconst = {
 	MOD_CLK_BASE + R9A08G046_GIC600_GICCLK,
+	MOD_CLK_BASE + R9A08G046_IA55_PCLK,
 	MOD_CLK_BASE + R9A08G046_IA55_CLK,
 	MOD_CLK_BASE + R9A08G046_DMAC_ACLK,
 };
-- 
2.43.0
Re: [PATCH] clk: renesas: r9a08g046: Add IA55_PCLK to critical module clocks
Posted by Geert Uytterhoeven 1 month, 1 week ago
Hi Biju,

On Thu, 30 Apr 2026 at 12:08, Biju <biju.das.au@gmail.com> wrote:
> From: Biju Das <biju.das.jz@bp.renesas.com>
>
> Add R9A08G046_IA55_PCLK to the critical module clocks list to prevent
> the clock from being gated during suspend, as it is required for the
> interrupt controller (IA55) to function correctly.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Thanks for your patch!

> --- a/drivers/clk/renesas/r9a08g046-cpg.c
> +++ b/drivers/clk/renesas/r9a08g046-cpg.c
> @@ -312,6 +312,7 @@ static const struct rzg2l_reset r9a08g046_resets[] = {
>
>  static const unsigned int r9a08g046_crit_mod_clks[] __initconst = {
>         MOD_CLK_BASE + R9A08G046_GIC600_GICCLK,
> +       MOD_CLK_BASE + R9A08G046_IA55_PCLK,
>         MOD_CLK_BASE + R9A08G046_IA55_CLK,
>         MOD_CLK_BASE + R9A08G046_DMAC_ACLK,
>  };

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk for v7.2.
Or is this critical, and thus a fix for v7.1?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds