ARM: dts: qcom: Add cx regulator cooling device in zeroc thermal-zone

Add cooling device to monitor cold temperature
interrupts.
Use "hot" trip type for thermal zone software shutdown trip
for all thermal zones. It just notifies userspace thermal
manager which in turn triggers a graceful shutdown.

Change-Id: Id82d4f29e839e31742fb4d02859984f4584d148a
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
This commit is contained in:
Nitesh Kumar
2024-07-05 17:38:10 +05:30
parent 2e80498372
commit 5542d27939
3 changed files with 82 additions and 82 deletions

View File

@@ -384,16 +384,16 @@
type = "passive"; type = "passive";
}; };
pmi632_trip1: trip1 { trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
trip2 { trip2 {
temperature = <145000>; temperature = <145000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "critical";
}; };
}; };
}; };

View File

@@ -270,7 +270,7 @@
trip1 { trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
trip2 { trip2 {

View File

@@ -285,17 +285,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu0_emerg: cpu0-emerg-cfg { cpu0_emerg: cpu0-emerg-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -323,17 +323,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu1_emerg: cpu1-emerg-cfg { cpu1_emerg: cpu1-emerg-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -361,17 +361,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu2_emerg: cpu2-emerg-cfg { cpu2_emerg: cpu2-emerg-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -399,17 +399,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu3_emerg: cpu3-emerg-cfg { cpu3_emerg: cpu3-emerg-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -437,17 +437,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu4_emerg: cpu4-emerg-cfg { cpu4_emerg: cpu4-emerg-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -475,17 +475,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu5_emerg: cpu5-emerg-cfg { cpu5_emerg: cpu5-emerg-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -509,8 +509,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -528,8 +528,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -551,17 +551,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu6_emerg0: cpu6-emerg0-cfg { cpu6_emerg0: cpu6-emerg0-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -589,17 +589,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
cpu6_emerg1: cpu6-emerg1-cfg { cpu6_emerg1: cpu6-emerg1-cfg {
temperature = <110000>; temperature = <110000>;
hysteresis = <10000>; hysteresis = <10000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -629,8 +629,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
cpu7_emerg0: cpu7-emerg0-cfg { cpu7_emerg0: cpu7-emerg0-cfg {
@@ -667,8 +667,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
cpu7_emerg1: cpu7-emerg1-cfg { cpu7_emerg1: cpu7-emerg1-cfg {
@@ -703,17 +703,17 @@
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
gpu_tj_cfg: tj_cfg { gpu_tj_cfg: tj_cfg {
temperature = <95000>; temperature = <95000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "passive";
}; };
reset-mon-cfg {
temperature = <115000>;
hysteresis = <0>;
type = "hot";
};
}; };
cooling-maps { cooling-maps {
@@ -737,8 +737,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -756,8 +756,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -800,8 +800,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
@@ -826,8 +826,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -845,8 +845,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -864,8 +864,8 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -883,13 +883,13 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <115000>; temperature = <115000>;
hysteresis = <5000>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
}; };
}; };
zeroc-0-step { zeroc-0 {
polling-delay-passive = <0>; polling-delay-passive = <0>;
polling-delay = <0>; polling-delay = <0>;
thermal-sensors = <&tsens0 128>; thermal-sensors = <&tsens0 128>;
@@ -908,7 +908,7 @@
}; };
}; };
zeroc-1-step { zeroc-1 {
polling-delay-passive = <0>; polling-delay-passive = <0>;
polling-delay = <0>; polling-delay = <0>;
thermal-sensors = <&tsens1 128>; thermal-sensors = <&tsens1 128>;