diff mbox series

[2/2] thermal: rcar_gen3_thermal: Add r8a77961 support

Message ID 20200306105503.24267-3-geert+renesas@glider.be (mailing list archive)
State New, archived
Delegated to: Daniel Lezcano
Headers show
Series thermal: Add support for Renesas R-Car M3-W+ | expand

Commit Message

Geert Uytterhoeven March 6, 2020, 10:55 a.m. UTC
Add support for the Thermal Sensor/Chip Internal Voltage Monitor in the
R-Car M3-W+ (R8A77961) SoC.

According to the R-Car Gen3 Hardware Manual Errata for Revision 2.00 of
Jan 31, 2020, the thermal parameters for R-Car M3-W+ are the same as for
R-Car M3-W.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/thermal/rcar_gen3_thermal.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Niklas Söderlund March 8, 2020, 4:27 p.m. UTC | #1
Hi Geert,

Thanks for your patch.

On 2020-03-06 11:55:03 +0100, Geert Uytterhoeven wrote:
> Add support for the Thermal Sensor/Chip Internal Voltage Monitor in the
> R-Car M3-W+ (R8A77961) SoC.
> 
> According to the R-Car Gen3 Hardware Manual Errata for Revision 2.00 of
> Jan 31, 2020, the thermal parameters for R-Car M3-W+ are the same as for
> R-Car M3-W.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

> ---
>  drivers/thermal/rcar_gen3_thermal.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/thermal/rcar_gen3_thermal.c b/drivers/thermal/rcar_gen3_thermal.c
> index 72877bdc072daaed..a6b0c31f1509c45c 100644
> --- a/drivers/thermal/rcar_gen3_thermal.c
> +++ b/drivers/thermal/rcar_gen3_thermal.c
> @@ -324,6 +324,10 @@ static const struct of_device_id rcar_gen3_thermal_dt_ids[] = {
>  		.compatible = "renesas,r8a7796-thermal",
>  		.data = &rcar_gen3_ths_tj_1_m3_w,
>  	},
> +	{
> +		.compatible = "renesas,r8a77961-thermal",
> +		.data = &rcar_gen3_ths_tj_1_m3_w,
> +	},
>  	{
>  		.compatible = "renesas,r8a77965-thermal",
>  		.data = &rcar_gen3_ths_tj_1,
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/thermal/rcar_gen3_thermal.c b/drivers/thermal/rcar_gen3_thermal.c
index 72877bdc072daaed..a6b0c31f1509c45c 100644
--- a/drivers/thermal/rcar_gen3_thermal.c
+++ b/drivers/thermal/rcar_gen3_thermal.c
@@ -324,6 +324,10 @@  static const struct of_device_id rcar_gen3_thermal_dt_ids[] = {
 		.compatible = "renesas,r8a7796-thermal",
 		.data = &rcar_gen3_ths_tj_1_m3_w,
 	},
+	{
+		.compatible = "renesas,r8a77961-thermal",
+		.data = &rcar_gen3_ths_tj_1_m3_w,
+	},
 	{
 		.compatible = "renesas,r8a77965-thermal",
 		.data = &rcar_gen3_ths_tj_1,