thermal: rcar_gen3_thermal: Add r8a77961 support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 6 Mar 2020 10:55:03 +0000 (11:55 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 20 Mar 2020 11:17:48 +0000 (12:17 +0100)
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>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200306105503.24267-3-geert+renesas@glider.be
drivers/thermal/rcar_gen3_thermal.c

index a2bf9d8074cc4fcfc739541bb78222ebfe46bbd1..58fe7c1ef00b12706d9c8035f7a23a5cafca09a3 100644 (file)
@@ -322,6 +322,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,