blob: a2e12e57a7a823d7b8f56d89ce093f50501eb878 [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",
31 "Multiplier":0.001
32 },
33 {
34 "Name":"gnss_tcxo_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 {
49 "Name":"qi_therm",
50 "Type":"UNKNOWN",
51 "HotThreshold":[
52 "NAN",
53 "NAN",
54 "NAN",
55 "NAN",
56 "NAN",
57 "NAN",
58 "NAN"
59 ],
60 "VrThreshold":"NAN",
61 "Multiplier":0.001
62 },
63 {
64 "Name":"VIRTUAL-GNSS-BATT",
65 "Type":"UNKNOWN",
66 "VirtualSensor":true,
67 "Formula":"WEIGHTED_AVG",
68 "Combination":[
69 "gnss_tcxo_therm",
70 "battery"
71 ],
72 "Coefficient":[
73 "0.375",
74 "0.625"
75 ],
76 "HotThreshold":[
77 "NAN",
78 "NAN",
79 "NAN",
80 "NAN",
81 "NAN",
82 "NAN",
83 "NAN"
84 ],
85 "VrThreshold":"NAN",
86 "Multiplier":0.001
87 },
88 {
89 "Name":"VIRTUAL-QI-BATT",
90 "Type":"UNKNOWN",
91 "VirtualSensor":true,
92 "Formula":"WEIGHTED_AVG",
93 "Combination":[
94 "qi_therm",
95 "battery"
96 ],
97 "Coefficient":[
98 "0.25",
99 "0.75"
100 ],
101 "HotThreshold":[
102 "NAN",
103 "NAN",
104 "NAN",
105 "NAN",
106 "NAN",
107 "NAN",
108 "NAN"
109 ],
110 "VrThreshold":"NAN",
111 "Multiplier":0.001
112 },
113 {
114 "Name":"VIRTUAL-SKIN",
115 "Type":"SKIN",
116 "VirtualSensor":true,
117 "TriggerSensor":"neutral_therm",
118 "Formula":"MAXIMUM",
119 "Combination":[
120 "neutral_therm",
121 "VIRTUAL-GNSS-BATT",
122 "VIRTUAL-QI-BATT"
123 ],
124 "Coefficient":[
125 "1.0",
126 "1.0",
127 "1.0"
128 ],
129 "HotThreshold":[
130 "NAN",
131 "45.0",
132 "49.0",
133 "51.0",
134 "53.0",
135 "58.0",
136 "62.0"
137 ],
138 "HotHysteresis":[
139 0.0,
140 1.9,
141 1.9,
142 1.9,
143 1.9,
144 1.9,
145 1.9
146 ],
147 "VrThreshold":"NAN",
148 "Multiplier":0.001,
149 "Monitor":true,
150 "PollingDelay":60000,
151 "PassiveDelay":7000,
152 "ThrottleType":["None", "None", "None", "PID", "LIMIT", "LIMIT", "LIMIT"],
153 "K_Po":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
154 "K_Pu":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
155 "K_I":["NAN", "NAN", "NAN", 10, "NAN", "NAN", "NAN"],
156 "K_D":["NAN", "NAN", "NAN", 10, "NAN", "NAN", "NAN"],
157 "I_Max":["NAN", "NAN", "NAN", 500, "NAN", "NAN", "NAN"],
158 "S_Power":["NAN", "NAN", "NAN", 4000, "NAN", "NAN", "NAN"],
159 "MinAllocPower":["NAN", "NAN", "NAN", 2000, "NAN", "NAN", "NAN"],
160 "MaxAllocPower":["NAN", "NAN", "NAN", 7000, "NAN", "NAN", "NAN"],
161 "I_Cutoff":["NAN", "NAN", "NAN", 1, "NAN", "NAN", "NAN"],
162 "CdevRequest":[
163 "thermal-cpufreq-0",
164 "thermal-cpufreq-1",
165 "thermal-cpufreq-2",
166 "thermal-gpufreq-0"
167 ],
168 "CdevWeight":[
169 1.0,
170 1.0,
171 1.0,
172 1.0
173 ],
174 "CdevCeiling":[
175 3,
176 9,
177 10,
178 2
179 ],
180 "LimitInfo": [
181 {
182 "CdevRequest": "thermal-cpufreq-0",
183 "CdevInfo": [0, 0, 0, 0, 8, 10, 10]
184 },
185 {
186 "CdevRequest": "thermal-cpufreq-1",
187 "CdevInfo": [0, 0, 0, 0, 11, 13, 13]
188 },
189 {
190 "CdevRequest": "thermal-cpufreq-2",
191 "CdevInfo": [0, 0, 0, 0, 12, 14, 14]
192 },
193 {
194 "CdevRequest": "thermal-gpufreq-0",
195 "CdevInfo": [0, 0, 0, 0, 3, 4, 4]
196 }
197 ]
198 },
199 {
200 "Name":"cellular-emergency",
201 "Type":"POWER_AMPLIFIER",
202 "VirtualSensor":true,
203 "TriggerSensor":"neutral_therm",
204 "Formula":"MAXIMUM",
205 "Combination":[
206 "neutral_therm",
207 "VIRTUAL-GNSS-BATT",
208 "VIRTUAL-QI-BATT"
209 ],
210 "Coefficient":[
211 "1.0",
212 "1.0",
213 "1.0"
214 ],
215 "HotThreshold":[
216 "NAN",
217 "NAN",
218 "NAN",
219 "NAN",
220 "NAN",
221 "60.0",
222 "NAN"
223 ],
224 "HotHysteresis":[
225 0.0,
226 0.0,
227 0.0,
228 0.0,
229 0.0,
230 1.9,
231 0.0
232 ],
233 "VrThreshold":"NAN",
234 "Multiplier":0.001,
235 "Monitor":true
236 },
237 {
238 "Name":"LITTLE",
239 "Type":"CPU",
240 "HotThreshold":[
241 "NAN",
242 "NAN",
243 "NAN",
244 "NAN",
245 "NAN",
246 "NAN",
247 115.0
248 ],
249 "VrThreshold":"NAN",
250 "Multiplier":0.001
251 },
252 {
253 "Name":"MID",
254 "Type":"CPU",
255 "HotThreshold":[
256 "NAN",
257 "NAN",
258 "NAN",
259 "NAN",
260 "NAN",
261 "NAN",
262 115.0
263 ],
264 "VrThreshold":"NAN",
265 "Multiplier":0.001
266 },
267 {
268 "Name":"G3D",
269 "Type":"GPU",
270 "HotThreshold":[
271 "NAN",
272 "NAN",
273 "NAN",
274 "NAN",
275 "NAN",
276 "NAN",
277 115.0
278 ],
279 "VrThreshold":"NAN",
280 "Multiplier":0.001
281 },
282 {
283 "Name":"battery_cycle",
284 "Type":"BCL_VOLTAGE",
285 "HotThreshold":[
286 "NAN",
287 "NAN",
288 "NAN",
289 "NAN",
290 "NAN",
291 "NAN",
292 "NAN"
293 ],
294 "VrThreshold":"NAN",
295 "Multiplier":1,
296 "Monitor":false
297 },
298 {
George Lee1dbbc0a2021-03-08 09:28:34 -0800299 "Name":"critical-battery-cell",
300 "Type":"BCL_VOLTAGE",
301 "VirtualSensor":true,
302 "Formula":"COUNT_THRESHOLD",
303 "TriggerSensor": "vdroop1",
304 "Combination":[
305 "battery",
306 "battery_cycle",
307 "vdroop1"
308 ],
309 "Coefficient":[
310 "-10000",
311 "400",
312 "1200"
313 ],
314 "HotThreshold":[
315 "NAN",
316 "NAN",
317 "NAN",
318 "NAN",
319 "NAN",
320 3.00,
321 "NAN"
322 ],
323 "VrThreshold":"NAN",
324 "Multiplier":1,
325 "Monitor":true
326 },
327 {
Robin Pengcd374d82021-02-23 20:00:46 +0800328 "Name":"FLASH_LED_REDUCE",
329 "Type":"UNKNOWN",
330 "VirtualSensor":true,
331 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800332 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800333 "Combination":[
334 "battery",
335 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800336 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800337 ],
338 "Coefficient":[
339 "-10000",
340 "400",
George Leec761b412021-03-08 09:26:59 -0800341 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800342 ],
343 "HotThreshold":[
344 "NAN",
345 "NAN",
346 "NAN",
347 "NAN",
348 3.00,
349 "NAN",
350 "NAN"
351 ],
352 "VrThreshold":"NAN",
353 "Multiplier":1,
354 "Monitor":true,
355 "SendPowerHint":true
356 },
357 {
358 "Name":"soc",
359 "Type":"BCL_PERCENTAGE",
360 "HotThreshold":[
361 "NAN",
362 "NAN",
363 "NAN",
364 "NAN",
365 90,
366 "NAN",
367 "NAN"
368 ],
369 "VrThreshold":"NAN",
370 "Multiplier":1,
371 "Monitor":false
372 },
373 {
George Leec761b412021-03-08 09:26:59 -0800374 "Name":"vdroop1",
375 "Type":"BCL_VOLTAGE",
376 "HotThreshold":[
377 "NAN",
378 "NAN",
379 "NAN",
380 "NAN",
381 1200,
382 "NAN",
383 "NAN"
384 ],
385 "VrThreshold":"NAN",
386 "Multiplier":1,
387 "Monitor":true
388 },
389 {
390 "Name":"vdroop2",
391 "Type":"BCL_VOLTAGE",
392 "HotThreshold":[
393 "NAN",
394 "NAN",
395 "NAN",
396 "NAN",
397 1200,
398 "NAN",
399 "NAN"
400 ],
401 "VrThreshold":"NAN",
402 "Multiplier":1,
403 "Monitor":true
404 },
405 {
Robin Pengcd374d82021-02-23 20:00:46 +0800406 "Name":"smpl_gm",
407 "Type":"BCL_VOLTAGE",
408 "HotThreshold":[
409 "NAN",
410 "NAN",
411 "NAN",
412 "NAN",
413 1400,
414 "NAN",
415 "NAN"
416 ],
417 "VrThreshold":"NAN",
418 "Multiplier":1,
419 "Monitor":true
420 },
421 {
422 "Name":"ocp_cpu1",
423 "Type":"BCL_CURRENT",
424 "HotThreshold":[
425 "NAN",
426 "NAN",
427 "NAN",
428 "NAN",
429 7,
430 "NAN",
431 "NAN"
432 ],
433 "VrThreshold":"NAN",
434 "Multiplier":0.001,
435 "Monitor":false
436 },
437 {
438 "Name":"ocp_cpu2",
439 "Type":"BCL_CURRENT",
440 "HotThreshold":[
441 "NAN",
442 "NAN",
443 "NAN",
444 "NAN",
445 12,
446 "NAN",
447 "NAN"
448 ],
449 "VrThreshold":"NAN",
450 "Multiplier":0.001,
451 "Monitor":false
452 },
453 {
454 "Name":"ocp_tpu",
455 "Type":"BCL_CURRENT",
456 "HotThreshold":[
457 "NAN",
458 "NAN",
459 "NAN",
460 "NAN",
461 10.5,
462 "NAN",
463 "NAN"
464 ],
465 "VrThreshold":"NAN",
466 "Multiplier":0.001,
467 "Monitor":false
468 },
469 {
470 "Name":"ocp_gpu",
471 "Type":"BCL_CURRENT",
472 "HotThreshold":[
473 "NAN",
474 "NAN",
475 "NAN",
476 "NAN",
477 13.2,
478 "NAN",
479 "NAN"
480 ],
481 "VrThreshold":"NAN",
482 "Multiplier":0.001,
483 "Monitor":false
484 },
485 {
486 "Name":"soft_ocp_cpu2",
487 "Type":"BCL_CURRENT",
488 "HotThreshold":[
489 "NAN",
490 "NAN",
491 "NAN",
492 "NAN",
493 12,
494 "NAN",
495 "NAN"
496 ],
497 "VrThreshold":"NAN",
498 "Multiplier":0.001,
499 "Monitor":false
500 },
501 {
502 "Name":"soft_ocp_cpu1",
503 "Type":"BCL_CURRENT",
504 "HotThreshold":[
505 "NAN",
506 "NAN",
507 "NAN",
508 "NAN",
509 7.00,
510 "NAN",
511 "NAN"
512 ],
513 "VrThreshold":"NAN",
514 "Multiplier":0.001,
515 "Monitor":false
516 },
517 {
518 "Name":"soft_ocp_tpu",
519 "Type":"BCL_CURRENT",
520 "HotThreshold":[
521 "NAN",
522 "NAN",
523 "NAN",
524 "NAN",
525 10.5,
526 "NAN",
527 "NAN"
528 ],
529 "VrThreshold":"NAN",
530 "Multiplier":0.001,
531 "Monitor":false
532 },
533 {
534 "Name":"soft_ocp_gpu",
535 "Type":"BCL_CURRENT",
536 "HotThreshold":[
537 "NAN",
538 "NAN",
539 "NAN",
540 "NAN",
541 13.2,
542 "NAN",
543 "NAN"
544 ],
545 "VrThreshold":"NAN",
546 "Multiplier":0.001,
547 "Monitor":false
548 },
549 {
550 "Name":"TPU",
551 "Type":"NPU",
552 "HotThreshold":[
553 "NAN",
554 "NAN",
555 "NAN",
556 "NAN",
557 "NAN",
558 "NAN",
559 115.0
560 ],
561 "VrThreshold":"NAN",
562 "Multiplier":0.001
563 }
564 ],
565 "CoolingDevices":[
566 {
567 "Name":"thermal-cpufreq-0",
568 "Type":"CPU",
569 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
570 "State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"]
571 },
572 {
573 "Name":"thermal-cpufreq-1",
574 "Type":"CPU",
575 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
576 "State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
577 },
578 {
579 "Name":"thermal-cpufreq-2",
580 "Type":"CPU",
581 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
582 "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
583 },
584 {
585 "Name":"thermal-gpufreq-0",
586 "Type":"GPU",
587 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
588 "State2Power":["1100", "1000", "900", "800", "700"]
589 }
590 ]
591}