blob: ef850a8d553b2f8579568e501e36c3e6ad85a4fe [file] [log] [blame]
Robin Pengcd374d82021-02-23 20:00:46 +08001{
2 "Sensors":[
3 {
4 "Name":"battery",
5 "Type":"BATTERY",
6 "HotThreshold":[
7 "NAN",
8 "NAN",
9 "NAN",
10 "NAN",
11 "NAN",
12 "NAN",
13 "60.0"
14 ],
15 "VrThreshold":"NAN",
16 "Multiplier":0.001
17 },
18 {
Blake Kragtenca7a6332021-04-06 13:33:55 -070019 "Name":"rf1_therm",
20 "Type":"UNKNOWN",
21 "HotThreshold":[
22 "NAN",
23 "NAN",
24 "NAN",
25 "NAN",
26 "NAN",
27 "NAN",
28 "NAN"
29 ],
30 "VrThreshold":"NAN",
31 "Multiplier":0.001
32 },
33 {
34 "Name":"rf2_therm",
35 "Type":"UNKNOWN",
36 "HotThreshold":[
37 "NAN",
38 "NAN",
39 "NAN",
40 "NAN",
41 "NAN",
42 "NAN",
43 "NAN"
44 ],
45 "VrThreshold":"NAN",
46 "Multiplier":0.001
47 },
48 {
Robin Pengcd374d82021-02-23 20:00:46 +080049 "Name":"neutral_therm",
50 "Type":"UNKNOWN",
51 "HotThreshold":[
52 "NAN",
TeYuan Wangdc760c42021-04-28 16:09:01 +080053 "NAN",
Robin Pengcd374d82021-02-23 20:00:46 +080054 "NAN",
55 "NAN",
56 "NAN",
57 "NAN",
58 "NAN"
59 ],
YiHo Chengeab6d242021-07-08 10:16:27 +080060 "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp",
Robin Pengcd374d82021-02-23 20:00:46 +080061 "VrThreshold":"NAN",
TeYuan Wangdc760c42021-04-28 16:09:01 +080062 "Multiplier":0.001
Robin Pengcd374d82021-02-23 20:00:46 +080063 },
64 {
65 "Name":"gnss_tcxo_therm",
66 "Type":"UNKNOWN",
67 "HotThreshold":[
68 "NAN",
69 "NAN",
70 "NAN",
71 "NAN",
72 "NAN",
73 "NAN",
74 "NAN"
75 ],
YiHo Chengeab6d242021-07-08 10:16:27 +080076 "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp",
Robin Pengcd374d82021-02-23 20:00:46 +080077 "VrThreshold":"NAN",
78 "Multiplier":0.001
79 },
80 {
81 "Name":"qi_therm",
82 "Type":"UNKNOWN",
83 "HotThreshold":[
84 "NAN",
85 "NAN",
86 "NAN",
87 "NAN",
88 "NAN",
89 "NAN",
90 "NAN"
91 ],
YiHo Chengeab6d242021-07-08 10:16:27 +080092 "TempPath":"/dev/thermal/tz-by-name/qi_therm/adc_channel/channel_temp",
Robin Pengcd374d82021-02-23 20:00:46 +080093 "VrThreshold":"NAN",
94 "Multiplier":0.001
95 },
96 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +080097 "Name":"usb_pwr_therm",
TeYuan Wangdc760c42021-04-28 16:09:01 +080098 "Type":"UNKNOWN",
99 "HotThreshold":[
100 "NAN",
101 "NAN",
102 "NAN",
103 "NAN",
104 "NAN",
105 "NAN",
106 "NAN"
107 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800108 "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800109 "VrThreshold":"NAN",
110 "Multiplier":0.001
111 },
112 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800113 "Name":"usb_pwr_therm2",
114 "Type":"UNKNOWN",
115 "HotThreshold":[
116 "NAN",
117 "35.0",
118 "NAN",
119 "NAN",
120 "NAN",
121 "NAN",
122 "NAN"
123 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800124 "HotHysteresis":[
125 0.0,
126 0.9,
127 0.0,
128 0.0,
129 0.0,
130 0.0,
131 0.0
132 ],
133 "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/adc_channel/channel_temp",
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800134 "VrThreshold":"NAN",
135 "Multiplier":0.001,
136 "PollingDelay":60000,
137 "PassiveDelay":7000
138 },
139 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800140 "Name":"disp_therm",
141 "Type":"UNKNOWN",
142 "HotThreshold":[
143 "NAN",
144 "NAN",
145 "NAN",
146 "NAN",
147 "NAN",
148 "NAN",
149 "NAN"
150 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800151 "TempPath":"/dev/thermal/tz-by-name/disp_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800152 "VrThreshold":"NAN",
153 "Multiplier":0.001
154 },
155 {
156 "Name":"quiet_therm",
157 "Type":"UNKNOWN",
158 "HotThreshold":[
159 "NAN",
160 "32.9",
161 "NAN",
162 "NAN",
163 "NAN",
164 "NAN",
165 "NAN"
166 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800167 "HotHysteresis":[
168 0.0,
169 0.9,
170 0.0,
171 0.0,
172 0.0,
173 0.0,
174 0.0
175 ],
176 "TempPath":"/dev/thermal/tz-by-name/quiet_therm/adc_channel/channel_temp",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800177 "VrThreshold":"NAN",
178 "Multiplier":0.001,
TeYuan Wangbf198b72021-06-24 23:16:13 +0800179 "PollingDelay":60000,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800180 "PassiveDelay":7000
181 },
182 {
183 "Name":"VIRTUAL-QI-GNSS",
Robin Pengcd374d82021-02-23 20:00:46 +0800184 "Type":"UNKNOWN",
185 "VirtualSensor":true,
186 "Formula":"WEIGHTED_AVG",
187 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800188 "qi_therm",
189 "gnss_tcxo_therm"
Robin Pengcd374d82021-02-23 20:00:46 +0800190 ],
191 "Coefficient":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800192 "0.25",
193 "0.75"
Robin Pengcd374d82021-02-23 20:00:46 +0800194 ],
Jia-yi Chen79a3b702021-06-02 14:05:18 -0700195 "Offset":-4500,
Robin Pengcd374d82021-02-23 20:00:46 +0800196 "HotThreshold":[
197 "NAN",
198 "NAN",
199 "NAN",
200 "NAN",
201 "NAN",
202 "NAN",
203 "NAN"
204 ],
205 "VrThreshold":"NAN",
206 "Multiplier":0.001
207 },
208 {
Jia-yi Chen941224c2021-09-27 17:53:49 -0700209 "Name":"VIRTUAL-QI-QUIET",
210 "Type":"UNKNOWN",
211 "VirtualSensor":true,
212 "Formula":"WEIGHTED_AVG",
213 "Combination":[
214 "qi_therm",
215 "quiet_therm"
216 ],
217 "Coefficient":[
218 "0.25",
219 "0.75"
220 ],
221 "HotThreshold":[
222 "NAN",
223 "NAN",
224 "NAN",
225 "NAN",
226 "NAN",
227 "NAN",
228 "NAN"
229 ],
230 "VrThreshold":"NAN",
231 "Multiplier":0.001
232 },
233 {
Robin Pengcd374d82021-02-23 20:00:46 +0800234 "Name":"VIRTUAL-QI-BATT",
235 "Type":"UNKNOWN",
236 "VirtualSensor":true,
237 "Formula":"WEIGHTED_AVG",
238 "Combination":[
239 "qi_therm",
240 "battery"
241 ],
242 "Coefficient":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800243 "0.22",
244 "0.78"
Robin Pengcd374d82021-02-23 20:00:46 +0800245 ],
TeYuan Wangdc760c42021-04-28 16:09:01 +0800246 "Offset":-500,
247 "HotThreshold":[
248 "NAN",
249 "NAN",
250 "NAN",
251 "NAN",
252 "NAN",
253 "NAN",
254 "NAN"
255 ],
256 "VrThreshold":"NAN",
257 "Multiplier":0.001
258 },
259 {
260 "Name":"VIRTUAL-USB2-DISP",
261 "Type":"UNKNOWN",
262 "VirtualSensor":true,
263 "Formula":"WEIGHTED_AVG",
264 "Combination":[
265 "usb_pwr_therm2",
266 "disp_therm"
267 ],
268 "Coefficient":[
269 "0.16",
270 "0.84"
271 ],
272 "Offset":1500,
273 "HotThreshold":[
274 "NAN",
275 "NAN",
276 "NAN",
277 "NAN",
278 "NAN",
279 "NAN",
280 "NAN"
281 ],
282 "VrThreshold":"NAN",
283 "Multiplier":0.001
284 },
285 {
286 "Name":"VIRTUAL-QUIET-BATT",
287 "Type":"UNKNOWN",
288 "VirtualSensor":true,
289 "Formula":"WEIGHTED_AVG",
290 "Combination":[
291 "quiet_therm",
292 "battery"
293 ],
294 "Coefficient":[
295 "2.15",
296 "-1.15"
297 ],
298 "Offset":-2000,
Robin Pengcd374d82021-02-23 20:00:46 +0800299 "HotThreshold":[
300 "NAN",
301 "NAN",
302 "NAN",
303 "NAN",
304 "NAN",
305 "NAN",
306 "NAN"
307 ],
308 "VrThreshold":"NAN",
309 "Multiplier":0.001
310 },
311 {
312 "Name":"VIRTUAL-SKIN",
313 "Type":"SKIN",
314 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800315 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800316 "Formula":"MAXIMUM",
317 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800318 "VIRTUAL-QI-GNSS",
Jia-yi Chen941224c2021-09-27 17:53:49 -0700319 "VIRTUAL-QI-QUIET",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800320 "VIRTUAL-USB2-DISP",
321 "VIRTUAL-QUIET-BATT"
Robin Pengcd374d82021-02-23 20:00:46 +0800322 ],
323 "Coefficient":[
324 "1.0",
325 "1.0",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800326 "1.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800327 "1.0"
328 ],
329 "HotThreshold":[
330 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800331 "39.0",
332 "43.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800333 "45.0",
Jia-yi Chen941224c2021-09-27 17:53:49 -0700334 "46.5",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800335 "52.0",
Jia-yi Chen79a3b702021-06-02 14:05:18 -0700336 "55.0"
Robin Pengcd374d82021-02-23 20:00:46 +0800337 ],
338 "HotHysteresis":[
339 0.0,
340 1.9,
341 1.9,
342 1.9,
Jia-yi Chen941224c2021-09-27 17:53:49 -0700343 1.4,
Robin Pengcd374d82021-02-23 20:00:46 +0800344 1.9,
345 1.9
346 ],
347 "VrThreshold":"NAN",
348 "Multiplier":0.001,
David Chao0a57e6a2021-05-25 00:19:25 +0800349 "SendPowerHint":true,
Robin Pengcd374d82021-02-23 20:00:46 +0800350 "Monitor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800351 "PollingDelay":300000,
Robin Pengcd374d82021-02-23 20:00:46 +0800352 "PassiveDelay":7000,
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800353 "PIDInfo": {
YiHo Cheng6acf60f2021-07-14 17:57:23 +0800354 "K_Po":["NAN", "NAN", 1500, 1500, "NAN", "NAN", "NAN"],
TeYuan Wangb7b48bb2021-08-16 13:48:20 +0800355 "K_Pu":["NAN", "NAN", 1500, 750, "NAN", "NAN", "NAN"],
356 "K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"],
357 "K_D":["NAN", "NAN", 10, 0, "NAN", "NAN", "NAN"],
358 "I_Max":["NAN", "NAN", 1000, 0, "NAN", "NAN", "NAN"],
Jia-yi Chene60ba102021-08-31 13:00:37 -0700359 "S_Power":["NAN", "NAN", 3500, 1800, "NAN", "NAN", "NAN"],
TeYuan Wang7a921662021-08-11 01:01:49 +0800360 "MinAllocPower":["NAN", "NAN", 2500, 1500, "NAN", "NAN", "NAN"],
361 "MaxAllocPower":["NAN", "NAN", 9500, 3000, "NAN", "NAN", "NAN"],
TeYuan Wangb7b48bb2021-08-16 13:48:20 +0800362 "I_Cutoff":["NAN", "NAN", 2, 0, "NAN", "NAN", "NAN"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800363 },
364 "BindedCdevInfo": [
Robin Pengcd374d82021-02-23 20:00:46 +0800365 {
366 "CdevRequest": "thermal-cpufreq-0",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700367 "CdevWeightForPID": [0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07],
TeYuan Wang7a921662021-08-11 01:01:49 +0800368 "CdevCeiling": [3, 3, 6, 7, 8, 10, 10],
mandyshen6bcf4722021-07-28 22:41:10 +0800369 "LimitInfo": [0, 0, 0, 0, 8, 10, 10],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800370 "BindedPowerRail": "S4M_VDD_CPUCL0",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800371 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800372 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800373 },
374 {
375 "CdevRequest": "thermal-cpufreq-1",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700376 "CdevWeightForPID": [0.066, 0.066, 0.066, 0.066, 0.066, 0.066, 0.066],
TeYuan Wang7a921662021-08-11 01:01:49 +0800377 "CdevCeiling": [7, 7, 8, 9, 11, 13, 13],
YiHo Cheng6f960da2021-08-05 16:06:26 +0800378 "LimitInfo": [0, 0, 0, 0, 11, 13, 13],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800379 "BindedPowerRail": "S3M_VDD_CPUCL1",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800380 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800381 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800382 },
383 {
384 "CdevRequest": "thermal-cpufreq-2",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700385 "CdevWeightForPID": [0.313, 0.313, 0.313, 0.313, 0.313, 0.313, 0.313],
TeYuan Wang7a921662021-08-11 01:01:49 +0800386 "CdevCeiling": [11, 11, 14, 14, 14, 16, 16],
mandyshen6bcf4722021-07-28 22:41:10 +0800387 "LimitInfo": [0, 0, 0, 0, 14, 16, 16],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800388 "BindedPowerRail": "S2M_VDD_CPUCL2",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800389 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800390 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800391 },
392 {
393 "CdevRequest": "thermal-gpufreq-0",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700394 "CdevWeightForPID": [0.551, 0.551, 0.551, 0.551, 0.551, 0.551, 0.551],
TeYuan Wang7a921662021-08-11 01:01:49 +0800395 "CdevCeiling": [7, 7, 8, 9, 10, 11, 11],
YiHo Cheng6acf60f2021-07-14 17:57:23 +0800396 "LimitInfo": [0, 0, 0, 0, 10, 11, 11],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800397 "BindedPowerRail": "S2S_VDD_G3D",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800398 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800399 "ReleaseLogic": "DECREASE"
400 },
401 {
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700402 "CdevRequest": "tpu_cooling",
Benjamin Collins61d459a2021-11-09 15:29:40 +0000403 "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700404 }
405 ]
406 },
407 {
408 "Name":"VIRTUAL-SKIN-CHARGE",
409 "Type":"UNKNOWN",
410 "VirtualSensor":true,
411 "TriggerSensor":"quiet_therm",
412 "Formula":"MAXIMUM",
413 "Combination":[
414 "VIRTUAL-QI-GNSS",
415 "VIRTUAL-QI-BATT",
416 "VIRTUAL-USB2-DISP",
417 "VIRTUAL-QUIET-BATT"
418 ],
419 "Coefficient":[
420 "1.0",
421 "1.0",
422 "1.0",
423 "1.0"
424 ],
425 "HotThreshold":[
426 "NAN",
427 "39.0",
428 "41.0",
429 "43.0",
430 "45.0",
431 "47.0",
432 "55.0"
433 ],
434 "HotHysteresis":[
435 0.0,
436 1.9,
437 1.9,
438 1.9,
439 1.9,
440 1.9,
441 1.9
442 ],
443 "VrThreshold":"NAN",
444 "Multiplier":0.001,
445 "Monitor":true,
446 "PollingDelay":300000,
447 "PassiveDelay":7000,
448 "BindedCdevInfo": [
449 {
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800450 "CdevRequest": "fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700451 "LimitInfo": [0, 2, 3, 3, 4, 4, 4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800452 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
453 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700454 "CdevFloorWithPowerLink": [0, 0, 2, 2, 4 ,4 ,4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800455 "ReleaseLogic": "RELEASE_TO_FLOOR",
456 "ThrottlingWithPowerLink":true
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800457 },
458 {
459 "CdevRequest": "dc_icl",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700460 "LimitInfo": [0, 1, 2, 3, 4, 4, 4],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700461 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
462 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
463 "CdevFloorWithPowerLink": [0, 1, 2, 3, 4, 4, 4],
464 "ReleaseLogic": "RELEASE_TO_FLOOR",
465 "ThrottlingWithPowerLink":true
TeYuan Wangbe012112021-06-09 11:02:39 +0800466 },
467 {
468 "CdevRequest": "wlc_fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700469 "LimitInfo": [0, 2, 2, 4, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800470 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
471 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700472 "CdevFloorWithPowerLink": [0, 1, 1, 2, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800473 "ReleaseLogic": "RELEASE_TO_FLOOR",
474 "ThrottlingWithPowerLink":true
Robin Pengcd374d82021-02-23 20:00:46 +0800475 }
476 ]
477 },
478 {
479 "Name":"cellular-emergency",
480 "Type":"POWER_AMPLIFIER",
481 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800482 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800483 "Formula":"MAXIMUM",
484 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800485 "VIRTUAL-QI-GNSS",
Jia-yi Chen941224c2021-09-27 17:53:49 -0700486 "VIRTUAL-QI-QUIET",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800487 "VIRTUAL-USB2-DISP",
488 "VIRTUAL-QUIET-BATT"
Robin Pengcd374d82021-02-23 20:00:46 +0800489 ],
490 "Coefficient":[
491 "1.0",
492 "1.0",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800493 "1.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800494 "1.0"
495 ],
496 "HotThreshold":[
497 "NAN",
498 "NAN",
499 "NAN",
500 "NAN",
501 "NAN",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800502 "54.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800503 "NAN"
504 ],
505 "HotHysteresis":[
506 0.0,
507 0.0,
508 0.0,
509 0.0,
Blake Kragtenca7a6332021-04-06 13:33:55 -0700510 0.0,
Blake Kragten9d6c2d92021-06-03 17:18:39 -0700511 1.9,
Robin Pengcd374d82021-02-23 20:00:46 +0800512 0.0
513 ],
514 "VrThreshold":"NAN",
515 "Multiplier":0.001,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800516 "Monitor":true,
517 "PollingDelay":300000,
518 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +0800519 },
520 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800521 "Name":"USB2-MINUS-USB",
522 "Type":"UNKNOWN",
523 "VirtualSensor":true,
524 "Formula":"WEIGHTED_AVG",
525 "Combination":[
526 "usb_pwr_therm2",
527 "usb_pwr_therm"
528 ],
529 "Coefficient":[
530 "1.0",
531 "-1.0"
532 ],
533 "HotThreshold":[
534 "NAN",
535 "NAN",
536 "NAN",
537 "NAN",
538 "NAN",
539 "NAN",
540 "NAN"
541 ],
542 "VrThreshold":"NAN",
543 "Multiplier":0.001
544 },
545 {
546 "Name":"USB2-MINUS-QI",
547 "Type":"UNKNOWN",
548 "VirtualSensor":true,
549 "Formula":"WEIGHTED_AVG",
550 "Combination":[
551 "usb_pwr_therm2",
552 "qi_therm"
553 ],
554 "Coefficient":[
555 "1.0",
556 "-1.0"
557 ],
558 "HotThreshold":[
559 "NAN",
560 "NAN",
561 "NAN",
562 "NAN",
563 "NAN",
564 "NAN",
565 "NAN"
566 ],
567 "VrThreshold":"NAN",
568 "Multiplier":0.001
569 },
570 {
571 "Name":"VIRTUAL-USB-THROTTLING",
572 "Type":"USB_PORT",
573 "VirtualSensor":true,
574 "Formula":"COUNT_THRESHOLD",
575 "TriggerSensor": "usb_pwr_therm2",
576 "Combination":[
577 "usb_pwr_therm2",
578 "USB2-MINUS-USB",
579 "USB2-MINUS-QI"
580 ],
581 "Coefficient":[
582 "35000",
583 "2000",
584 "10000"
585 ],
586 "HotThreshold":[
587 "NAN",
588 "NAN",
589 "NAN",
590 "NAN",
591 "3.0",
592 "NAN",
593 "NAN"
594 ],
595 "BindedCdevInfo": [
596 {
597 "CdevRequest": "usbc-port",
598 "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
599 }
600 ],
601 "VrThreshold":"NAN",
602 "Multiplier":1,
603 "PollingDelay":60000,
604 "PassiveDelay":7000
605 },
606 {
607 "Name":"VIRTUAL-USB-UI",
608 "Type":"USB_PORT",
609 "VirtualSensor":true,
610 "Formula":"COUNT_THRESHOLD",
611 "TriggerSensor": "usb_pwr_therm2",
612 "Combination":[
613 "usb_pwr_therm2",
614 "USB2-MINUS-USB",
615 "USB2-MINUS-QI"
616 ],
617 "Coefficient":[
618 "35000",
619 "3000",
620 "12000"
621 ],
622 "HotThreshold":[
623 "NAN",
624 "NAN",
625 "NAN",
626 "NAN",
627 "NAN",
628 "3.0",
629 "NAN"
630 ],
631 "VrThreshold":"NAN",
632 "Multiplier":1,
633 "Monitor":true,
634 "PollingDelay":60000,
635 "PassiveDelay":7000
636 },
637 {
Robin Pengcd374d82021-02-23 20:00:46 +0800638 "Name":"LITTLE",
639 "Type":"CPU",
640 "HotThreshold":[
641 "NAN",
642 "NAN",
643 "NAN",
644 "NAN",
645 "NAN",
646 "NAN",
647 115.0
648 ],
649 "VrThreshold":"NAN",
650 "Multiplier":0.001
651 },
652 {
653 "Name":"MID",
654 "Type":"CPU",
655 "HotThreshold":[
656 "NAN",
657 "NAN",
658 "NAN",
659 "NAN",
660 "NAN",
661 "NAN",
662 115.0
663 ],
664 "VrThreshold":"NAN",
665 "Multiplier":0.001
666 },
667 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800668 "Name":"BIG",
669 "Type":"CPU",
670 "HotThreshold":[
671 "NAN",
672 "NAN",
673 "NAN",
674 "NAN",
675 "NAN",
676 "NAN",
677 115.0
678 ],
679 "VrThreshold":"NAN",
680 "Multiplier":0.001
681 },
682 {
Robin Pengcd374d82021-02-23 20:00:46 +0800683 "Name":"G3D",
684 "Type":"GPU",
685 "HotThreshold":[
686 "NAN",
687 "NAN",
688 "NAN",
689 "NAN",
690 "NAN",
691 "NAN",
692 115.0
693 ],
694 "VrThreshold":"NAN",
695 "Multiplier":0.001
696 },
697 {
698 "Name":"battery_cycle",
699 "Type":"BCL_VOLTAGE",
700 "HotThreshold":[
701 "NAN",
702 "NAN",
703 "NAN",
704 "NAN",
705 "NAN",
706 "NAN",
707 "NAN"
708 ],
709 "VrThreshold":"NAN",
710 "Multiplier":1,
711 "Monitor":false
712 },
713 {
George Lee1dbbc0a2021-03-08 09:28:34 -0800714 "Name":"critical-battery-cell",
715 "Type":"BCL_VOLTAGE",
716 "VirtualSensor":true,
717 "Formula":"COUNT_THRESHOLD",
718 "TriggerSensor": "vdroop1",
719 "Combination":[
720 "battery",
721 "battery_cycle",
722 "vdroop1"
723 ],
724 "Coefficient":[
725 "-10000",
726 "400",
727 "1200"
728 ],
729 "HotThreshold":[
730 "NAN",
731 "NAN",
732 "NAN",
733 "NAN",
734 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800735 3.00,
George Lee1dbbc0a2021-03-08 09:28:34 -0800736 "NAN"
737 ],
738 "VrThreshold":"NAN",
739 "Multiplier":1,
740 "Monitor":true
741 },
742 {
Robin Pengcd374d82021-02-23 20:00:46 +0800743 "Name":"FLASH_LED_REDUCE",
744 "Type":"UNKNOWN",
745 "VirtualSensor":true,
746 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800747 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800748 "Combination":[
749 "battery",
750 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800751 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800752 ],
753 "Coefficient":[
754 "-10000",
755 "400",
George Leec761b412021-03-08 09:26:59 -0800756 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800757 ],
758 "HotThreshold":[
759 "NAN",
760 "NAN",
761 "NAN",
762 "NAN",
763 3.00,
764 "NAN",
765 "NAN"
766 ],
767 "VrThreshold":"NAN",
768 "Multiplier":1,
769 "Monitor":true,
770 "SendPowerHint":true
771 },
772 {
773 "Name":"soc",
774 "Type":"BCL_PERCENTAGE",
775 "HotThreshold":[
776 "NAN",
777 "NAN",
778 "NAN",
Robin Pengcd374d82021-02-23 20:00:46 +0800779 90,
George Lee156e8f12021-05-24 12:11:48 -0700780 93,
781 96,
Robin Pengcd374d82021-02-23 20:00:46 +0800782 "NAN"
783 ],
784 "VrThreshold":"NAN",
785 "Multiplier":1,
George Lee156e8f12021-05-24 12:11:48 -0700786 "Monitor":true,
787 "PollingDelay":300000,
788 "PassiveDelay":5000,
789 "BindedCdevInfo": [
790 {
791 "CdevRequest": "thermal-cpufreq-2",
792 "LimitInfo": [0, 0, 0, 7, 7, 10, 10]
George Lee156e8f12021-05-24 12:11:48 -0700793 }
794 ]
Robin Pengcd374d82021-02-23 20:00:46 +0800795 },
796 {
George Lee090b93c2021-07-21 13:53:31 -0700797 "Name":"batoilo",
798 "Type":"BCL_CURRENT",
799 "HotThreshold":[
800 "NAN",
801 "NAN",
802 "NAN",
803 "NAN",
804 5000,
805 "NAN",
806 "NAN"
807 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800808 "HotHysteresis":[
809 0.0,
810 0.0,
811 0.0,
812 0.0,
813 100,
814 0.0,
815 0.0
816 ],
George Lee090b93c2021-07-21 13:53:31 -0700817 "VrThreshold":"NAN",
818 "Multiplier":1,
819 "Monitor":true
820 },
821 {
George Leec761b412021-03-08 09:26:59 -0800822 "Name":"vdroop1",
823 "Type":"BCL_VOLTAGE",
824 "HotThreshold":[
825 "NAN",
826 "NAN",
827 "NAN",
828 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700829 1150,
George Leec761b412021-03-08 09:26:59 -0800830 "NAN",
831 "NAN"
832 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800833 "HotHysteresis":[
834 0.0,
835 0.0,
836 0.0,
837 0.0,
838 100,
839 0.0,
840 0.0
841 ],
George Leec761b412021-03-08 09:26:59 -0800842 "VrThreshold":"NAN",
843 "Multiplier":1,
844 "Monitor":true
845 },
846 {
847 "Name":"vdroop2",
848 "Type":"BCL_VOLTAGE",
849 "HotThreshold":[
850 "NAN",
851 "NAN",
852 "NAN",
853 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700854 1350,
George Leec761b412021-03-08 09:26:59 -0800855 "NAN",
856 "NAN"
857 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800858 "HotHysteresis":[
859 0.0,
860 0.0,
861 0.0,
862 0.0,
863 100,
864 0.0,
865 0.0
866 ],
George Leec761b412021-03-08 09:26:59 -0800867 "VrThreshold":"NAN",
868 "Multiplier":1,
869 "Monitor":true
870 },
871 {
Robin Pengcd374d82021-02-23 20:00:46 +0800872 "Name":"smpl_gm",
873 "Type":"BCL_VOLTAGE",
874 "HotThreshold":[
875 "NAN",
876 "NAN",
877 "NAN",
878 "NAN",
879 1400,
880 "NAN",
881 "NAN"
882 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800883 "HotHysteresis":[
884 0.0,
885 0.0,
886 0.0,
887 0.0,
888 100,
889 0.0,
890 0.0
891 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800892 "VrThreshold":"NAN",
893 "Multiplier":1,
894 "Monitor":true
895 },
896 {
897 "Name":"ocp_cpu1",
898 "Type":"BCL_CURRENT",
899 "HotThreshold":[
900 "NAN",
901 "NAN",
902 "NAN",
903 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700904 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800905 "NAN",
906 "NAN"
907 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800908 "HotHysteresis":[
909 0.0,
910 0.0,
911 0.0,
912 0.0,
913 100,
914 0.0,
915 0.0
916 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800917 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700918 "Multiplier":1,
919 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800920 },
921 {
922 "Name":"ocp_cpu2",
923 "Type":"BCL_CURRENT",
924 "HotThreshold":[
925 "NAN",
926 "NAN",
927 "NAN",
928 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700929 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800930 "NAN",
931 "NAN"
932 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800933 "HotHysteresis":[
934 0.0,
935 0.0,
936 0.0,
937 0.0,
938 100,
939 0.0,
940 0.0
941 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800942 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700943 "Multiplier":1,
944 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800945 },
946 {
947 "Name":"ocp_tpu",
948 "Type":"BCL_CURRENT",
949 "HotThreshold":[
950 "NAN",
951 "NAN",
952 "NAN",
953 "NAN",
George Leed337a062021-08-16 10:01:55 -0700954 10500,
Robin Pengcd374d82021-02-23 20:00:46 +0800955 "NAN",
956 "NAN"
957 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800958 "HotHysteresis":[
959 0.0,
960 0.0,
961 0.0,
962 0.0,
963 100,
964 0.0,
965 0.0
966 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800967 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700968 "Multiplier":1,
George Leed337a062021-08-16 10:01:55 -0700969 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800970 },
971 {
972 "Name":"ocp_gpu",
973 "Type":"BCL_CURRENT",
974 "HotThreshold":[
975 "NAN",
976 "NAN",
977 "NAN",
978 "NAN",
George Leed337a062021-08-16 10:01:55 -0700979 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800980 "NAN",
981 "NAN"
982 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800983 "HotHysteresis":[
984 0.0,
985 0.0,
986 0.0,
987 0.0,
988 100,
989 0.0,
990 0.0
991 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800992 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700993 "Multiplier":1,
994 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800995 },
996 {
997 "Name":"soft_ocp_cpu2",
998 "Type":"BCL_CURRENT",
999 "HotThreshold":[
1000 "NAN",
1001 "NAN",
1002 "NAN",
1003 "NAN",
George Lee090b93c2021-07-21 13:53:31 -07001004 9000,
Robin Pengcd374d82021-02-23 20:00:46 +08001005 "NAN",
1006 "NAN"
1007 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001008 "HotHysteresis":[
1009 0.0,
1010 0.0,
1011 0.0,
1012 0.0,
1013 100,
1014 0.0,
1015 0.0
1016 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001017 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001018 "Multiplier":1,
1019 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001020 },
1021 {
1022 "Name":"soft_ocp_cpu1",
1023 "Type":"BCL_CURRENT",
1024 "HotThreshold":[
1025 "NAN",
1026 "NAN",
1027 "NAN",
1028 "NAN",
George Lee090b93c2021-07-21 13:53:31 -07001029 7000,
Robin Pengcd374d82021-02-23 20:00:46 +08001030 "NAN",
1031 "NAN"
1032 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001033 "HotHysteresis":[
1034 0.0,
1035 0.0,
1036 0.0,
1037 0.0,
1038 100,
1039 0.0,
1040 0.0
1041 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001042 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001043 "Multiplier":1,
1044 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001045 },
1046 {
1047 "Name":"soft_ocp_tpu",
1048 "Type":"BCL_CURRENT",
1049 "HotThreshold":[
1050 "NAN",
1051 "NAN",
1052 "NAN",
1053 "NAN",
George Leed337a062021-08-16 10:01:55 -07001054 8500,
Robin Pengcd374d82021-02-23 20:00:46 +08001055 "NAN",
1056 "NAN"
1057 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001058 "HotHysteresis":[
1059 0.0,
1060 0.0,
1061 0.0,
1062 0.0,
1063 100,
1064 0.0,
1065 0.0
1066 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001067 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001068 "Multiplier":1,
George Lee4a6d0b72021-08-12 08:40:55 -07001069 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001070 },
1071 {
1072 "Name":"soft_ocp_gpu",
1073 "Type":"BCL_CURRENT",
1074 "HotThreshold":[
1075 "NAN",
1076 "NAN",
1077 "NAN",
1078 "NAN",
George Leed337a062021-08-16 10:01:55 -07001079 9000,
Robin Pengcd374d82021-02-23 20:00:46 +08001080 "NAN",
1081 "NAN"
1082 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001083 "HotHysteresis":[
1084 0.0,
1085 0.0,
1086 0.0,
1087 0.0,
1088 100,
1089 0.0,
1090 0.0
1091 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001092 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001093 "Multiplier":1,
1094 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001095 },
1096 {
1097 "Name":"TPU",
1098 "Type":"NPU",
1099 "HotThreshold":[
1100 "NAN",
1101 "NAN",
1102 "NAN",
1103 "NAN",
1104 "NAN",
1105 "NAN",
1106 115.0
1107 ],
1108 "VrThreshold":"NAN",
1109 "Multiplier":0.001
1110 }
1111 ],
1112 "CoolingDevices":[
1113 {
1114 "Name":"thermal-cpufreq-0",
1115 "Type":"CPU",
1116 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
YiHo Cheng6f960da2021-08-05 16:06:26 +08001117 "State2Power":["412", "352", "308", "236", "212", "176", "152", "116", "76", "56", "24"]
Robin Pengcd374d82021-02-23 20:00:46 +08001118 },
1119 {
1120 "Name":"thermal-cpufreq-1",
1121 "Type":"CPU",
1122 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
YiHo Cheng6f960da2021-08-05 16:06:26 +08001123 "State2Power":["1198", "1018", "854", "696", "566", "452", "356", "296", "226", "188", "152", "124", "90", "58"]
Robin Pengcd374d82021-02-23 20:00:46 +08001124 },
1125 {
1126 "Name":"thermal-cpufreq-2",
1127 "Type":"CPU",
1128 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001129 "State2Power":["4406", "3874", "3500", "3052", "2704", "2334", "2176", "1864", "1492", "1362", "1116", "908", "756", "594", "478", "388", "178"]
Robin Pengcd374d82021-02-23 20:00:46 +08001130 },
1131 {
1132 "Name":"thermal-gpufreq-0",
1133 "Type":"GPU",
1134 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001135 "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +08001136 },
1137 {
1138 "Name":"fcc",
1139 "Type":"BATTERY"
1140 },
1141 {
1142 "Name":"dc_icl",
1143 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +08001144 },
1145 {
1146 "Name":"wlc_fcc",
1147 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +08001148 },
1149 {
1150 "Name":"usbc-port",
1151 "Type":"BATTERY"
TeYuan Wang3f4c1162021-08-06 16:11:16 +08001152 },
1153 {
1154 "Name":"tpu_cooling",
1155 "Type":"NPU",
1156 "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +08001157 }
TeYuan Wangfef56f32021-06-11 20:34:25 +08001158 ],
1159 "PowerRails":[
1160 {
1161 "Name":"PPVAR_VSYS_PWR_DISP"
1162 },
1163 {
1164 "Name":"VSYS_PWR_MODEM"
1165 },
1166 {
1167 "Name":"S2M_VDD_CPUCL2",
1168 "PowerSampleDelay":14000,
1169 "PowerSampleCount":5
1170
1171 },
1172 {
1173 "Name":"S3M_VDD_CPUCL1",
1174 "PowerSampleDelay":14000,
1175 "PowerSampleCount":5
1176 },
1177 {
1178 "Name":"S4M_VDD_CPUCL0",
1179 "PowerSampleDelay":14000,
1180 "PowerSampleCount":5
1181 },
1182 {
1183 "Name":"S5M_VDD_INT"
1184 },
1185 {
YiHo Cheng1a261f82021-07-12 19:58:52 +08001186 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +08001187 },
1188 {
1189 "Name":"S2S_VDD_G3D",
1190 "PowerSampleDelay":14000,
1191 "PowerSampleCount":5
1192 },
1193 {
1194 "Name":"POWER_FOR_CHARGING_THROTTLING",
1195 "VirtualRails":true,
1196 "Formula":"WEIGHTED_AVG",
1197 "Combination":[
TeYuan Wangfef56f32021-06-11 20:34:25 +08001198 "VSYS_PWR_MODEM",
1199 "S2M_VDD_CPUCL2",
1200 "S3M_VDD_CPUCL1",
1201 "S4M_VDD_CPUCL0",
1202 "S5M_VDD_INT",
1203 "S1M_VDD_MIF",
1204 "S2S_VDD_G3D"
1205 ],
1206 "Coefficient":[
1207 "1.0",
1208 "1.0",
1209 "1.0",
1210 "1.0",
1211 "1.0",
1212 "1.0",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001213 "1.0"
1214 ],
1215 "PowerSampleDelay":14000,
1216 "PowerSampleCount":5
1217 }
Robin Pengcd374d82021-02-23 20:00:46 +08001218 ]
1219}