diff mbox series

[2/2] clk: renesas: r8a779a0: Add THS/TSC clock

Message ID 20201126221416.3110341-3-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
State Changes Requested, archived
Headers show
Series clk: renesas: r8a779a0: Add clocks to support thermal | expand

Commit Message

Niklas Söderlund Nov. 26, 2020, 10:14 p.m. UTC
Implement support for the THS/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 Nov. 27, 2020, 9:13 a.m. UTC | #1
Hi Niklas,

On Thu, Nov 26, 2020 at 11:14 PM Niklas Söderlund
<niklas.soderlund+renesas@ragnatech.se> wrote:
> Implement support for the THS/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
> @@ -190,6 +190,7 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
>         DEF_MOD("vin35",        827,    R8A779A0_CLK_S1D1),
>         DEF_MOD("vin36",        828,    R8A779A0_CLK_S1D1),
>         DEF_MOD("vin37",        829,    R8A779A0_CLK_S1D1),
> +       DEF_MOD("thermal",      919,    R8A779A0_CLK_CP),
>  };

The R-Car V3U Series User's Manual calls this clock "tsc", and states its
parent is "cl16m".

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 7bf7a98cdb7bb5be..528f5700a02023bb 100644
--- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c
@@ -190,6 +190,7 @@  static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = {
 	DEF_MOD("vin35",	827,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vin36",	828,	R8A779A0_CLK_S1D1),
 	DEF_MOD("vin37",	829,	R8A779A0_CLK_S1D1),
+	DEF_MOD("thermal",      919,    R8A779A0_CLK_CP),
 };
 
 static spinlock_t cpg_lock;