From e45d8c53c1a629f7f08b34e655b3e368036c658e Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Mon, 16 Jan 2023 18:58:41 +0800 Subject: [PATCH] thermal: align the tpu, gxp throttling policy with P22 Bug: 261692386 Test: verified by emul_temp Change-Id: I49b29efe9d3da5330beaee5b73563657c1d976e9 --- thermal_info_config_tangorpro.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/thermal_info_config_tangorpro.json b/thermal_info_config_tangorpro.json index 6dd33f0..4b6ac63 100644 --- a/thermal_info_config_tangorpro.json +++ b/thermal_info_config_tangorpro.json @@ -115,7 +115,17 @@ "Multiplier":0.001, "SendCallback":true, "PollingDelay":300000, - "PassiveDelay":7000 + "PassiveDelay":7000, + "BindedCdevInfo": [ + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 2, 3, 4, 5, 5, 5] + }, + { + "CdevRequest": "gxp-cooling", + "LimitInfo": [0, 0, 0, 0, 0, 99, 99] + } + ] }, { "Name":"VIRTUAL-SKIN-HINT", @@ -596,6 +606,11 @@ "Type":"NPU", "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" }, + { + "Name":"gxp-cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote" + }, { "Name":"fcc", "Type":"BATTERY"