diff mbox series

clk: renesas: r8a779h0: Add thermal clock

Message ID befac3e8342cd552f580d34be863ef84403c541f.1709722056.git.geert+renesas@glider.be (mailing list archive)
State Awaiting Upstream, archived
Headers show
Series clk: renesas: r8a779h0: Add thermal clock | expand

Commit Message

Geert Uytterhoeven March 6, 2024, 10:52 a.m. UTC
Add the module clock used by the Thermal Sensor/Chip Internal Voltage
Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4M
(R8A779H0) SoC.

Based on a patch in the BSP by Cong Dang.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be queued in renesas-clk for v6.10.

Changes compared to the BSP:
  - Rename "thermal" to "tsc2:tsc1".
---
 drivers/clk/renesas/r8a779h0-cpg-mssr.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Niklas Söderlund March 6, 2024, 12:30 p.m. UTC | #1
Hi Geert,

Thanks for your patch.

On 2024-03-06 11:52:04 +0100, Geert Uytterhoeven wrote:
> Add the module clock used by the Thermal Sensor/Chip Internal Voltage
> Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4M
> (R8A779H0) SoC.
> 
> Based on a patch in the BSP by Cong Dang.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
> To be queued in renesas-clk for v6.10.
> 
> Changes compared to the BSP:
>   - Rename "thermal" to "tsc2:tsc1".
> ---
>  drivers/clk/renesas/r8a779h0-cpg-mssr.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/renesas/r8a779h0-cpg-mssr.c b/drivers/clk/renesas/r8a779h0-cpg-mssr.c
> index 71f67a1c86d80f4c..5c48e645f0c3197d 100644
> --- a/drivers/clk/renesas/r8a779h0-cpg-mssr.c
> +++ b/drivers/clk/renesas/r8a779h0-cpg-mssr.c
> @@ -192,6 +192,7 @@ static const struct mssr_mod_clk r8a779h0_mod_clks[] = {
>  	DEF_MOD("pfc0",		915,	R8A779H0_CLK_CP),
>  	DEF_MOD("pfc1",		916,	R8A779H0_CLK_CP),
>  	DEF_MOD("pfc2",		917,	R8A779H0_CLK_CP),
> +	DEF_MOD("tsc2:tsc1",	919,	R8A779H0_CLK_CL16M),
>  };
>  
>  /*
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/clk/renesas/r8a779h0-cpg-mssr.c b/drivers/clk/renesas/r8a779h0-cpg-mssr.c
index 71f67a1c86d80f4c..5c48e645f0c3197d 100644
--- a/drivers/clk/renesas/r8a779h0-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a779h0-cpg-mssr.c
@@ -192,6 +192,7 @@  static const struct mssr_mod_clk r8a779h0_mod_clks[] = {
 	DEF_MOD("pfc0",		915,	R8A779H0_CLK_CP),
 	DEF_MOD("pfc1",		916,	R8A779H0_CLK_CP),
 	DEF_MOD("pfc2",		917,	R8A779H0_CLK_CP),
+	DEF_MOD("tsc2:tsc1",	919,	R8A779H0_CLK_CL16M),
 };
 
 /*