]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: r8a7790: Correct critical CPU temperature
authorChris Paterson <chris.paterson2@renesas.com>
Thu, 14 Dec 2017 09:08:39 +0000 (09:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:52:47 +0000 (14:52 +0100)
commit fcab5651fae4258a993170b7aaf443adbd3d4d84 upstream

The R-Car H2 hardware manual states that Tc = –40°C to +105°C. The
thermal sensor has an accuracy of ±5°C and there can be a temperature
difference of 1 or 2 degrees between Tjmax and the thermal sensor due
to the location of the latter.

This means that 95°C is a safer value to use.

Fixes: a8b805f3606f7af7 ("ARM: dts: r8a7790: enable to use thermal-zone")
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/r8a7790.dtsi

index 16358bf8d1dbffdceceeb53124bf45dea8ae31ec..97e8b9b0b7501b9878c86ef1856357bf2ec5d6f6 100644 (file)
 
                        trips {
                                cpu-crit {
-                                       temperature     = <115000>;
+                                       temperature     = <95000>;
                                        hysteresis      = <0>;
                                        type            = "critical";
                                };