]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: dts: r8a7793: Correct critical CPU temperature
authorChris Paterson <chris.paterson2@renesas.com>
Thu, 14 Dec 2017 09:08:41 +0000 (09:08 +0000)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:59:57 +0000 (19:59 -0600)
BugLink: https://bugs.launchpad.net/bugs/1836968
commit 1dfc65cef481ac6af64380f26186d5cc585b46eb upstream.

The R-Car M2N 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: 57f9156bc620ac56 ("ARM: dts: r8a7793: 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>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/boot/dts/r8a7793.dtsi

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