]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: renesas: r9a09g057: Add clock and reset entries for TSU
authorOvidiu Panait <ovidiu.panait.rb@renesas.com>
Mon, 20 Oct 2025 14:31:05 +0000 (14:31 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Oct 2025 14:31:01 +0000 (16:31 +0200)
Add module clock and reset entries for the TSU0 and TSU1 blocks on the
Renesas RZ/V2H (R9A09G057) SoC.

Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251020143107.13974-2-ovidiu.panait.rb@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a09g057-cpg.c

index c9c117c6782cb281b987ecfcece572961138ee7c..4684af31177eb9d8f29e8a469609c9b3b5bb5493 100644 (file)
@@ -387,6 +387,10 @@ static const struct rzv2h_mod_clk r9a09g057_mod_clks[] __initconst = {
                                                BUS_MSTOP(3, BIT(4))),
        DEF_MOD("gpu_0_ace_clk",                CLK_PLLDTY_ACPU_DIV2, 15, 2, 7, 18,
                                                BUS_MSTOP(3, BIT(4))),
+       DEF_MOD("tsu_0_pclk",                   CLK_QEXTAL, 16, 9, 8, 9,
+                                               BUS_MSTOP(5, BIT(2))),
+       DEF_MOD("tsu_1_pclk",                   CLK_QEXTAL, 16, 10, 8, 10,
+                                               BUS_MSTOP(2, BIT(15))),
 };
 
 static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
@@ -459,6 +463,8 @@ static const struct rzv2h_reset r9a09g057_resets[] __initconst = {
        DEF_RST(13, 13, 6, 14),         /* GPU_0_RESETN */
        DEF_RST(13, 14, 6, 15),         /* GPU_0_AXI_RESETN */
        DEF_RST(13, 15, 6, 16),         /* GPU_0_ACE_RESETN */
+       DEF_RST(15, 7, 7, 8),           /* TSU_0_PRESETN */
+       DEF_RST(15, 8, 7, 9),           /* TSU_1_PRESETN */
 };
 
 const struct rzv2h_cpg_info r9a09g057_cpg_info __initconst = {