Skip to content

Commit 883d155

Browse files
geerturafaeljw
authored andcommitted
thermal/drivers/rcar_gen3: Add support for R-Car V4H
Add support for the Thermal Sensor/Chip Internal Voltage Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4H (R8A779G0) SoC. According to the R-Car V4H Hardware User's Manual Rev. 0.70, the (preliminary) conversion formula for the thermal sensor is the same as for most other R-Car Gen3 and Gen4 SoCs, while the (preliminary) conversion formula for the chip internal voltage monitor differs. As the driver only uses the former, no further changes are needed. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Link: https://lore.kernel.org/r/852048eb5f4cc001be7a97744f4c5caea912d071.1675958665.git.geert+renesas@glider.be Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4c27a32 commit 883d155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/thermal/rcar_gen3_thermal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,10 @@ static const struct of_device_id rcar_gen3_thermal_dt_ids[] = {
403403
.compatible = "renesas,r8a779f0-thermal",
404404
.data = &rcar_gen3_ths_tj_1,
405405
},
406+
{
407+
.compatible = "renesas,r8a779g0-thermal",
408+
.data = &rcar_gen3_ths_tj_1,
409+
},
406410
{},
407411
};
408412
MODULE_DEVICE_TABLE(of, rcar_gen3_thermal_dt_ids);

0 commit comments

Comments
 (0)