blob: 26a1b38674a38707eff5230551544d2507e78139 [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 {
19 "Name":"neutral_therm",
20 "Type":"UNKNOWN",
21 "HotThreshold":[
22 "NAN",
23 "40.0",
24 "NAN",
25 "NAN",
26 "NAN",
27 "NAN",
28 "NAN"
29 ],
30 "VrThreshold":"NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +080031 "Multiplier":0.001,
32 "PollingDelay":60000,
33 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +080034 },
35 {
36 "Name":"gnss_tcxo_therm",
37 "Type":"UNKNOWN",
38 "HotThreshold":[
39 "NAN",
40 "NAN",
41 "NAN",
42 "NAN",
43 "NAN",
44 "NAN",
45 "NAN"
46 ],
47 "VrThreshold":"NAN",
48 "Multiplier":0.001
49 },
50 {
51 "Name":"qi_therm",
52 "Type":"UNKNOWN",
53 "HotThreshold":[
54 "NAN",
55 "NAN",
56 "NAN",
57 "NAN",
58 "NAN",
59 "NAN",
60 "NAN"
61 ],
62 "VrThreshold":"NAN",
63 "Multiplier":0.001
64 },
65 {
66 "Name":"VIRTUAL-GNSS-BATT",
67 "Type":"UNKNOWN",
68 "VirtualSensor":true,
69 "Formula":"WEIGHTED_AVG",
70 "Combination":[
71 "gnss_tcxo_therm",
72 "battery"
73 ],
74 "Coefficient":[
75 "0.375",
76 "0.625"
77 ],
78 "HotThreshold":[
79 "NAN",
80 "NAN",
81 "NAN",
82 "NAN",
83 "NAN",
84 "NAN",
85 "NAN"
86 ],
87 "VrThreshold":"NAN",
88 "Multiplier":0.001
89 },
90 {
91 "Name":"VIRTUAL-QI-BATT",
92 "Type":"UNKNOWN",
93 "VirtualSensor":true,
94 "Formula":"WEIGHTED_AVG",
95 "Combination":[
96 "qi_therm",
97 "battery"
98 ],
99 "Coefficient":[
100 "0.25",
101 "0.75"
102 ],
103 "HotThreshold":[
104 "NAN",
105 "NAN",
106 "NAN",
107 "NAN",
108 "NAN",
109 "NAN",
110 "NAN"
111 ],
112 "VrThreshold":"NAN",
113 "Multiplier":0.001
114 },
115 {
116 "Name":"VIRTUAL-SKIN",
117 "Type":"SKIN",
118 "VirtualSensor":true,
119 "TriggerSensor":"neutral_therm",
120 "Formula":"MAXIMUM",
121 "Combination":[
122 "neutral_therm",
123 "VIRTUAL-GNSS-BATT",
124 "VIRTUAL-QI-BATT"
125 ],
126 "Coefficient":[
127 "1.0",
128 "1.0",
129 "1.0"
130 ],
131 "HotThreshold":[
132 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800133 "39.0",
134 "43.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800135 "45.0",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800136 "47.0",
137 "52.0",
138 "56.0"
Robin Pengcd374d82021-02-23 20:00:46 +0800139 ],
140 "HotHysteresis":[
141 0.0,
142 1.9,
143 1.9,
144 1.9,
145 1.9,
146 1.9,
147 1.9
148 ],
149 "VrThreshold":"NAN",
150 "Multiplier":0.001,
151 "Monitor":true,
152 "PollingDelay":60000,
153 "PassiveDelay":7000,
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800154 "PIDInfo": {
155 "K_Po":["NAN", "NAN", 1700, "NAN", "NAN", "NAN", "NAN"],
156 "K_Pu":["NAN", "NAN", 1700, "NAN", "NAN", "NAN", "NAN"],
157 "K_I":["NAN", "NAN", 10, "NAN", "NAN", "NAN", "NAN"],
158 "K_D":["NAN", "NAN", 10, "NAN", "NAN", "NAN", "NAN"],
159 "I_Max":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"],
160 "S_Power":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"],
161 "MinAllocPower":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"],
162 "MaxAllocPower":["NAN", "NAN", 9500, "NAN", "NAN", "NAN", "NAN"],
163 "I_Cutoff":["NAN", "NAN", 1, "NAN", "NAN", "NAN", "NAN"]
164 },
165 "BindedCdevInfo": [
Robin Pengcd374d82021-02-23 20:00:46 +0800166 {
167 "CdevRequest": "thermal-cpufreq-0",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800168 "CdevWeightForPID":0.9,
169 "CdevCeilingForPID":8,
170 "LimitInfo": [0, 0, 0, 9, 10, 12, 12],
171 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
172 "PowerSampleDelay":14000,
173 "PowerSampleCount":5,
174 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800175 },
176 {
177 "CdevRequest": "thermal-cpufreq-1",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800178 "CdevWeightForPID":1.1,
179 "CdevCeilingForPID":9,
180 "LimitInfo": [0, 0, 0, 10, 11, 13, 13],
181 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
182 "PowerSampleDelay":14000,
183 "PowerSampleCount":5,
184 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800185 },
186 {
187 "CdevRequest": "thermal-cpufreq-2",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800188 "CdevWeightForPID":2.9,
189 "CdevCeilingForPID":10,
190 "LimitInfo": [0, 0, 0, 11, 12, 14, 14],
191 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
192 "PowerSampleDelay":14000,
193 "PowerSampleCount":5,
194 "ReleaseLogic": "DECREASE"
Robin Pengcd374d82021-02-23 20:00:46 +0800195 },
196 {
197 "CdevRequest": "thermal-gpufreq-0",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800198 "CdevWeightForPID":3.3,
199 "CdevCeilingForPID":7,
200 "LimitInfo": [0, 0, 0, 8, 10, 11, 11],
201 "PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
202 "PowerSampleDelay":14000,
203 "PowerSampleCount":5,
204 "ReleaseLogic": "DECREASE"
205 },
206 {
207 "CdevRequest": "fcc",
208 "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
209 },
210 {
211 "CdevRequest": "dc_icl",
212 "LimitInfo": [0, 1, 2, 3, 4, 4, 4]
Robin Pengcd374d82021-02-23 20:00:46 +0800213 }
214 ]
215 },
216 {
217 "Name":"cellular-emergency",
218 "Type":"POWER_AMPLIFIER",
219 "VirtualSensor":true,
220 "TriggerSensor":"neutral_therm",
221 "Formula":"MAXIMUM",
222 "Combination":[
223 "neutral_therm",
224 "VIRTUAL-GNSS-BATT",
225 "VIRTUAL-QI-BATT"
226 ],
227 "Coefficient":[
228 "1.0",
229 "1.0",
230 "1.0"
231 ],
232 "HotThreshold":[
233 "NAN",
234 "NAN",
235 "NAN",
236 "NAN",
237 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800238 "55.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800239 "NAN"
240 ],
241 "HotHysteresis":[
242 0.0,
243 0.0,
244 0.0,
245 0.0,
246 0.0,
247 1.9,
248 0.0
249 ],
250 "VrThreshold":"NAN",
251 "Multiplier":0.001,
252 "Monitor":true
253 },
254 {
255 "Name":"LITTLE",
256 "Type":"CPU",
257 "HotThreshold":[
258 "NAN",
259 "NAN",
260 "NAN",
261 "NAN",
262 "NAN",
263 "NAN",
264 115.0
265 ],
266 "VrThreshold":"NAN",
267 "Multiplier":0.001
268 },
269 {
270 "Name":"MID",
271 "Type":"CPU",
272 "HotThreshold":[
273 "NAN",
274 "NAN",
275 "NAN",
276 "NAN",
277 "NAN",
278 "NAN",
279 115.0
280 ],
281 "VrThreshold":"NAN",
282 "Multiplier":0.001
283 },
284 {
285 "Name":"G3D",
286 "Type":"GPU",
287 "HotThreshold":[
288 "NAN",
289 "NAN",
290 "NAN",
291 "NAN",
292 "NAN",
293 "NAN",
294 115.0
295 ],
296 "VrThreshold":"NAN",
297 "Multiplier":0.001
298 },
299 {
300 "Name":"battery_cycle",
301 "Type":"BCL_VOLTAGE",
302 "HotThreshold":[
303 "NAN",
304 "NAN",
305 "NAN",
306 "NAN",
307 "NAN",
308 "NAN",
309 "NAN"
310 ],
311 "VrThreshold":"NAN",
312 "Multiplier":1,
313 "Monitor":false
314 },
315 {
George Lee1dbbc0a2021-03-08 09:28:34 -0800316 "Name":"critical-battery-cell",
317 "Type":"BCL_VOLTAGE",
318 "VirtualSensor":true,
319 "Formula":"COUNT_THRESHOLD",
320 "TriggerSensor": "vdroop1",
321 "Combination":[
322 "battery",
323 "battery_cycle",
324 "vdroop1"
325 ],
326 "Coefficient":[
327 "-10000",
328 "400",
329 "1200"
330 ],
331 "HotThreshold":[
332 "NAN",
333 "NAN",
334 "NAN",
335 "NAN",
336 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800337 3.00,
George Lee1dbbc0a2021-03-08 09:28:34 -0800338 "NAN"
339 ],
340 "VrThreshold":"NAN",
341 "Multiplier":1,
342 "Monitor":true
343 },
344 {
Robin Pengcd374d82021-02-23 20:00:46 +0800345 "Name":"FLASH_LED_REDUCE",
346 "Type":"UNKNOWN",
347 "VirtualSensor":true,
348 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800349 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800350 "Combination":[
351 "battery",
352 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800353 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800354 ],
355 "Coefficient":[
356 "-10000",
357 "400",
George Leec761b412021-03-08 09:26:59 -0800358 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800359 ],
360 "HotThreshold":[
361 "NAN",
362 "NAN",
363 "NAN",
364 "NAN",
365 3.00,
366 "NAN",
367 "NAN"
368 ],
369 "VrThreshold":"NAN",
370 "Multiplier":1,
371 "Monitor":true,
372 "SendPowerHint":true
373 },
374 {
375 "Name":"soc",
376 "Type":"BCL_PERCENTAGE",
377 "HotThreshold":[
378 "NAN",
379 "NAN",
380 "NAN",
381 "NAN",
382 90,
383 "NAN",
384 "NAN"
385 ],
386 "VrThreshold":"NAN",
387 "Multiplier":1,
388 "Monitor":false
389 },
390 {
George Leec761b412021-03-08 09:26:59 -0800391 "Name":"vdroop1",
392 "Type":"BCL_VOLTAGE",
393 "HotThreshold":[
394 "NAN",
395 "NAN",
396 "NAN",
397 "NAN",
398 1200,
399 "NAN",
400 "NAN"
401 ],
402 "VrThreshold":"NAN",
403 "Multiplier":1,
404 "Monitor":true
405 },
406 {
407 "Name":"vdroop2",
408 "Type":"BCL_VOLTAGE",
409 "HotThreshold":[
410 "NAN",
411 "NAN",
412 "NAN",
413 "NAN",
414 1200,
415 "NAN",
416 "NAN"
417 ],
418 "VrThreshold":"NAN",
419 "Multiplier":1,
420 "Monitor":true
421 },
422 {
Robin Pengcd374d82021-02-23 20:00:46 +0800423 "Name":"smpl_gm",
424 "Type":"BCL_VOLTAGE",
425 "HotThreshold":[
426 "NAN",
427 "NAN",
428 "NAN",
429 "NAN",
430 1400,
431 "NAN",
432 "NAN"
433 ],
434 "VrThreshold":"NAN",
435 "Multiplier":1,
436 "Monitor":true
437 },
438 {
439 "Name":"ocp_cpu1",
440 "Type":"BCL_CURRENT",
441 "HotThreshold":[
442 "NAN",
443 "NAN",
444 "NAN",
445 "NAN",
446 7,
447 "NAN",
448 "NAN"
449 ],
450 "VrThreshold":"NAN",
451 "Multiplier":0.001,
452 "Monitor":false
453 },
454 {
455 "Name":"ocp_cpu2",
456 "Type":"BCL_CURRENT",
457 "HotThreshold":[
458 "NAN",
459 "NAN",
460 "NAN",
461 "NAN",
462 12,
463 "NAN",
464 "NAN"
465 ],
466 "VrThreshold":"NAN",
467 "Multiplier":0.001,
468 "Monitor":false
469 },
470 {
471 "Name":"ocp_tpu",
472 "Type":"BCL_CURRENT",
473 "HotThreshold":[
474 "NAN",
475 "NAN",
476 "NAN",
477 "NAN",
478 10.5,
479 "NAN",
480 "NAN"
481 ],
482 "VrThreshold":"NAN",
483 "Multiplier":0.001,
484 "Monitor":false
485 },
486 {
487 "Name":"ocp_gpu",
488 "Type":"BCL_CURRENT",
489 "HotThreshold":[
490 "NAN",
491 "NAN",
492 "NAN",
493 "NAN",
494 13.2,
495 "NAN",
496 "NAN"
497 ],
498 "VrThreshold":"NAN",
499 "Multiplier":0.001,
500 "Monitor":false
501 },
502 {
503 "Name":"soft_ocp_cpu2",
504 "Type":"BCL_CURRENT",
505 "HotThreshold":[
506 "NAN",
507 "NAN",
508 "NAN",
509 "NAN",
510 12,
511 "NAN",
512 "NAN"
513 ],
514 "VrThreshold":"NAN",
515 "Multiplier":0.001,
516 "Monitor":false
517 },
518 {
519 "Name":"soft_ocp_cpu1",
520 "Type":"BCL_CURRENT",
521 "HotThreshold":[
522 "NAN",
523 "NAN",
524 "NAN",
525 "NAN",
526 7.00,
527 "NAN",
528 "NAN"
529 ],
530 "VrThreshold":"NAN",
531 "Multiplier":0.001,
532 "Monitor":false
533 },
534 {
535 "Name":"soft_ocp_tpu",
536 "Type":"BCL_CURRENT",
537 "HotThreshold":[
538 "NAN",
539 "NAN",
540 "NAN",
541 "NAN",
542 10.5,
543 "NAN",
544 "NAN"
545 ],
546 "VrThreshold":"NAN",
547 "Multiplier":0.001,
548 "Monitor":false
549 },
550 {
551 "Name":"soft_ocp_gpu",
552 "Type":"BCL_CURRENT",
553 "HotThreshold":[
554 "NAN",
555 "NAN",
556 "NAN",
557 "NAN",
558 13.2,
559 "NAN",
560 "NAN"
561 ],
562 "VrThreshold":"NAN",
563 "Multiplier":0.001,
564 "Monitor":false
565 },
566 {
567 "Name":"TPU",
568 "Type":"NPU",
569 "HotThreshold":[
570 "NAN",
571 "NAN",
572 "NAN",
573 "NAN",
574 "NAN",
575 "NAN",
576 115.0
577 ],
578 "VrThreshold":"NAN",
579 "Multiplier":0.001
580 }
581 ],
582 "CoolingDevices":[
583 {
584 "Name":"thermal-cpufreq-0",
585 "Type":"CPU",
586 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800587 "State2Power":["1100", "921", "684", "568", "479", "359", "322", "265", "228", "171", "117", "86", "41"],
588 "PowerRail":"S4M_VDD_CPUCL0"
Robin Pengcd374d82021-02-23 20:00:46 +0800589 },
590 {
591 "Name":"thermal-cpufreq-1",
592 "Type":"CPU",
593 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800594 "State2Power":["1335", "1118", "926", "744", "590", "466", "365", "308", "232", "190", "156", "129", "93", "62"],
595 "PowerRail":"S3M_VDD_CPUCL1"
Robin Pengcd374d82021-02-23 20:00:46 +0800596 },
597 {
598 "Name":"thermal-cpufreq-2",
599 "Type":"CPU",
600 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800601 "State2Power":["3215", "2986", "2563", "2215", "2036", "1702", "1341", "1191", "964", "791", "658", "519", "420", "344", "176"],
602 "PowerRail":"S2M_VDD_CPUCL2"
Robin Pengcd374d82021-02-23 20:00:46 +0800603 },
604 {
605 "Name":"thermal-gpufreq-0",
606 "Type":"GPU",
607 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800608 "State2Power":["3950", "3368", "2933", "2278", "2075", "1807", "1508", "1305", "1100", "916", "737", "565"],
609 "PowerRail":"S2S_VDD_G3D"
610 },
611 {
612 "Name":"fcc",
613 "Type":"BATTERY"
614 },
615 {
616 "Name":"dc_icl",
617 "Type":"BATTERY"
Robin Pengcd374d82021-02-23 20:00:46 +0800618 }
619 ]
620}