diff mbox series

[v2,2/2] clk: renesas: r8a779a0: Add TSC clock

Message ID 20210309161415.2592105-3-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State Superseded
Delegated to: Geert Uytterhoeven
Headers show
Series clk: renesas: r8a779a0: Add clocks to support thermal | expand

Commit Message

Niklas Söderlund March 9, 2021, 4:14 p.m. UTC
Implement support for the TSC clock on V3U.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 drivers/clk/renesas/r8a779a0-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Geert Uytterhoeven March 9, 2021, 4:37 p.m. UTC | #1
Hi Niklas,

On Tue, Mar 9, 2021 at 5:14 PM Niklas Söderlund
<niklas.soderlund+renesas@ragnatech.se> wrote:
> Implement support for the TSC clock on V3U.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Thanks for your patch!

> --- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
> @@ -233,6 +233,7 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
>         DEF_MOD("pfc1",         916,    R8A779A0_CLK_CP),
>         DEF_MOD("pfc2",         917,    R8A779A0_CLK_CP),
>         DEF_MOD("pfc3",         918,    R8A779A0_CLK_CP),
> +       DEF_MOD("tsc",          919,    R8A779A0_CLK_CL16M),

R8A779A0_CLK_CL16MCK?

>         DEF_MOD("vspx0",        1028,   R8A779A0_CLK_S1D1),
>         DEF_MOD("vspx1",        1029,   R8A779A0_CLK_S1D1),
>         DEF_MOD("vspx2",        1030,   R8A779A0_CLK_S1D1),

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
index 52452eff1fbed169..7d8fe3644e8bd3af 100644
--- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
@@ -233,6 +233,7 @@  static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
 	DEF_MOD("pfc1",		916,	R8A779A0_CLK_CP),
 	DEF_MOD("pfc2",		917,	R8A779A0_CLK_CP),
 	DEF_MOD("pfc3",		918,	R8A779A0_CLK_CP),
+	DEF_MOD("tsc",		919,	R8A779A0_CLK_CL16M),
 	DEF_MOD("vspx0",	1028,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vspx1",	1029,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vspx2",	1030,	R8A779A0_CLK_S1D1),