blob: b67f5e7427cd545524b9d48a785c37853d44ea62 [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 {
209 "Name":"VIRTUAL-QI-BATT",
210 "Type":"UNKNOWN",
211 "VirtualSensor":true,
212 "Formula":"WEIGHTED_AVG",
213 "Combination":[
214 "qi_therm",
215 "battery"
216 ],
217 "Coefficient":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800218 "0.22",
219 "0.78"
Robin Pengcd374d82021-02-23 20:00:46 +0800220 ],
TeYuan Wangdc760c42021-04-28 16:09:01 +0800221 "Offset":-500,
222 "HotThreshold":[
223 "NAN",
224 "NAN",
225 "NAN",
226 "NAN",
227 "NAN",
228 "NAN",
229 "NAN"
230 ],
231 "VrThreshold":"NAN",
232 "Multiplier":0.001
233 },
234 {
235 "Name":"VIRTUAL-USB2-DISP",
236 "Type":"UNKNOWN",
237 "VirtualSensor":true,
238 "Formula":"WEIGHTED_AVG",
239 "Combination":[
240 "usb_pwr_therm2",
241 "disp_therm"
242 ],
243 "Coefficient":[
244 "0.16",
245 "0.84"
246 ],
247 "Offset":1500,
248 "HotThreshold":[
249 "NAN",
250 "NAN",
251 "NAN",
252 "NAN",
253 "NAN",
254 "NAN",
255 "NAN"
256 ],
257 "VrThreshold":"NAN",
258 "Multiplier":0.001
259 },
260 {
261 "Name":"VIRTUAL-QUIET-BATT",
262 "Type":"UNKNOWN",
263 "VirtualSensor":true,
264 "Formula":"WEIGHTED_AVG",
265 "Combination":[
266 "quiet_therm",
267 "battery"
268 ],
269 "Coefficient":[
270 "2.15",
271 "-1.15"
272 ],
273 "Offset":-2000,
Robin Pengcd374d82021-02-23 20:00:46 +0800274 "HotThreshold":[
275 "NAN",
276 "NAN",
277 "NAN",
278 "NAN",
279 "NAN",
280 "NAN",
281 "NAN"
282 ],
283 "VrThreshold":"NAN",
284 "Multiplier":0.001
285 },
286 {
287 "Name":"VIRTUAL-SKIN",
288 "Type":"SKIN",
289 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800290 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800291 "Formula":"MAXIMUM",
292 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800293 "VIRTUAL-QI-GNSS",
294 "VIRTUAL-QI-BATT",
295 "VIRTUAL-USB2-DISP",
296 "VIRTUAL-QUIET-BATT"
Robin Pengcd374d82021-02-23 20:00:46 +0800297 ],
298 "Coefficient":[
299 "1.0",
300 "1.0",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800301 "1.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800302 "1.0"
303 ],
304 "HotThreshold":[
305 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800306 "39.0",
307 "43.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800308 "45.0",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800309 "47.0",
310 "52.0",
Jia-yi Chen79a3b702021-06-02 14:05:18 -0700311 "55.0"
Robin Pengcd374d82021-02-23 20:00:46 +0800312 ],
313 "HotHysteresis":[
314 0.0,
315 1.9,
316 1.9,
317 1.9,
318 1.9,
319 1.9,
320 1.9
321 ],
322 "VrThreshold":"NAN",
323 "Multiplier":0.001,
David Chao0a57e6a2021-05-25 00:19:25 +0800324 "SendPowerHint":true,
Robin Pengcd374d82021-02-23 20:00:46 +0800325 "Monitor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800326 "PollingDelay":300000,
Robin Pengcd374d82021-02-23 20:00:46 +0800327 "PassiveDelay":7000,
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800328 "PIDInfo": {
YiHo Cheng6acf60f2021-07-14 17:57:23 +0800329 "K_Po":["NAN", "NAN", 1500, 1500, "NAN", "NAN", "NAN"],
330 "K_Pu":["NAN", "NAN", 1500, 1500, "NAN", "NAN", "NAN"],
331 "K_I":["NAN", "NAN", 20, 20, "NAN", "NAN", "NAN"],
332 "K_D":["NAN", "NAN", 10, 10, "NAN", "NAN", "NAN"],
333 "I_Max":["NAN", "NAN", 4000, 4000, "NAN", "NAN", "NAN"],
334 "S_Power":["NAN", "NAN", 5000, 3500, "NAN", "NAN", "NAN"],
335 "MinAllocPower":["NAN", "NAN", 2000, 2000, "NAN", "NAN", "NAN"],
336 "MaxAllocPower":["NAN", "NAN", 9500, 6500, "NAN", "NAN", "NAN"],
337 "I_Cutoff":["NAN", "NAN", 2, 2, "NAN", "NAN", "NAN"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800338 },
339 "BindedCdevInfo": [
Robin Pengcd374d82021-02-23 20:00:46 +0800340 {
341 "CdevRequest": "thermal-cpufreq-0",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800342 "CdevWeightForPID": [0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9],
343 "CdevCeiling": [6, 6, 6, 7, 8, 10, 10],
mandyshen6bcf4722021-07-28 22:41:10 +0800344 "LimitInfo": [0, 0, 0, 0, 8, 10, 10],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800345 "BindedPowerRail": "S4M_VDD_CPUCL0",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800346 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800347 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800348 },
349 {
350 "CdevRequest": "thermal-cpufreq-1",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800351 "CdevWeightForPID": [1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1],
352 "CdevCeiling": [7, 7, 7, 8, 9, 11, 11],
mandyshen6bcf4722021-07-28 22:41:10 +0800353 "LimitInfo": [0, 0, 0, 0, 9, 11, 11],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800354 "BindedPowerRail": "S3M_VDD_CPUCL1",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800355 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800356 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800357 },
358 {
359 "CdevRequest": "thermal-cpufreq-2",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800360 "CdevWeightForPID": [2.9, 2.9, 2.9, 2.9, 2.9, 2.9, 2.9],
361 "CdevCeiling": [12, 12, 12, 13, 14, 16, 16],
mandyshen6bcf4722021-07-28 22:41:10 +0800362 "LimitInfo": [0, 0, 0, 0, 14, 16, 16],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800363 "BindedPowerRail": "S2M_VDD_CPUCL2",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800364 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800365 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800366 },
367 {
368 "CdevRequest": "thermal-gpufreq-0",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800369 "CdevWeightForPID": [3.3, 3.3, 3.3, 3.3, 3.3, 3.3, 3.3],
370 "CdevCeiling": [7, 7, 7, 8, 10, 11, 11],
YiHo Cheng6acf60f2021-07-14 17:57:23 +0800371 "LimitInfo": [0, 0, 0, 0, 10, 11, 11],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800372 "BindedPowerRail": "S2S_VDD_G3D",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800373 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800374 "ReleaseLogic": "DECREASE"
375 },
376 {
377 "CdevRequest": "fcc",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800378 "LimitInfo": [0, 2, 3, 4, 4, 4, 4],
379 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
380 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700381 "CdevFloorWithPowerLink": [0, 0, 1, 2, 4 ,4 ,4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800382 "ReleaseLogic": "RELEASE_TO_FLOOR",
383 "ThrottlingWithPowerLink":true
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800384 },
385 {
386 "CdevRequest": "dc_icl",
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700387 "LimitInfo": [0, 1, 2, 4, 4, 4, 4],
388 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
389 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
390 "CdevFloorWithPowerLink": [0, 1, 2, 3, 4, 4, 4],
391 "ReleaseLogic": "RELEASE_TO_FLOOR",
392 "ThrottlingWithPowerLink":true
TeYuan Wangbe012112021-06-09 11:02:39 +0800393 },
394 {
395 "CdevRequest": "wlc_fcc",
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700396 "LimitInfo": [0, 2, 2, 5, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800397 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
398 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700399 "CdevFloorWithPowerLink": [0, 1, 1, 2, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800400 "ReleaseLogic": "RELEASE_TO_FLOOR",
401 "ThrottlingWithPowerLink":true
Robin Pengcd374d82021-02-23 20:00:46 +0800402 }
403 ]
404 },
405 {
406 "Name":"cellular-emergency",
407 "Type":"POWER_AMPLIFIER",
408 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800409 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800410 "Formula":"MAXIMUM",
411 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800412 "VIRTUAL-QI-GNSS",
413 "VIRTUAL-QI-BATT",
414 "VIRTUAL-USB2-DISP",
415 "VIRTUAL-QUIET-BATT"
Robin Pengcd374d82021-02-23 20:00:46 +0800416 ],
417 "Coefficient":[
418 "1.0",
419 "1.0",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800420 "1.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800421 "1.0"
422 ],
423 "HotThreshold":[
424 "NAN",
425 "NAN",
426 "NAN",
427 "NAN",
428 "NAN",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800429 "54.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800430 "NAN"
431 ],
432 "HotHysteresis":[
433 0.0,
434 0.0,
435 0.0,
436 0.0,
Blake Kragtenca7a6332021-04-06 13:33:55 -0700437 0.0,
Blake Kragten9d6c2d92021-06-03 17:18:39 -0700438 1.9,
Robin Pengcd374d82021-02-23 20:00:46 +0800439 0.0
440 ],
441 "VrThreshold":"NAN",
442 "Multiplier":0.001,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800443 "Monitor":true,
444 "PollingDelay":300000,
445 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +0800446 },
447 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800448 "Name":"USB2-MINUS-USB",
449 "Type":"UNKNOWN",
450 "VirtualSensor":true,
451 "Formula":"WEIGHTED_AVG",
452 "Combination":[
453 "usb_pwr_therm2",
454 "usb_pwr_therm"
455 ],
456 "Coefficient":[
457 "1.0",
458 "-1.0"
459 ],
460 "HotThreshold":[
461 "NAN",
462 "NAN",
463 "NAN",
464 "NAN",
465 "NAN",
466 "NAN",
467 "NAN"
468 ],
469 "VrThreshold":"NAN",
470 "Multiplier":0.001
471 },
472 {
473 "Name":"USB2-MINUS-QI",
474 "Type":"UNKNOWN",
475 "VirtualSensor":true,
476 "Formula":"WEIGHTED_AVG",
477 "Combination":[
478 "usb_pwr_therm2",
479 "qi_therm"
480 ],
481 "Coefficient":[
482 "1.0",
483 "-1.0"
484 ],
485 "HotThreshold":[
486 "NAN",
487 "NAN",
488 "NAN",
489 "NAN",
490 "NAN",
491 "NAN",
492 "NAN"
493 ],
494 "VrThreshold":"NAN",
495 "Multiplier":0.001
496 },
497 {
498 "Name":"VIRTUAL-USB-THROTTLING",
499 "Type":"USB_PORT",
500 "VirtualSensor":true,
501 "Formula":"COUNT_THRESHOLD",
502 "TriggerSensor": "usb_pwr_therm2",
503 "Combination":[
504 "usb_pwr_therm2",
505 "USB2-MINUS-USB",
506 "USB2-MINUS-QI"
507 ],
508 "Coefficient":[
509 "35000",
510 "2000",
511 "10000"
512 ],
513 "HotThreshold":[
514 "NAN",
515 "NAN",
516 "NAN",
517 "NAN",
518 "3.0",
519 "NAN",
520 "NAN"
521 ],
522 "BindedCdevInfo": [
523 {
524 "CdevRequest": "usbc-port",
525 "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
526 }
527 ],
528 "VrThreshold":"NAN",
529 "Multiplier":1,
530 "PollingDelay":60000,
531 "PassiveDelay":7000
532 },
533 {
534 "Name":"VIRTUAL-USB-UI",
535 "Type":"USB_PORT",
536 "VirtualSensor":true,
537 "Formula":"COUNT_THRESHOLD",
538 "TriggerSensor": "usb_pwr_therm2",
539 "Combination":[
540 "usb_pwr_therm2",
541 "USB2-MINUS-USB",
542 "USB2-MINUS-QI"
543 ],
544 "Coefficient":[
545 "35000",
546 "3000",
547 "12000"
548 ],
549 "HotThreshold":[
550 "NAN",
551 "NAN",
552 "NAN",
553 "NAN",
554 "NAN",
555 "3.0",
556 "NAN"
557 ],
558 "VrThreshold":"NAN",
559 "Multiplier":1,
560 "Monitor":true,
561 "PollingDelay":60000,
562 "PassiveDelay":7000
563 },
564 {
Robin Pengcd374d82021-02-23 20:00:46 +0800565 "Name":"LITTLE",
566 "Type":"CPU",
567 "HotThreshold":[
568 "NAN",
569 "NAN",
570 "NAN",
571 "NAN",
572 "NAN",
573 "NAN",
574 115.0
575 ],
576 "VrThreshold":"NAN",
577 "Multiplier":0.001
578 },
579 {
580 "Name":"MID",
581 "Type":"CPU",
582 "HotThreshold":[
583 "NAN",
584 "NAN",
585 "NAN",
586 "NAN",
587 "NAN",
588 "NAN",
589 115.0
590 ],
591 "VrThreshold":"NAN",
592 "Multiplier":0.001
593 },
594 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800595 "Name":"BIG",
596 "Type":"CPU",
597 "HotThreshold":[
598 "NAN",
599 "NAN",
600 "NAN",
601 "NAN",
602 "NAN",
603 "NAN",
604 115.0
605 ],
606 "VrThreshold":"NAN",
607 "Multiplier":0.001
608 },
609 {
Robin Pengcd374d82021-02-23 20:00:46 +0800610 "Name":"G3D",
611 "Type":"GPU",
612 "HotThreshold":[
613 "NAN",
614 "NAN",
615 "NAN",
616 "NAN",
617 "NAN",
618 "NAN",
619 115.0
620 ],
621 "VrThreshold":"NAN",
622 "Multiplier":0.001
623 },
624 {
625 "Name":"battery_cycle",
626 "Type":"BCL_VOLTAGE",
627 "HotThreshold":[
628 "NAN",
629 "NAN",
630 "NAN",
631 "NAN",
632 "NAN",
633 "NAN",
634 "NAN"
635 ],
636 "VrThreshold":"NAN",
637 "Multiplier":1,
638 "Monitor":false
639 },
640 {
George Lee1dbbc0a2021-03-08 09:28:34 -0800641 "Name":"critical-battery-cell",
642 "Type":"BCL_VOLTAGE",
643 "VirtualSensor":true,
644 "Formula":"COUNT_THRESHOLD",
645 "TriggerSensor": "vdroop1",
646 "Combination":[
647 "battery",
648 "battery_cycle",
649 "vdroop1"
650 ],
651 "Coefficient":[
652 "-10000",
653 "400",
654 "1200"
655 ],
656 "HotThreshold":[
657 "NAN",
658 "NAN",
659 "NAN",
660 "NAN",
661 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800662 3.00,
George Lee1dbbc0a2021-03-08 09:28:34 -0800663 "NAN"
664 ],
665 "VrThreshold":"NAN",
666 "Multiplier":1,
667 "Monitor":true
668 },
669 {
Robin Pengcd374d82021-02-23 20:00:46 +0800670 "Name":"FLASH_LED_REDUCE",
671 "Type":"UNKNOWN",
672 "VirtualSensor":true,
673 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800674 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800675 "Combination":[
676 "battery",
677 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800678 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800679 ],
680 "Coefficient":[
681 "-10000",
682 "400",
George Leec761b412021-03-08 09:26:59 -0800683 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800684 ],
685 "HotThreshold":[
686 "NAN",
687 "NAN",
688 "NAN",
689 "NAN",
690 3.00,
691 "NAN",
692 "NAN"
693 ],
694 "VrThreshold":"NAN",
695 "Multiplier":1,
696 "Monitor":true,
697 "SendPowerHint":true
698 },
699 {
700 "Name":"soc",
701 "Type":"BCL_PERCENTAGE",
702 "HotThreshold":[
703 "NAN",
704 "NAN",
705 "NAN",
Robin Pengcd374d82021-02-23 20:00:46 +0800706 90,
George Lee156e8f12021-05-24 12:11:48 -0700707 93,
708 96,
Robin Pengcd374d82021-02-23 20:00:46 +0800709 "NAN"
710 ],
711 "VrThreshold":"NAN",
712 "Multiplier":1,
George Lee156e8f12021-05-24 12:11:48 -0700713 "Monitor":true,
714 "PollingDelay":300000,
715 "PassiveDelay":5000,
716 "BindedCdevInfo": [
717 {
718 "CdevRequest": "thermal-cpufreq-2",
719 "LimitInfo": [0, 0, 0, 7, 7, 10, 10]
George Lee156e8f12021-05-24 12:11:48 -0700720 }
721 ]
Robin Pengcd374d82021-02-23 20:00:46 +0800722 },
723 {
George Lee090b93c2021-07-21 13:53:31 -0700724 "Name":"batoilo",
725 "Type":"BCL_CURRENT",
726 "HotThreshold":[
727 "NAN",
728 "NAN",
729 "NAN",
730 "NAN",
731 5000,
732 "NAN",
733 "NAN"
734 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800735 "HotHysteresis":[
736 0.0,
737 0.0,
738 0.0,
739 0.0,
740 100,
741 0.0,
742 0.0
743 ],
George Lee090b93c2021-07-21 13:53:31 -0700744 "VrThreshold":"NAN",
745 "Multiplier":1,
746 "Monitor":true
747 },
748 {
George Leec761b412021-03-08 09:26:59 -0800749 "Name":"vdroop1",
750 "Type":"BCL_VOLTAGE",
751 "HotThreshold":[
752 "NAN",
753 "NAN",
754 "NAN",
755 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700756 1150,
George Leec761b412021-03-08 09:26:59 -0800757 "NAN",
758 "NAN"
759 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800760 "HotHysteresis":[
761 0.0,
762 0.0,
763 0.0,
764 0.0,
765 100,
766 0.0,
767 0.0
768 ],
George Leec761b412021-03-08 09:26:59 -0800769 "VrThreshold":"NAN",
770 "Multiplier":1,
771 "Monitor":true
772 },
773 {
774 "Name":"vdroop2",
775 "Type":"BCL_VOLTAGE",
776 "HotThreshold":[
777 "NAN",
778 "NAN",
779 "NAN",
780 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700781 1350,
George Leec761b412021-03-08 09:26:59 -0800782 "NAN",
783 "NAN"
784 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800785 "HotHysteresis":[
786 0.0,
787 0.0,
788 0.0,
789 0.0,
790 100,
791 0.0,
792 0.0
793 ],
George Leec761b412021-03-08 09:26:59 -0800794 "VrThreshold":"NAN",
795 "Multiplier":1,
796 "Monitor":true
797 },
798 {
Robin Pengcd374d82021-02-23 20:00:46 +0800799 "Name":"smpl_gm",
800 "Type":"BCL_VOLTAGE",
801 "HotThreshold":[
802 "NAN",
803 "NAN",
804 "NAN",
805 "NAN",
806 1400,
807 "NAN",
808 "NAN"
809 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800810 "HotHysteresis":[
811 0.0,
812 0.0,
813 0.0,
814 0.0,
815 100,
816 0.0,
817 0.0
818 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800819 "VrThreshold":"NAN",
820 "Multiplier":1,
821 "Monitor":true
822 },
823 {
824 "Name":"ocp_cpu1",
825 "Type":"BCL_CURRENT",
826 "HotThreshold":[
827 "NAN",
828 "NAN",
829 "NAN",
830 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700831 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800832 "NAN",
833 "NAN"
834 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800835 "HotHysteresis":[
836 0.0,
837 0.0,
838 0.0,
839 0.0,
840 100,
841 0.0,
842 0.0
843 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800844 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700845 "Multiplier":1,
846 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800847 },
848 {
849 "Name":"ocp_cpu2",
850 "Type":"BCL_CURRENT",
851 "HotThreshold":[
852 "NAN",
853 "NAN",
854 "NAN",
855 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700856 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800857 "NAN",
858 "NAN"
859 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800860 "HotHysteresis":[
861 0.0,
862 0.0,
863 0.0,
864 0.0,
865 100,
866 0.0,
867 0.0
868 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800869 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700870 "Multiplier":1,
871 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800872 },
873 {
874 "Name":"ocp_tpu",
875 "Type":"BCL_CURRENT",
876 "HotThreshold":[
877 "NAN",
878 "NAN",
879 "NAN",
880 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700881 10500,
Robin Pengcd374d82021-02-23 20:00:46 +0800882 "NAN",
883 "NAN"
884 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800885 "HotHysteresis":[
886 0.0,
887 0.0,
888 0.0,
889 0.0,
890 100,
891 0.0,
892 0.0
893 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800894 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700895 "Multiplier":1,
896 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800897 },
898 {
899 "Name":"ocp_gpu",
900 "Type":"BCL_CURRENT",
901 "HotThreshold":[
902 "NAN",
903 "NAN",
904 "NAN",
905 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700906 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800907 "NAN",
908 "NAN"
909 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800910 "HotHysteresis":[
911 0.0,
912 0.0,
913 0.0,
914 0.0,
915 100,
916 0.0,
917 0.0
918 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800919 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700920 "Multiplier":1,
921 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800922 },
923 {
924 "Name":"soft_ocp_cpu2",
925 "Type":"BCL_CURRENT",
926 "HotThreshold":[
927 "NAN",
928 "NAN",
929 "NAN",
930 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700931 9000,
Robin Pengcd374d82021-02-23 20:00:46 +0800932 "NAN",
933 "NAN"
934 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800935 "HotHysteresis":[
936 0.0,
937 0.0,
938 0.0,
939 0.0,
940 100,
941 0.0,
942 0.0
943 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800944 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700945 "Multiplier":1,
946 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800947 },
948 {
949 "Name":"soft_ocp_cpu1",
950 "Type":"BCL_CURRENT",
951 "HotThreshold":[
952 "NAN",
953 "NAN",
954 "NAN",
955 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700956 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800957 "NAN",
958 "NAN"
959 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800960 "HotHysteresis":[
961 0.0,
962 0.0,
963 0.0,
964 0.0,
965 100,
966 0.0,
967 0.0
968 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800969 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700970 "Multiplier":1,
971 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800972 },
973 {
974 "Name":"soft_ocp_tpu",
975 "Type":"BCL_CURRENT",
976 "HotThreshold":[
977 "NAN",
978 "NAN",
979 "NAN",
980 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700981 8500,
Robin Pengcd374d82021-02-23 20:00:46 +0800982 "NAN",
983 "NAN"
984 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800985 "HotHysteresis":[
986 0.0,
987 0.0,
988 0.0,
989 0.0,
990 100,
991 0.0,
992 0.0
993 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800994 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700995 "Multiplier":1,
996 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800997 },
998 {
999 "Name":"soft_ocp_gpu",
1000 "Type":"BCL_CURRENT",
1001 "HotThreshold":[
1002 "NAN",
1003 "NAN",
1004 "NAN",
1005 "NAN",
George Lee090b93c2021-07-21 13:53:31 -07001006 9000,
Robin Pengcd374d82021-02-23 20:00:46 +08001007 "NAN",
1008 "NAN"
1009 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001010 "HotHysteresis":[
1011 0.0,
1012 0.0,
1013 0.0,
1014 0.0,
1015 100,
1016 0.0,
1017 0.0
1018 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001019 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001020 "Multiplier":1,
1021 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001022 },
1023 {
1024 "Name":"TPU",
1025 "Type":"NPU",
1026 "HotThreshold":[
1027 "NAN",
1028 "NAN",
1029 "NAN",
1030 "NAN",
1031 "NAN",
1032 "NAN",
1033 115.0
1034 ],
1035 "VrThreshold":"NAN",
1036 "Multiplier":0.001
1037 }
1038 ],
1039 "CoolingDevices":[
1040 {
1041 "Name":"thermal-cpufreq-0",
1042 "Type":"CPU",
1043 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001044 "State2Power":["428", "368", "320", "244", "220", "184", "156", "116", "80", "56", "24"]
Robin Pengcd374d82021-02-23 20:00:46 +08001045 },
1046 {
1047 "Name":"thermal-cpufreq-1",
1048 "Type":"CPU",
1049 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001050 "State2Power":["904", "740", "594", "476", "374", "314", "236", "192", "156", "126", "90", "58"]
Robin Pengcd374d82021-02-23 20:00:46 +08001051 },
1052 {
1053 "Name":"thermal-cpufreq-2",
1054 "Type":"CPU",
1055 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001056 "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 +08001057 },
1058 {
1059 "Name":"thermal-gpufreq-0",
1060 "Type":"GPU",
1061 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001062 "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +08001063 },
1064 {
1065 "Name":"fcc",
1066 "Type":"BATTERY"
1067 },
1068 {
1069 "Name":"dc_icl",
1070 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +08001071 },
1072 {
1073 "Name":"wlc_fcc",
1074 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +08001075 },
1076 {
1077 "Name":"usbc-port",
1078 "Type":"BATTERY"
Robin Pengcd374d82021-02-23 20:00:46 +08001079 }
TeYuan Wangfef56f32021-06-11 20:34:25 +08001080 ],
1081 "PowerRails":[
1082 {
1083 "Name":"PPVAR_VSYS_PWR_DISP"
1084 },
1085 {
1086 "Name":"VSYS_PWR_MODEM"
1087 },
1088 {
1089 "Name":"S2M_VDD_CPUCL2",
1090 "PowerSampleDelay":14000,
1091 "PowerSampleCount":5
1092
1093 },
1094 {
1095 "Name":"S3M_VDD_CPUCL1",
1096 "PowerSampleDelay":14000,
1097 "PowerSampleCount":5
1098 },
1099 {
1100 "Name":"S4M_VDD_CPUCL0",
1101 "PowerSampleDelay":14000,
1102 "PowerSampleCount":5
1103 },
1104 {
1105 "Name":"S5M_VDD_INT"
1106 },
1107 {
YiHo Cheng1a261f82021-07-12 19:58:52 +08001108 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +08001109 },
1110 {
1111 "Name":"S2S_VDD_G3D",
1112 "PowerSampleDelay":14000,
1113 "PowerSampleCount":5
1114 },
1115 {
1116 "Name":"POWER_FOR_CHARGING_THROTTLING",
1117 "VirtualRails":true,
1118 "Formula":"WEIGHTED_AVG",
1119 "Combination":[
TeYuan Wangfef56f32021-06-11 20:34:25 +08001120 "VSYS_PWR_MODEM",
1121 "S2M_VDD_CPUCL2",
1122 "S3M_VDD_CPUCL1",
1123 "S4M_VDD_CPUCL0",
1124 "S5M_VDD_INT",
1125 "S1M_VDD_MIF",
1126 "S2S_VDD_G3D"
1127 ],
1128 "Coefficient":[
1129 "1.0",
1130 "1.0",
1131 "1.0",
1132 "1.0",
1133 "1.0",
1134 "1.0",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001135 "1.0"
1136 ],
1137 "PowerSampleDelay":14000,
1138 "PowerSampleCount":5
1139 }
Robin Pengcd374d82021-02-23 20:00:46 +08001140 ]
1141}