blob: 2a57b617aee2c6f0d202e69c97789e1706fdb5e8 [file] [log] [blame]
Robin Pengcd374d82021-02-23 20:00:46 +08001{
2 "Sensors":[
3 {
4 "Name":"battery",
5 "Type":"BATTERY",
TeYuan Wangc9f35062022-09-20 16:55:07 +08006 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "60.0"],
Robin Pengcd374d82021-02-23 20:00:46 +08007 "Multiplier":0.001
8 },
9 {
Blake Kragtenca7a6332021-04-06 13:33:55 -070010 "Name":"rf1_therm",
11 "Type":"UNKNOWN",
Blake Kragtenca7a6332021-04-06 13:33:55 -070012 "Multiplier":0.001
13 },
14 {
15 "Name":"rf2_therm",
16 "Type":"UNKNOWN",
Blake Kragtenca7a6332021-04-06 13:33:55 -070017 "Multiplier":0.001
18 },
19 {
Robin Pengcd374d82021-02-23 20:00:46 +080020 "Name":"neutral_therm",
21 "Type":"UNKNOWN",
YiHo Chengeab6d242021-07-08 10:16:27 +080022 "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +080023 "Multiplier":0.001
Robin Pengcd374d82021-02-23 20:00:46 +080024 },
25 {
26 "Name":"gnss_tcxo_therm",
27 "Type":"UNKNOWN",
YiHo Chengeab6d242021-07-08 10:16:27 +080028 "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp",
Robin Pengcd374d82021-02-23 20:00:46 +080029 "Multiplier":0.001
30 },
31 {
32 "Name":"qi_therm",
33 "Type":"UNKNOWN",
YiHo Chengeab6d242021-07-08 10:16:27 +080034 "TempPath":"/dev/thermal/tz-by-name/qi_therm/adc_channel/channel_temp",
Robin Pengcd374d82021-02-23 20:00:46 +080035 "Multiplier":0.001
36 },
37 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +080038 "Name":"usb_pwr_therm",
TeYuan Wangdc760c42021-04-28 16:09:01 +080039 "Type":"UNKNOWN",
YiHo Chengeab6d242021-07-08 10:16:27 +080040 "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +080041 "Multiplier":0.001
42 },
43 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +080044 "Name":"usb_pwr_therm2",
45 "Type":"UNKNOWN",
TeYuan Wangc9f35062022-09-20 16:55:07 +080046 "HotThreshold":["NAN", "35.0", "NAN","NAN", "NAN", "NAN", "NAN"],
47 "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
YiHo Chengeab6d242021-07-08 10:16:27 +080048 "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/adc_channel/channel_temp",
TeYuan Wang1b6d9592021-07-09 16:21:33 +080049 "Multiplier":0.001,
50 "PollingDelay":60000,
51 "PassiveDelay":7000
52 },
53 {
TeYuan Wangdc760c42021-04-28 16:09:01 +080054 "Name":"disp_therm",
55 "Type":"UNKNOWN",
YiHo Chengeab6d242021-07-08 10:16:27 +080056 "TempPath":"/dev/thermal/tz-by-name/disp_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +080057 "Multiplier":0.001
58 },
59 {
60 "Name":"quiet_therm",
61 "Type":"UNKNOWN",
TeYuan Wangc9f35062022-09-20 16:55:07 +080062 "HotThreshold":["NAN", "32.9", "NAN", "NAN", "NAN", "NAN", "NAN"],
63 "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
YiHo Chengeab6d242021-07-08 10:16:27 +080064 "TempPath":"/dev/thermal/tz-by-name/quiet_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +080065 "Multiplier":0.001,
TeYuan Wangbf198b72021-06-24 23:16:13 +080066 "PollingDelay":60000,
TeYuan Wangdc760c42021-04-28 16:09:01 +080067 "PassiveDelay":7000
68 },
69 {
70 "Name":"VIRTUAL-QI-GNSS",
Robin Pengcd374d82021-02-23 20:00:46 +080071 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080072 "Hidden":true,
Robin Pengcd374d82021-02-23 20:00:46 +080073 "VirtualSensor":true,
74 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +080075 "Combination":["qi_therm", "gnss_tcxo_therm"],
76 "Coefficient":["0.25", "0.75"],
Jia-yi Chen79a3b702021-06-02 14:05:18 -070077 "Offset":-4500,
Robin Pengcd374d82021-02-23 20:00:46 +080078 "Multiplier":0.001
79 },
80 {
Jia-yi Chen941224c2021-09-27 17:53:49 -070081 "Name":"VIRTUAL-QI-QUIET",
82 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080083 "Hidden":true,
Jia-yi Chen941224c2021-09-27 17:53:49 -070084 "VirtualSensor":true,
85 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +080086 "Combination":["qi_therm", "quiet_therm"],
87 "Coefficient":["0.25", "0.75"],
Jia-yi Chen941224c2021-09-27 17:53:49 -070088 "Multiplier":0.001
89 },
90 {
Robin Pengcd374d82021-02-23 20:00:46 +080091 "Name":"VIRTUAL-QI-BATT",
92 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080093 "Hidden":true,
Robin Pengcd374d82021-02-23 20:00:46 +080094 "VirtualSensor":true,
95 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +080096 "Combination":["qi_therm", "battery"],
97 "Coefficient":["0.22", "0.78"],
TeYuan Wangdc760c42021-04-28 16:09:01 +080098 "Offset":-500,
TeYuan Wangdc760c42021-04-28 16:09:01 +080099 "Multiplier":0.001
100 },
101 {
102 "Name":"VIRTUAL-USB2-DISP",
103 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800104 "Hidden":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800105 "VirtualSensor":true,
106 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800107 "Combination":["usb_pwr_therm2", "disp_therm"],
108 "Coefficient":["0.16", "0.84"],
TeYuan Wangdc760c42021-04-28 16:09:01 +0800109 "Offset":1500,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800110 "Multiplier":0.001
111 },
112 {
113 "Name":"VIRTUAL-QUIET-BATT",
114 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800115 "Hidden":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800116 "VirtualSensor":true,
117 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800118 "Combination":["quiet_therm", "battery"],
119 "Coefficient":["2.15", "-1.15"],
TeYuan Wangdc760c42021-04-28 16:09:01 +0800120 "Offset":-2000,
Robin Pengcd374d82021-02-23 20:00:46 +0800121 "Multiplier":0.001
122 },
123 {
124 "Name":"VIRTUAL-SKIN",
125 "Type":"SKIN",
126 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800127 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800128 "Formula":"MAXIMUM",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800129 "Combination":["VIRTUAL-QI-GNSS", "VIRTUAL-QI-QUIET", "VIRTUAL-USB2-DISP", "VIRTUAL-QUIET-BATT"],
130 "Coefficient":["1.0", "1.0", "1.0", "1.0"],
131 "HotThreshold":["NAN", "39.0", "43.0", "45.0", "46.5", "52.0", "55.0"],
132 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
Robin Pengcd374d82021-02-23 20:00:46 +0800133 "Multiplier":0.001,
134 "Monitor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800135 "PollingDelay":300000,
Robin Pengcd374d82021-02-23 20:00:46 +0800136 "PassiveDelay":7000,
TeYuan Wangc9f35062022-09-20 16:55:07 +0800137 "BindedCdevInfo": [
138 {
139 "CdevRequest": "tpu_cooling",
140 "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
141 }
142 ]
143 },
144 {
145 "Name":"VIRTUAL-SKIN-HINT",
146 "Type":"UNKNOWN",
147 "Hidden":true,
148 "VirtualSensor":true,
149 "TriggerSensor":"quiet_therm",
150 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700151 "Combination":["VIRTUAL-SKIN"],
152 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800153 "HotThreshold":["NAN", "37.0", "43.0", "45.0", "46.5", "52.0", "55.0"],
154 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
155 "Multiplier":0.001,
156 "SendPowerHint":true,
157 "PollingDelay":300000,
158 "PassiveDelay":7000
159 },
160 {
161 "Name":"VIRTUAL-SKIN-CPU",
162 "Type":"UNKNOWN",
163 "Hidden":true,
164 "VirtualSensor":true,
165 "TriggerSensor":"quiet_therm",
166 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700167 "Combination":["VIRTUAL-SKIN"],
168 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800169 "HotThreshold":["NAN", 37.0, 39.0, 41.0, 46.5, 52.0, 140.0],
170 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
171 "Multiplier":0.001,
172 "PollingDelay":300000,
173 "PassiveDelay":7000,
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800174 "PIDInfo": {
TeYuan Wangc9f35062022-09-20 16:55:07 +0800175 "K_Po":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
176 "K_Pu":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
177 "K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
178 "K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
179 "I_Max":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
180 "S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
181 "MinAllocPower":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
182 "MaxAllocPower":["NAN", "NAN", "NAN", 10000, "NAN", "NAN", "NAN"],
183 "I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800184 },
185 "BindedCdevInfo": [
Robin Pengcd374d82021-02-23 20:00:46 +0800186 {
187 "CdevRequest": "thermal-cpufreq-0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800188 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
189 "MaxReleaseStep": 1,
190 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800191 "BindedPowerRail": "S4M_VDD_CPUCL0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800192 "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
193 "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
Robin Pengcd374d82021-02-23 20:00:46 +0800194 },
195 {
196 "CdevRequest": "thermal-cpufreq-1",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800197 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
198 "MaxReleaseStep": 1,
199 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800200 "BindedPowerRail": "S3M_VDD_CPUCL1",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800201 "CdevCeiling": [11, 11, 11, 11, 11, 13, 13],
202 "LimitInfo": [0, 0, 0, 0, 11, 13, 13]
Robin Pengcd374d82021-02-23 20:00:46 +0800203 },
204 {
205 "CdevRequest": "thermal-cpufreq-2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800206 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
207 "MaxReleaseStep": 1,
208 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800209 "BindedPowerRail": "S2M_VDD_CPUCL2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800210 "CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
211 "LimitInfo": [0, 0, 0, 0, 14, 16, 16]
212 }
213 ]
214 },
215 {
216 "Name":"VIRTUAL-SKIN-CPU-GPU",
217 "Type":"UNKNOWN",
218 "Hidden":true,
219 "VirtualSensor":true,
220 "TriggerSensor":"quiet_therm",
221 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700222 "Combination":["VIRTUAL-SKIN"],
223 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800224 "HotThreshold":["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 140.0],
225 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
226 "Multiplier":0.001,
227 "PollingDelay":300000,
228 "PassiveDelay":7000,
229 "PIDInfo": {
230 "K_Po":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
231 "K_Pu":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
232 "K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
233 "K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
234 "I_Max":["NAN", "NAN", "NAN", 700, "NAN", "NAN", "NAN"],
235 "S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
236 "MinAllocPower":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
237 "MaxAllocPower":["NAN", "NAN", "NAN", 3900, "NAN", "NAN", "NAN"],
238 "I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
239 },
240 "BindedCdevInfo": [
241 {
242 "CdevRequest": "thermal-cpufreq-0",
243 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
244 "MaxReleaseStep": 1,
245 "MaxThrottleStep": 1,
246 "BindedPowerRail": "S4M_VDD_CPUCL0",
247 "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
248 "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
249 },
250 {
251 "CdevRequest": "thermal-cpufreq-1",
252 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
253 "MaxReleaseStep": 1,
254 "MaxThrottleStep": 1,
255 "BindedPowerRail": "S3M_VDD_CPUCL1",
256 "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
257 "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
258 },
259 {
260 "CdevRequest": "thermal-cpufreq-2",
261 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
262 "MaxReleaseStep": 1,
263 "MaxThrottleStep": 1,
264 "BindedPowerRail": "S2M_VDD_CPUCL2",
265 "CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
266 "LimitInfo": [0, 0, 0, 0, 14, 16, 16]
Robin Pengcd374d82021-02-23 20:00:46 +0800267 },
268 {
269 "CdevRequest": "thermal-gpufreq-0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800270 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
271 "MaxReleaseStep": 1,
272 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800273 "BindedPowerRail": "S2S_VDD_G3D",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800274 "CdevCeiling": [10, 10, 10, 10, 10, 11, 11],
275 "LimitInfo": [0, 0, 0, 0, 10, 11, 11]
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700276 }
277 ]
278 },
279 {
280 "Name":"VIRTUAL-SKIN-CHARGE",
281 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800282 "Hidden":true,
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700283 "VirtualSensor":true,
284 "TriggerSensor":"quiet_therm",
285 "Formula":"MAXIMUM",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800286 "Combination":["VIRTUAL-QI-GNSS", "VIRTUAL-QI-BATT", "VIRTUAL-USB2-DISP", "VIRTUAL-QUIET-BATT"],
287 "Coefficient":["1.0", "1.0", "1.0", "1.0"],
288 "HotThreshold":["NAN", "39.0", "41.0", "43.0", "45.0", "47.0", "55.0"],
289 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700290 "Multiplier":0.001,
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700291 "PollingDelay":300000,
292 "PassiveDelay":7000,
293 "BindedCdevInfo": [
294 {
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800295 "CdevRequest": "fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700296 "LimitInfo": [0, 2, 3, 3, 4, 4, 4],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800297 "BindedPowerRail": "PARTIAL_SYSTEM_POWER",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800298 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700299 "CdevFloorWithPowerLink": [0, 0, 2, 2, 4 ,4 ,4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800300 "ReleaseLogic": "RELEASE_TO_FLOOR",
301 "ThrottlingWithPowerLink":true
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800302 },
303 {
304 "CdevRequest": "dc_icl",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700305 "LimitInfo": [0, 1, 2, 3, 4, 4, 4],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800306 "BindedPowerRail": "PARTIAL_SYSTEM_POWER",
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700307 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
308 "CdevFloorWithPowerLink": [0, 1, 2, 3, 4, 4, 4],
309 "ReleaseLogic": "RELEASE_TO_FLOOR",
310 "ThrottlingWithPowerLink":true
TeYuan Wangbe012112021-06-09 11:02:39 +0800311 },
312 {
313 "CdevRequest": "wlc_fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700314 "LimitInfo": [0, 2, 2, 4, 5, 5, 5],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800315 "BindedPowerRail": "PARTIAL_SYSTEM_POWER",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800316 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700317 "CdevFloorWithPowerLink": [0, 1, 1, 2, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800318 "ReleaseLogic": "RELEASE_TO_FLOOR",
319 "ThrottlingWithPowerLink":true
Robin Pengcd374d82021-02-23 20:00:46 +0800320 }
321 ]
322 },
323 {
324 "Name":"cellular-emergency",
325 "Type":"POWER_AMPLIFIER",
326 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800327 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800328 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700329 "Combination":["VIRTUAL-SKIN"],
330 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800331 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "54.0", "NAN"],
332 "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
Robin Pengcd374d82021-02-23 20:00:46 +0800333 "Multiplier":0.001,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800334 "Monitor":true,
335 "PollingDelay":300000,
336 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +0800337 },
338 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800339 "Name":"USB2-MINUS-USB",
340 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800341 "Hidden":true,
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800342 "VirtualSensor":true,
343 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800344 "Combination":["usb_pwr_therm2", "usb_pwr_therm"],
345 "Coefficient":["1.0", "-1.0"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800346 "Multiplier":0.001
347 },
348 {
349 "Name":"USB2-MINUS-QI",
350 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800351 "Hidden":true,
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800352 "VirtualSensor":true,
353 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800354 "Combination":["usb_pwr_therm2", "qi_therm"],
355 "Coefficient":["1.0", "-1.0"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800356 "Multiplier":0.001
357 },
358 {
359 "Name":"VIRTUAL-USB-THROTTLING",
360 "Type":"USB_PORT",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800361 "Hidden":true,
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800362 "VirtualSensor":true,
363 "Formula":"COUNT_THRESHOLD",
364 "TriggerSensor": "usb_pwr_therm2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800365 "Combination":["usb_pwr_therm2", "USB2-MINUS-USB", "USB2-MINUS-QI"],
366 "Coefficient":["35000", "2000", "10000"],
367 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.0", "NAN", "NAN"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800368 "BindedCdevInfo": [
369 {
370 "CdevRequest": "usbc-port",
371 "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
372 }
373 ],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800374 "Multiplier":1,
375 "PollingDelay":60000,
376 "PassiveDelay":7000
377 },
378 {
379 "Name":"VIRTUAL-USB-UI",
380 "Type":"USB_PORT",
381 "VirtualSensor":true,
382 "Formula":"COUNT_THRESHOLD",
383 "TriggerSensor": "usb_pwr_therm2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800384 "Combination":["usb_pwr_therm2", "USB2-MINUS-USB", "USB2-MINUS-QI"],
385 "Coefficient":["35000", "3000", "12000"],
386 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800387 "Multiplier":1,
388 "Monitor":true,
389 "PollingDelay":60000,
390 "PassiveDelay":7000
391 },
392 {
Robin Pengcd374d82021-02-23 20:00:46 +0800393 "Name":"LITTLE",
394 "Type":"CPU",
395 "HotThreshold":[
396 "NAN",
397 "NAN",
398 "NAN",
399 "NAN",
400 "NAN",
401 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700402 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800403 ],
404 "VrThreshold":"NAN",
405 "Multiplier":0.001
406 },
407 {
408 "Name":"MID",
409 "Type":"CPU",
410 "HotThreshold":[
411 "NAN",
412 "NAN",
413 "NAN",
414 "NAN",
415 "NAN",
416 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700417 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800418 ],
419 "VrThreshold":"NAN",
420 "Multiplier":0.001
421 },
422 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800423 "Name":"BIG",
424 "Type":"CPU",
425 "HotThreshold":[
426 "NAN",
427 "NAN",
428 "NAN",
429 "NAN",
430 "NAN",
431 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700432 "NAN"
TeYuan Wangdc760c42021-04-28 16:09:01 +0800433 ],
434 "VrThreshold":"NAN",
435 "Multiplier":0.001
436 },
437 {
Robin Pengcd374d82021-02-23 20:00:46 +0800438 "Name":"G3D",
439 "Type":"GPU",
440 "HotThreshold":[
441 "NAN",
442 "NAN",
443 "NAN",
444 "NAN",
445 "NAN",
446 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700447 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800448 ],
449 "VrThreshold":"NAN",
450 "Multiplier":0.001
451 },
452 {
Robin Pengcd374d82021-02-23 20:00:46 +0800453 "Name":"TPU",
454 "Type":"NPU",
455 "HotThreshold":[
456 "NAN",
457 "NAN",
458 "NAN",
459 "NAN",
460 "NAN",
461 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700462 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800463 ],
464 "VrThreshold":"NAN",
465 "Multiplier":0.001
466 }
467 ],
468 "CoolingDevices":[
469 {
470 "Name":"thermal-cpufreq-0",
471 "Type":"CPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000472 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800473 },
474 {
475 "Name":"thermal-cpufreq-1",
476 "Type":"CPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000477 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800478 },
479 {
480 "Name":"thermal-cpufreq-2",
481 "Type":"CPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000482 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800483 },
484 {
485 "Name":"thermal-gpufreq-0",
486 "Type":"GPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000487 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800488 },
489 {
490 "Name":"fcc",
491 "Type":"BATTERY"
492 },
493 {
494 "Name":"dc_icl",
495 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +0800496 },
497 {
498 "Name":"wlc_fcc",
499 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800500 },
501 {
502 "Name":"usbc-port",
503 "Type":"BATTERY"
TeYuan Wang3f4c1162021-08-06 16:11:16 +0800504 },
505 {
506 "Name":"tpu_cooling",
507 "Type":"NPU",
508 "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800509 }
TeYuan Wangfef56f32021-06-11 20:34:25 +0800510 ],
511 "PowerRails":[
512 {
513 "Name":"PPVAR_VSYS_PWR_DISP"
514 },
515 {
516 "Name":"VSYS_PWR_MODEM"
517 },
518 {
519 "Name":"S2M_VDD_CPUCL2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800520 "PowerSampleDelay":7000,
521 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800522
523 },
524 {
525 "Name":"S3M_VDD_CPUCL1",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800526 "PowerSampleDelay":7000,
527 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800528 },
529 {
530 "Name":"S4M_VDD_CPUCL0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800531 "PowerSampleDelay":7000,
532 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800533 },
534 {
535 "Name":"S5M_VDD_INT"
536 },
537 {
YiHo Cheng1a261f82021-07-12 19:58:52 +0800538 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +0800539 },
540 {
541 "Name":"S2S_VDD_G3D",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800542 "PowerSampleDelay":7000,
543 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800544 },
545 {
TeYuan Wangc9f35062022-09-20 16:55:07 +0800546 "Name":"PARTIAL_SYSTEM_POWER",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800547 "VirtualRails":true,
548 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800549 "Combination":["VSYS_PWR_MODEM", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S1M_VDD_MIF", "S2S_VDD_G3D"],
550 "Coefficient":["1.0", "1.0", "1.0", "1.0", "1.0", "1.0", "1.0"],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800551 "PowerSampleDelay":14000,
552 "PowerSampleCount":5
553 }
sashwinbalaji36828502023-02-21 09:41:40 +0800554 ],
555 "Stats": {
556 "Sensors": {
557 "RecordWithDefaultThreshold": ["VIRTUAL-SKIN"],
558 "RecordWithThreshold": [
559 {
560 "Name": "VIRTUAL-QI-GNSS",
561 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
562 },
563 {
564 "Name": "VIRTUAL-QI-QUIET",
565 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
566 },
567 {
568 "Name": "VIRTUAL-QI-BATT",
569 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
570 },
571 {
572 "Name": "VIRTUAL-USB2-DISP",
573 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
574 },
575 {
576 "Name": "VIRTUAL-QUIET-BATT",
577 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
578 },
579 {
580 "Name": "VIRTUAL-SKIN",
581 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
582 },
583 {
584 "Name": "VIRTUAL-USB-THROTTLING",
585 "Thresholds": [3.0]
586 }
587 ]
588 },
589 "CoolingDevices": {
590 "RecordVotePerSensor": {
591 "DefaultThresholdEnableAll": true
592 }
593 }
594 }
Robin Pengcd374d82021-02-23 20:00:46 +0800595}