blob: afa79f07cc1e84d9fdcba9f4f8f23a37bab421ec [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 {
299 "Name":"FLASH_LED_REDUCE",
300 "Type":"UNKNOWN",
301 "VirtualSensor":true,
302 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800303 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800304 "Combination":[
305 "battery",
306 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800307 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800308 ],
309 "Coefficient":[
310 "-10000",
311 "400",
George Leec761b412021-03-08 09:26:59 -0800312 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800313 ],
314 "HotThreshold":[
315 "NAN",
316 "NAN",
317 "NAN",
318 "NAN",
319 3.00,
320 "NAN",
321 "NAN"
322 ],
323 "VrThreshold":"NAN",
324 "Multiplier":1,
325 "Monitor":true,
326 "SendPowerHint":true
327 },
328 {
329 "Name":"soc",
330 "Type":"BCL_PERCENTAGE",
331 "HotThreshold":[
332 "NAN",
333 "NAN",
334 "NAN",
335 "NAN",
336 90,
337 "NAN",
338 "NAN"
339 ],
340 "VrThreshold":"NAN",
341 "Multiplier":1,
342 "Monitor":false
343 },
344 {
George Leec761b412021-03-08 09:26:59 -0800345 "Name":"vdroop1",
346 "Type":"BCL_VOLTAGE",
347 "HotThreshold":[
348 "NAN",
349 "NAN",
350 "NAN",
351 "NAN",
352 1200,
353 "NAN",
354 "NAN"
355 ],
356 "VrThreshold":"NAN",
357 "Multiplier":1,
358 "Monitor":true
359 },
360 {
361 "Name":"vdroop2",
362 "Type":"BCL_VOLTAGE",
363 "HotThreshold":[
364 "NAN",
365 "NAN",
366 "NAN",
367 "NAN",
368 1200,
369 "NAN",
370 "NAN"
371 ],
372 "VrThreshold":"NAN",
373 "Multiplier":1,
374 "Monitor":true
375 },
376 {
Robin Pengcd374d82021-02-23 20:00:46 +0800377 "Name":"smpl_gm",
378 "Type":"BCL_VOLTAGE",
379 "HotThreshold":[
380 "NAN",
381 "NAN",
382 "NAN",
383 "NAN",
384 1400,
385 "NAN",
386 "NAN"
387 ],
388 "VrThreshold":"NAN",
389 "Multiplier":1,
390 "Monitor":true
391 },
392 {
393 "Name":"ocp_cpu1",
394 "Type":"BCL_CURRENT",
395 "HotThreshold":[
396 "NAN",
397 "NAN",
398 "NAN",
399 "NAN",
400 7,
401 "NAN",
402 "NAN"
403 ],
404 "VrThreshold":"NAN",
405 "Multiplier":0.001,
406 "Monitor":false
407 },
408 {
409 "Name":"ocp_cpu2",
410 "Type":"BCL_CURRENT",
411 "HotThreshold":[
412 "NAN",
413 "NAN",
414 "NAN",
415 "NAN",
416 12,
417 "NAN",
418 "NAN"
419 ],
420 "VrThreshold":"NAN",
421 "Multiplier":0.001,
422 "Monitor":false
423 },
424 {
425 "Name":"ocp_tpu",
426 "Type":"BCL_CURRENT",
427 "HotThreshold":[
428 "NAN",
429 "NAN",
430 "NAN",
431 "NAN",
432 10.5,
433 "NAN",
434 "NAN"
435 ],
436 "VrThreshold":"NAN",
437 "Multiplier":0.001,
438 "Monitor":false
439 },
440 {
441 "Name":"ocp_gpu",
442 "Type":"BCL_CURRENT",
443 "HotThreshold":[
444 "NAN",
445 "NAN",
446 "NAN",
447 "NAN",
448 13.2,
449 "NAN",
450 "NAN"
451 ],
452 "VrThreshold":"NAN",
453 "Multiplier":0.001,
454 "Monitor":false
455 },
456 {
457 "Name":"soft_ocp_cpu2",
458 "Type":"BCL_CURRENT",
459 "HotThreshold":[
460 "NAN",
461 "NAN",
462 "NAN",
463 "NAN",
464 12,
465 "NAN",
466 "NAN"
467 ],
468 "VrThreshold":"NAN",
469 "Multiplier":0.001,
470 "Monitor":false
471 },
472 {
473 "Name":"soft_ocp_cpu1",
474 "Type":"BCL_CURRENT",
475 "HotThreshold":[
476 "NAN",
477 "NAN",
478 "NAN",
479 "NAN",
480 7.00,
481 "NAN",
482 "NAN"
483 ],
484 "VrThreshold":"NAN",
485 "Multiplier":0.001,
486 "Monitor":false
487 },
488 {
489 "Name":"soft_ocp_tpu",
490 "Type":"BCL_CURRENT",
491 "HotThreshold":[
492 "NAN",
493 "NAN",
494 "NAN",
495 "NAN",
496 10.5,
497 "NAN",
498 "NAN"
499 ],
500 "VrThreshold":"NAN",
501 "Multiplier":0.001,
502 "Monitor":false
503 },
504 {
505 "Name":"soft_ocp_gpu",
506 "Type":"BCL_CURRENT",
507 "HotThreshold":[
508 "NAN",
509 "NAN",
510 "NAN",
511 "NAN",
512 13.2,
513 "NAN",
514 "NAN"
515 ],
516 "VrThreshold":"NAN",
517 "Multiplier":0.001,
518 "Monitor":false
519 },
520 {
521 "Name":"TPU",
522 "Type":"NPU",
523 "HotThreshold":[
524 "NAN",
525 "NAN",
526 "NAN",
527 "NAN",
528 "NAN",
529 "NAN",
530 115.0
531 ],
532 "VrThreshold":"NAN",
533 "Multiplier":0.001
534 }
535 ],
536 "CoolingDevices":[
537 {
538 "Name":"thermal-cpufreq-0",
539 "Type":"CPU",
540 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
541 "State2Power":["1100", "1050", "1000", "950", "900", "850", "800", "750", "700", "650", "600"]
542 },
543 {
544 "Name":"thermal-cpufreq-1",
545 "Type":"CPU",
546 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
547 "State2Power":["1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
548 },
549 {
550 "Name":"thermal-cpufreq-2",
551 "Type":"CPU",
552 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
553 "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"]
554 },
555 {
556 "Name":"thermal-gpufreq-0",
557 "Type":"GPU",
558 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
559 "State2Power":["1100", "1000", "900", "800", "700"]
560 }
561 ]
562}