ARM: dts: r8a7791: Correct critical CPU temperature
authorChris Paterson <chris.paterson2@renesas.com>
Thu, 14 Dec 2017 09:08:40 +0000 (09:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 07:19:27 +0000 (08:19 +0100)
commit e4fdf59bcce3b490bbc7197145bcb9f9d5a18cd3 upstream.

The R-Car M2W 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: cac68a56e34b9810 ("ARM: dts: r8a7791: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/r8a7791.dtsi

index f1d1a97..0aceb37 100644 (file)
@@ -91,7 +91,7 @@
 
                        trips {
                                cpu-crit {
-                                       temperature     = <115000>;
+                                       temperature     = <95000>;
                                        hysteresis      = <0>;
                                        type            = "critical";
                                };