From: Geert Uytterhoeven Date: Fri, 6 Mar 2020 10:55:03 +0000 (+0100) Subject: thermal: rcar_gen3_thermal: Add r8a77961 support X-Git-Tag: v5.7-rc1~52^2~31 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8d74bf79dfd51fa84a5b99ada868c09488e633e8;p=users%2Fwilly%2Flinux.git thermal: rcar_gen3_thermal: Add r8a77961 support 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 Reviewed-by: Niklas Söderlund Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200306105503.24267-3-geert+renesas@glider.be --- diff --git a/drivers/thermal/rcar_gen3_thermal.c b/drivers/thermal/rcar_gen3_thermal.c index a2bf9d8074cc..58fe7c1ef00b 100644 --- a/drivers/thermal/rcar_gen3_thermal.c +++ b/drivers/thermal/rcar_gen3_thermal.c @@ -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,