summaryrefslogtreecommitdiff
path: root/qcom
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@qti.qualcomm.com>2021-03-13 15:26:42 +0530
committerManaf Meethalavalappu Pallikunhi <manafm@qti.qualcomm.com>2021-03-20 00:34:14 +0530
commit71e94454da384058a33e3d319c9959dde9543b0d (patch)
tree06d8b2fb2c52e19c4ce6f535099150524a9129bb /qcom
parent18378e8997ec2182fac7bd7088b0bd4920db459c (diff)
downloaddevicetree-71e94454da384058a33e3d319c9959dde9543b0d.tar.gz
ARM: dts: qcom: enable modem tj thermal zone mitigations for lagoon
Enable modem tj thermal zone mitigations for lagoon based on latest recommendation. Change-Id: I9322bc42f2ef1abbaccf5ec176ac3c3d9b442846
Diffstat (limited to 'qcom')
-rw-r--r--qcom/lagoon-thermal.dtsi176
1 files changed, 176 insertions, 0 deletions
diff --git a/qcom/lagoon-thermal.dtsi b/qcom/lagoon-thermal.dtsi
index e829c98f..cc536ca6 100644
--- a/qcom/lagoon-thermal.dtsi
+++ b/qcom/lagoon-thermal.dtsi
@@ -1149,6 +1149,182 @@
};
};
+ mdm-core-0-step {
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+ thermal-sensors = <&tsens1 6>;
+ thermal-governor = "step_wise";
+ wake-capable-sensor;
+ trips {
+ modem_core_0_trip0: modem-core-0-trip0 {
+ temperature = <95000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_core_0_trip1: modem-core-0-trip1 {
+ temperature = <105000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_core_0_trip2: modem-core-0-trip2 {
+ temperature = <115000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+ };
+
+ cooling-maps {
+ modem_tj1_cdev {
+ trip = <&modem_core_0_trip0>;
+ cooling-device = <&modem_tj 1 1>;
+ };
+
+ modem_tj2_cdev {
+ trip = <&modem_core_0_trip1>;
+ cooling-device = <&modem_tj 2 2>;
+ };
+
+ modem_tj3_cdev {
+ trip = <&modem_core_0_trip2>;
+ cooling-device = <&modem_tj 3 3>;
+ };
+ };
+ };
+
+ mdm-core-1-step {
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+ thermal-sensors = <&tsens1 7>;
+ thermal-governor = "step_wise";
+ wake-capable-sensor;
+ trips {
+ modem_core_1_trip0: modem-core-1-trip0 {
+ temperature = <95000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_core_1_trip1: modem-core-1-trip1 {
+ temperature = <105000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_core_1_trip2: modem-core-1-trip2 {
+ temperature = <115000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+ };
+
+ cooling-maps {
+ modem_tj1_cdev {
+ trip = <&modem_core_1_trip0>;
+ cooling-device = <&modem_tj 1 1>;
+ };
+
+ modem_tj2_cdev {
+ trip = <&modem_core_1_trip1>;
+ cooling-device = <&modem_tj 2 2>;
+ };
+
+ modem_tj3_cdev {
+ trip = <&modem_core_1_trip2>;
+ cooling-device = <&modem_tj 3 3>;
+ };
+ };
+ };
+
+ mdm-vec-step {
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+ thermal-sensors = <&tsens1 8>;
+ thermal-governor = "step_wise";
+ wake-capable-sensor;
+ trips {
+ modem_vec_trip0: modem-vec-trip0 {
+ temperature = <95000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_vec_trip1: modem-vec-trip1 {
+ temperature = <105000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_vec_trip2: modem-vec-trip2 {
+ temperature = <115000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+ };
+
+ cooling-maps {
+ modem_tj1_cdev {
+ trip = <&modem_vec_trip0>;
+ cooling-device = <&modem_tj 1 1>;
+ };
+
+ modem_tj2_cdev {
+ trip = <&modem_vec_trip1>;
+ cooling-device = <&modem_tj 2 2>;
+ };
+
+ modem_tj3_cdev {
+ trip = <&modem_vec_trip2>;
+ cooling-device = <&modem_tj 3 3>;
+ };
+ };
+ };
+
+ mdm-scl-step {
+ polling-delay-passive = <0>;
+ polling-delay = <0>;
+ thermal-sensors = <&tsens1 9>;
+ thermal-governor = "step_wise";
+ wake-capable-sensor;
+ trips {
+ modem_scl_trip0: modem-scl-trip0 {
+ temperature = <95000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_scl_trip1: modem-scl-trip1 {
+ temperature = <105000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+
+ modem_scl_trip2: modem-scl-trip2 {
+ temperature = <115000>;
+ hysteresis = <15000>;
+ type = "passive";
+ };
+ };
+
+ cooling-maps {
+ modem_tj1_cdev {
+ trip = <&modem_scl_trip0>;
+ cooling-device = <&modem_tj 1 1>;
+ };
+
+ modem_tj2_cdev {
+ trip = <&modem_scl_trip1>;
+ cooling-device = <&modem_tj 2 2>;
+ };
+
+ modem_tj3_cdev {
+ trip = <&modem_scl_trip2>;
+ cooling-device = <&modem_tj 3 3>;
+ };
+ };
+ };
+
min-temp-0-lowf {
polling-delay-passive = <0>;
polling-delay = <0>;