From: Chris Paterson Date: Thu, 14 Dec 2017 09:08:41 +0000 (+0000) Subject: ARM: dts: r8a7793: Correct critical CPU temperature X-Git-Tag: v4.14.83~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=004ef8f590a464bb1977f38d3848b18df225267e;p=users%2Fjedix%2Flinux-maple.git ARM: dts: r8a7793: Correct critical CPU temperature 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 Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 497716b6fbe24..fd12564aabc39 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -88,7 +88,7 @@ trips { cpu-crit { - temperature = <115000>; + temperature = <95000>; hysteresis = <0>; type = "critical"; };