From 313e0cbebbc33dcdcfacd9b978313be15e1d5eac Mon Sep 17 00:00:00 2001 From: David Chao Date: Thu, 23 May 2024 06:09:40 +0000 Subject: [PATCH] thermal: update charging thermal throttling Increase K_I and PowerWeight to reduce temperature and charging throttling overshoots. Bug: 338150302 Test: boot and charging thermal throtlting worked properly. Change-Id: Ia7b2b5f7b2f8d62d1cde800be149993b284f72d4 --- thermal/thermal_info_config_caiman.json | 4 ++-- thermal/thermal_info_config_charge_caiman.json | 4 ++-- thermal/thermal_info_config_charge_komodo.json | 4 ++-- thermal/thermal_info_config_charge_tokay.json | 4 ++-- thermal/thermal_info_config_komodo.json | 4 ++-- thermal/thermal_info_config_tokay.json | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/thermal/thermal_info_config_caiman.json b/thermal/thermal_info_config_caiman.json index cf136b77..03f0f21b 100644 --- a/thermal/thermal_info_config_caiman.json +++ b/thermal/thermal_info_config_caiman.json @@ -967,7 +967,7 @@ "PIDInfo": { "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], - "K_I":["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"], @@ -979,7 +979,7 @@ "ExcludedPowerInfo": [ { "PowerRail": "PARTIAL_SYSTEM_POWER", - "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24] + "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0] } ], "BindedCdevInfo": [ diff --git a/thermal/thermal_info_config_charge_caiman.json b/thermal/thermal_info_config_charge_caiman.json index d491fadd..f2ad61be 100644 --- a/thermal/thermal_info_config_charge_caiman.json +++ b/thermal/thermal_info_config_charge_caiman.json @@ -196,7 +196,7 @@ "PIDInfo": { "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], - "K_I":["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"], @@ -208,7 +208,7 @@ "ExcludedPowerInfo": [ { "PowerRail": "PARTIAL_SYSTEM_POWER", - "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24] + "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0] } ], "BindedCdevInfo": [ diff --git a/thermal/thermal_info_config_charge_komodo.json b/thermal/thermal_info_config_charge_komodo.json index 6ae44ce1..1851ceb4 100644 --- a/thermal/thermal_info_config_charge_komodo.json +++ b/thermal/thermal_info_config_charge_komodo.json @@ -207,7 +207,7 @@ "PIDInfo": { "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], - "K_I":["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"], @@ -219,7 +219,7 @@ "ExcludedPowerInfo": [ { "PowerRail": "PARTIAL_SYSTEM_POWER", - "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24] + "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0] } ], "BindedCdevInfo": [ diff --git a/thermal/thermal_info_config_charge_tokay.json b/thermal/thermal_info_config_charge_tokay.json index 64d2197f..740ecfa1 100644 --- a/thermal/thermal_info_config_charge_tokay.json +++ b/thermal/thermal_info_config_charge_tokay.json @@ -174,7 +174,7 @@ "PIDInfo": { "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], - "K_I":["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"], @@ -186,7 +186,7 @@ "ExcludedPowerInfo": [ { "PowerRail": "PARTIAL_SYSTEM_POWER", - "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24] + "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0] } ], "BindedCdevInfo": [ diff --git a/thermal/thermal_info_config_komodo.json b/thermal/thermal_info_config_komodo.json index ed4db31f..22db4453 100644 --- a/thermal/thermal_info_config_komodo.json +++ b/thermal/thermal_info_config_komodo.json @@ -990,7 +990,7 @@ "PIDInfo": { "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], - "K_I":["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"], @@ -1002,7 +1002,7 @@ "ExcludedPowerInfo": [ { "PowerRail": "PARTIAL_SYSTEM_POWER", - "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24] + "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0] } ], "BindedCdevInfo": [ diff --git a/thermal/thermal_info_config_tokay.json b/thermal/thermal_info_config_tokay.json index e315a9c8..e2c71651 100644 --- a/thermal/thermal_info_config_tokay.json +++ b/thermal/thermal_info_config_tokay.json @@ -924,7 +924,7 @@ "PIDInfo": { "K_Po":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], "K_Pu":["NAN", "NAN", 119, "NAN", "NAN", "NAN", "NAN"], - "K_I":["NAN", "NAN", 25, "NAN", "NAN", "NAN", "NAN"], + "K_I":["NAN", "NAN", 50, "NAN", "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1302, "NAN", "NAN", "NAN", "NAN"], "S_Power":["NAN", "NAN", 2527, "NAN", "NAN", "NAN", "NAN"], @@ -936,7 +936,7 @@ "ExcludedPowerInfo": [ { "PowerRail": "PARTIAL_SYSTEM_POWER", - "PowerWeight": [0.12, 0.12, 0.06, 0.06, 0.24, 0.24, 0.24] + "PowerWeight": [0.12, 0.12, 1.0, 1.0, 1.0, 1.0, 1.0] } ], "BindedCdevInfo": [