From 295b42e8d3dde932e91f859d24a7cb77b70a2bbe Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 16 Jun 2025 22:24:51 +0300 Subject: [PATCH] caimito: Update thermal configuration from BP2A Change-Id: I256d8bfa76f886371c6a93f368ceb150c7468679 --- thermal/thermal_info_config_lpm_caiman.json | 20 ++++++++++++++++---- thermal/thermal_info_config_lpm_komodo.json | 20 ++++++++++++++++---- thermal/thermal_info_config_lpm_tokay.json | 20 ++++++++++++++++---- 3 files changed, 48 insertions(+), 12 deletions(-) diff --git a/thermal/thermal_info_config_lpm_caiman.json b/thermal/thermal_info_config_lpm_caiman.json index 543f27d8..72e44245 100644 --- a/thermal/thermal_info_config_lpm_caiman.json +++ b/thermal/thermal_info_config_lpm_caiman.json @@ -6,9 +6,9 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"], + "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER_LPM"], "CombinationType":["SENSOR", "ODPM"], - "Coefficient":[55000.0, 1000.0], + "Coefficient":[55000.0, 3000.0], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0], "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9], "Multiplier":1 @@ -18,9 +18,9 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["battery", "PARTIAL_SYSTEM_POWER"], + "Combination":["battery", "PARTIAL_SYSTEM_POWER_LPM"], "CombinationType":["SENSOR", "ODPM"], - "Coefficient":[60000.0, 1000.0], + "Coefficient":[60000.0, 3000.0], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0], "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9], "Multiplier":1 @@ -81,5 +81,17 @@ } ] } + ], + "PowerRails":[ + { + "Name":"PARTIAL_SYSTEM_POWER_LPM", + "VirtualRails":true, + "Formula":"WEIGHTED_AVG", + "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL1", "S3M_VDD_CPUCL2", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "VSYS_PWR_MODEM"], + "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + "PowerSampleDelay":7000, + "PowerSampleCount":5, + "TriggerSensor": "ShutdownMode" + } ] } diff --git a/thermal/thermal_info_config_lpm_komodo.json b/thermal/thermal_info_config_lpm_komodo.json index 543f27d8..72e44245 100644 --- a/thermal/thermal_info_config_lpm_komodo.json +++ b/thermal/thermal_info_config_lpm_komodo.json @@ -6,9 +6,9 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"], + "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER_LPM"], "CombinationType":["SENSOR", "ODPM"], - "Coefficient":[55000.0, 1000.0], + "Coefficient":[55000.0, 3000.0], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0], "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9], "Multiplier":1 @@ -18,9 +18,9 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["battery", "PARTIAL_SYSTEM_POWER"], + "Combination":["battery", "PARTIAL_SYSTEM_POWER_LPM"], "CombinationType":["SENSOR", "ODPM"], - "Coefficient":[60000.0, 1000.0], + "Coefficient":[60000.0, 3000.0], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0], "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9], "Multiplier":1 @@ -81,5 +81,17 @@ } ] } + ], + "PowerRails":[ + { + "Name":"PARTIAL_SYSTEM_POWER_LPM", + "VirtualRails":true, + "Formula":"WEIGHTED_AVG", + "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL1", "S3M_VDD_CPUCL2", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "VSYS_PWR_MODEM"], + "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + "PowerSampleDelay":7000, + "PowerSampleCount":5, + "TriggerSensor": "ShutdownMode" + } ] } diff --git a/thermal/thermal_info_config_lpm_tokay.json b/thermal/thermal_info_config_lpm_tokay.json index dab369e0..e5ed804d 100644 --- a/thermal/thermal_info_config_lpm_tokay.json +++ b/thermal/thermal_info_config_lpm_tokay.json @@ -6,9 +6,9 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER"], + "Combination":["VIRTUAL-SKIN", "PARTIAL_SYSTEM_POWER_LPM"], "CombinationType":["SENSOR", "ODPM"], - "Coefficient":[55000.0, 1000.0], + "Coefficient":[55000.0, 3000.0], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0], "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9], "Multiplier":1 @@ -18,9 +18,9 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "Combination":["battery", "PARTIAL_SYSTEM_POWER"], + "Combination":["battery", "PARTIAL_SYSTEM_POWER_LPM"], "CombinationType":["SENSOR", "ODPM"], - "Coefficient":[60000.0, 1000.0], + "Coefficient":[60000.0, 3000.0], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 2.0], "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.9], "Multiplier":1 @@ -81,5 +81,17 @@ } ] } + ], + "PowerRails":[ + { + "Name":"PARTIAL_SYSTEM_POWER_LPM", + "VirtualRails":true, + "Formula":"WEIGHTED_AVG", + "Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL1", "S3M_VDD_CPUCL2", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "VSYS_PWR_MODEM"], + "Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + "PowerSampleDelay":7000, + "PowerSampleCount":5, + "TriggerSensor": "ShutdownMode" + } ] }