Disable thermal throttle/shutdown
- The temperature we read back does not seem to be accurate, and varies
a lot unit-to-unit, perhaps due to bad calibration. Since the data is
not trustworthy, disable throttling based on it for the moment.
Change-Id: If01bd71ec7e1140a3ab257c96c4156c005519c5b
(cherry picked from commit 6c43d69508a8761a2cbfc886b77a56886740be64)
diff --git a/arch/arm64/boot/dts/mediatek/mt8167-coral.dts b/arch/arm64/boot/dts/mediatek/mt8167-coral.dts
index 2398b2e..1b0a4ab 100644
--- a/arch/arm64/boot/dts/mediatek/mt8167-coral.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8167-coral.dts
@@ -151,56 +151,56 @@
thermal-sensors = <&thermal>;
- trips {
- cpu_alert0: trip0 {
- temperature = <85000>;
- hysteresis = <2000>;
- type = "passive";
- };
+ // trips {
+ // cpu_alert0: trip0 {
+ // temperature = <85000>;
+ // hysteresis = <2000>;
+ // type = "passive";
+ // };
- cpu_alert1: trip1 {
- temperature = <90000>;
- hysteresis = <2000>;
- type = "passive";
- };
+ // cpu_alert1: trip1 {
+ // temperature = <90000>;
+ // hysteresis = <2000>;
+ // type = "passive";
+ // };
- cpu_alert2: trip2 {
- temperature = <95000>;
- hysteresis = <2000>;
- type = "passive";
- };
+ // cpu_alert2: trip2 {
+ // temperature = <95000>;
+ // hysteresis = <2000>;
+ // type = "passive";
+ // };
- cpu_alert3: trip3 {
- temperature = <100000>;
- hysteresis = <2000>;
- type = "passive";
- };
+ // cpu_alert3: trip3 {
+ // temperature = <100000>;
+ // hysteresis = <2000>;
+ // type = "passive";
+ // };
- cpu_crit0: trip4 {
- temperature = <105000>;
- hysteresis = <2000>;
- type = "critical";
- };
- };
+ // cpu_crit0: trip4 {
+ // temperature = <105000>;
+ // hysteresis = <2000>;
+ // type = "critical";
+ // };
+ // };
- cooling-maps {
- map0 {
- trip = <&cpu_alert0>;
- cooling-device = <&cpu0 0 4>;
- };
- map1 {
- trip = <&cpu_alert1>;
- cooling-device = <&cpu0 0 3>;
- };
- map2 {
- trip = <&cpu_alert2>;
- cooling-device = <&cpu0 0 2>;
- };
- map3 {
- trip = <&cpu_alert3>;
- cooling-device = <&cpu0 0 1>;
- };
- };
+ // cooling-maps {
+ // map0 {
+ // trip = <&cpu_alert0>;
+ // cooling-device = <&cpu0 0 4>;
+ // };
+ // map1 {
+ // trip = <&cpu_alert1>;
+ // cooling-device = <&cpu0 0 3>;
+ // };
+ // map2 {
+ // trip = <&cpu_alert2>;
+ // cooling-device = <&cpu0 0 2>;
+ // };
+ // map3 {
+ // trip = <&cpu_alert3>;
+ // cooling-device = <&cpu0 0 1>;
+ // };
+ // };
};
};
};