ARM: tegra: nexus7: Improve thermal zones
authorDmitry Osipenko <digetx@gmail.com>
Mon, 10 May 2021 20:25:58 +0000 (23:25 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 31 May 2021 08:56:16 +0000 (10:56 +0200)
Remove unused thermal zone just to clean up device-tree and set critical
temperature further apart from the passive cooling trip point since
during or thermal testing of Asus Transformer devices we found that CPU
could reach the critical temperature in a certain kernel configurations
for a brief moment if critical trip point is set close to the passive
trip point and then device will be immediately shut off without getting
a chance to cool down using passive cooling.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi

index dc773b1..3376d06 100644 (file)
        };
 
        thermal-zones {
-               skin-thermal {
-                       polling-delay-passive = <1000>; /* milliseconds */
-                       polling-delay = <0>; /* milliseconds */
-
-                       thermal-sensors = <&nct72 0>;
-               };
-
                cpu-thermal {
                        polling-delay-passive = <1000>; /* milliseconds */
                        polling-delay = <5000>; /* milliseconds */
                                };
 
                                trip1: cpu-crit {
-                                       /* shut down at 60C */
-                                       temperature = <60000>;
+                                       /* shut down at 65C */
+                                       temperature = <65000>;
                                        hysteresis = <2000>;
                                        type = "critical";
                                };