clk: renesas: r8a779g0: Add TMU and SASYNCRT clocks
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 3 Nov 2022 20:55:42 +0000 (21:55 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 8 Nov 2022 13:23:59 +0000 (14:23 +0100)
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20221103205546.24836-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r8a779g0-cpg-mssr.c

index 5cc0dc9149bcb7d526544b44616ce3e614c6120b..7f0b4f75ff4d812c6200da23037bf6b8897c8994 100644 (file)
@@ -130,6 +130,7 @@ static const struct cpg_core_clk r8a779g0_core_clks[] __initconst = {
        DEF_FIXED("s0d4_hsc",   R8A779G0_CLK_S0D4_HSC,  CLK_S0_HSC,     4, 1),
        DEF_FIXED("cl16m_hsc",  R8A779G0_CLK_CL16M_HSC, CLK_S0_HSC,     48, 1),
        DEF_FIXED("s0d2_cc",    R8A779G0_CLK_S0D2_CC,   CLK_S0,         2, 1),
+       DEF_FIXED("sasyncrt",   R8A779G0_CLK_SASYNCRT,  CLK_PLL5_DIV4,  48, 1),
        DEF_FIXED("sasyncperd1",R8A779G0_CLK_SASYNCPERD1, CLK_SASYNCPER,1, 1),
        DEF_FIXED("sasyncperd2",R8A779G0_CLK_SASYNCPERD2, CLK_SASYNCPER,2, 1),
        DEF_FIXED("sasyncperd4",R8A779G0_CLK_SASYNCPERD4, CLK_SASYNCPER,4, 1),
@@ -185,6 +186,11 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {
        DEF_MOD("sdhi",         706,    R8A779G0_CLK_SD0),
        DEF_MOD("sydm0",        709,    R8A779G0_CLK_S0D6_PER),
        DEF_MOD("sydm1",        710,    R8A779G0_CLK_S0D6_PER),
+       DEF_MOD("tmu0",         713,    R8A779G0_CLK_SASYNCRT),
+       DEF_MOD("tmu1",         714,    R8A779G0_CLK_SASYNCPERD2),
+       DEF_MOD("tmu2",         715,    R8A779G0_CLK_SASYNCPERD2),
+       DEF_MOD("tmu3",         716,    R8A779G0_CLK_SASYNCPERD2),
+       DEF_MOD("tmu4",         717,    R8A779G0_CLK_SASYNCPERD2),
        DEF_MOD("tpu0",         718,    R8A779G0_CLK_SASYNCPERD4),
        DEF_MOD("wdt1:wdt0",    907,    R8A779G0_CLK_R),
        DEF_MOD("pfc0",         915,    R8A779G0_CLK_CL16M),