From 9b63aead5573b2607f044ea0cd4460d53850e89f Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Mon, 6 May 2024 14:07:26 +0530 Subject: [PATCH] ARM: dts: qcom: Update thermal hal trip config for sun Update thermal hal trip threshold for all thermal hal sensors for sun. Change-Id: I3fa4effcdbece88c45c7f38fb014a09310012906 Signed-off-by: Manaf Meethalavalappu Pallikunhi --- qcom/sun-thermal.dtsi | 62 ++++++++++----------- qcom/sun-tp.dtsi | 124 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 155 insertions(+), 31 deletions(-) diff --git a/qcom/sun-thermal.dtsi b/qcom/sun-thermal.dtsi index 3ad8b018..c1c4d9c7 100644 --- a/qcom/sun-thermal.dtsi +++ b/qcom/sun-thermal.dtsi @@ -328,7 +328,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -377,7 +377,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -426,7 +426,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -475,7 +475,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -524,7 +524,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -573,7 +573,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -622,7 +622,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -671,7 +671,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -720,7 +720,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -769,7 +769,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -818,7 +818,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -867,7 +867,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -973,7 +973,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1022,7 +1022,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1071,7 +1071,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1120,7 +1120,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1207,7 +1207,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1232,7 +1232,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1257,7 +1257,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1282,7 +1282,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1307,7 +1307,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1332,7 +1332,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1357,7 +1357,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1433,7 +1433,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1471,7 +1471,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1509,7 +1509,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1547,7 +1547,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1585,7 +1585,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1623,7 +1623,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1661,7 +1661,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; @@ -1699,7 +1699,7 @@ }; thermal-hal-config { - temperature = <135000>; + temperature = <95000>; hysteresis = <5000>; type = "passive"; }; diff --git a/qcom/sun-tp.dtsi b/qcom/sun-tp.dtsi index 327e4d0d..77bff8ca 100644 --- a/qcom/sun-tp.dtsi +++ b/qcom/sun-tp.dtsi @@ -20,6 +20,10 @@ cpu-0-0-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu0-emerg0-cfg { temperature = <118000>; }; @@ -36,6 +40,10 @@ cpu-0-0-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu0-emerg1-cfg { temperature = <118000>; }; @@ -52,6 +60,10 @@ cpu-0-1-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu1-emerg0-cfg { temperature = <118000>; }; @@ -68,6 +80,10 @@ cpu-0-1-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu1-emerg1-cfg { temperature = <118000>; }; @@ -84,6 +100,10 @@ cpu-0-2-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu2-emerg0-cfg { temperature = <118000>; }; @@ -100,6 +120,10 @@ cpu-0-2-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu2-emerg1-cfg { temperature = <118000>; }; @@ -116,6 +140,10 @@ cpu-0-3-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu3-emerg0-cfg { temperature = <118000>; }; @@ -132,6 +160,10 @@ cpu-0-3-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu3-emerg1-cfg { temperature = <118000>; }; @@ -148,6 +180,10 @@ cpu-0-4-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu4-emerg0-cfg { temperature = <118000>; }; @@ -164,6 +200,10 @@ cpu-0-4-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu4-emerg1-cfg { temperature = <118000>; }; @@ -180,6 +220,10 @@ cpu-0-5-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu5-emerg0-cfg { temperature = <118000>; }; @@ -196,6 +240,10 @@ cpu-0-5-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu5-emerg1-cfg { temperature = <118000>; }; @@ -236,6 +284,10 @@ cpu-1-0-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu6-emerg0-cfg { temperature = <118000>; }; @@ -252,6 +304,10 @@ cpu-1-0-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu6-emerg1-cfg { temperature = <118000>; }; @@ -268,6 +324,10 @@ cpu-1-1-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu7-emerg0-cfg { temperature = <118000>; }; @@ -284,6 +344,10 @@ cpu-1-1-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + cpu7-emerg1-cfg { temperature = <118000>; }; @@ -316,6 +380,10 @@ nsphvx-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -324,6 +392,10 @@ nsphvx-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -332,6 +404,10 @@ nsphvx-2 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -340,6 +416,10 @@ nsphmx-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -348,6 +428,10 @@ nsphmx-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -356,6 +440,10 @@ nsphmx-2 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -364,6 +452,10 @@ nsphmx-3 { trips { + thermal-hal-config { + temperature = <105000>; + }; + reset-mon-cfg { temperature = <125000>; }; @@ -392,6 +484,10 @@ gpuss-0 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -404,6 +500,10 @@ gpuss-1 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -416,6 +516,10 @@ gpuss-2 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -428,6 +532,10 @@ gpuss-3 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -440,6 +548,10 @@ gpuss-4 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -452,6 +564,10 @@ gpuss-5 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -464,6 +580,10 @@ gpuss-6 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; }; @@ -476,6 +596,10 @@ gpuss-7 { trips { + thermal-hal-config { + temperature = <105000>; + }; + tj_cfg { temperature = <105000>; };