blob: f5a2fd6cb21389a7c82522645e9e04c8df0f63c3 [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 ],
735 "VrThreshold":"NAN",
736 "Multiplier":1,
737 "Monitor":true
738 },
739 {
George Leec761b412021-03-08 09:26:59 -0800740 "Name":"vdroop1",
741 "Type":"BCL_VOLTAGE",
742 "HotThreshold":[
743 "NAN",
744 "NAN",
745 "NAN",
746 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700747 1150,
George Leec761b412021-03-08 09:26:59 -0800748 "NAN",
749 "NAN"
750 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800751 "HotHysteresis":[
752 0.0,
753 0.0,
754 0.0,
755 0.0,
756 100,
757 0.0,
758 0.0
759 ],
George Leec761b412021-03-08 09:26:59 -0800760 "VrThreshold":"NAN",
761 "Multiplier":1,
762 "Monitor":true
763 },
764 {
765 "Name":"vdroop2",
766 "Type":"BCL_VOLTAGE",
767 "HotThreshold":[
768 "NAN",
769 "NAN",
770 "NAN",
771 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700772 1350,
George Leec761b412021-03-08 09:26:59 -0800773 "NAN",
774 "NAN"
775 ],
776 "VrThreshold":"NAN",
777 "Multiplier":1,
778 "Monitor":true
779 },
780 {
Robin Pengcd374d82021-02-23 20:00:46 +0800781 "Name":"smpl_gm",
782 "Type":"BCL_VOLTAGE",
783 "HotThreshold":[
784 "NAN",
785 "NAN",
786 "NAN",
787 "NAN",
788 1400,
789 "NAN",
790 "NAN"
791 ],
792 "VrThreshold":"NAN",
793 "Multiplier":1,
794 "Monitor":true
795 },
796 {
797 "Name":"ocp_cpu1",
798 "Type":"BCL_CURRENT",
799 "HotThreshold":[
800 "NAN",
801 "NAN",
802 "NAN",
803 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700804 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800805 "NAN",
806 "NAN"
807 ],
808 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700809 "Multiplier":1,
810 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800811 },
812 {
813 "Name":"ocp_cpu2",
814 "Type":"BCL_CURRENT",
815 "HotThreshold":[
816 "NAN",
817 "NAN",
818 "NAN",
819 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700820 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800821 "NAN",
822 "NAN"
823 ],
824 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700825 "Multiplier":1,
826 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800827 },
828 {
829 "Name":"ocp_tpu",
830 "Type":"BCL_CURRENT",
831 "HotThreshold":[
832 "NAN",
833 "NAN",
834 "NAN",
835 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700836 10500,
Robin Pengcd374d82021-02-23 20:00:46 +0800837 "NAN",
838 "NAN"
839 ],
840 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700841 "Multiplier":1,
842 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800843 },
844 {
845 "Name":"ocp_gpu",
846 "Type":"BCL_CURRENT",
847 "HotThreshold":[
848 "NAN",
849 "NAN",
850 "NAN",
851 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700852 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800853 "NAN",
854 "NAN"
855 ],
856 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700857 "Multiplier":1,
858 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800859 },
860 {
861 "Name":"soft_ocp_cpu2",
862 "Type":"BCL_CURRENT",
863 "HotThreshold":[
864 "NAN",
865 "NAN",
866 "NAN",
867 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700868 9000,
Robin Pengcd374d82021-02-23 20:00:46 +0800869 "NAN",
870 "NAN"
871 ],
872 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700873 "Multiplier":1,
874 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800875 },
876 {
877 "Name":"soft_ocp_cpu1",
878 "Type":"BCL_CURRENT",
879 "HotThreshold":[
880 "NAN",
881 "NAN",
882 "NAN",
883 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700884 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800885 "NAN",
886 "NAN"
887 ],
888 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700889 "Multiplier":1,
890 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800891 },
892 {
893 "Name":"soft_ocp_tpu",
894 "Type":"BCL_CURRENT",
895 "HotThreshold":[
896 "NAN",
897 "NAN",
898 "NAN",
899 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700900 8500,
Robin Pengcd374d82021-02-23 20:00:46 +0800901 "NAN",
902 "NAN"
903 ],
904 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700905 "Multiplier":1,
906 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800907 },
908 {
909 "Name":"soft_ocp_gpu",
910 "Type":"BCL_CURRENT",
911 "HotThreshold":[
912 "NAN",
913 "NAN",
914 "NAN",
915 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700916 9000,
Robin Pengcd374d82021-02-23 20:00:46 +0800917 "NAN",
918 "NAN"
919 ],
920 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700921 "Multiplier":1,
922 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800923 },
924 {
925 "Name":"TPU",
926 "Type":"NPU",
927 "HotThreshold":[
928 "NAN",
929 "NAN",
930 "NAN",
931 "NAN",
932 "NAN",
933 "NAN",
934 115.0
935 ],
936 "VrThreshold":"NAN",
937 "Multiplier":0.001
938 }
939 ],
940 "CoolingDevices":[
941 {
942 "Name":"thermal-cpufreq-0",
943 "Type":"CPU",
944 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800945 "State2Power":["428", "368", "320", "244", "220", "184", "156", "116", "80", "56", "24"]
Robin Pengcd374d82021-02-23 20:00:46 +0800946 },
947 {
948 "Name":"thermal-cpufreq-1",
949 "Type":"CPU",
950 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800951 "State2Power":["904", "740", "594", "476", "374", "314", "236", "192", "156", "126", "90", "58"]
Robin Pengcd374d82021-02-23 20:00:46 +0800952 },
953 {
954 "Name":"thermal-cpufreq-2",
955 "Type":"CPU",
956 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800957 "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 +0800958 },
959 {
960 "Name":"thermal-gpufreq-0",
961 "Type":"GPU",
962 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800963 "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800964 },
965 {
966 "Name":"fcc",
967 "Type":"BATTERY"
968 },
969 {
970 "Name":"dc_icl",
971 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +0800972 },
973 {
974 "Name":"wlc_fcc",
975 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800976 },
977 {
978 "Name":"usbc-port",
979 "Type":"BATTERY"
Robin Pengcd374d82021-02-23 20:00:46 +0800980 }
TeYuan Wangfef56f32021-06-11 20:34:25 +0800981 ],
982 "PowerRails":[
983 {
984 "Name":"PPVAR_VSYS_PWR_DISP"
985 },
986 {
987 "Name":"VSYS_PWR_MODEM"
988 },
989 {
990 "Name":"S2M_VDD_CPUCL2",
991 "PowerSampleDelay":14000,
992 "PowerSampleCount":5
993
994 },
995 {
996 "Name":"S3M_VDD_CPUCL1",
997 "PowerSampleDelay":14000,
998 "PowerSampleCount":5
999 },
1000 {
1001 "Name":"S4M_VDD_CPUCL0",
1002 "PowerSampleDelay":14000,
1003 "PowerSampleCount":5
1004 },
1005 {
1006 "Name":"S5M_VDD_INT"
1007 },
1008 {
YiHo Cheng1a261f82021-07-12 19:58:52 +08001009 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +08001010 },
1011 {
1012 "Name":"S2S_VDD_G3D",
1013 "PowerSampleDelay":14000,
1014 "PowerSampleCount":5
1015 },
1016 {
1017 "Name":"POWER_FOR_CHARGING_THROTTLING",
1018 "VirtualRails":true,
1019 "Formula":"WEIGHTED_AVG",
1020 "Combination":[
TeYuan Wangfef56f32021-06-11 20:34:25 +08001021 "VSYS_PWR_MODEM",
1022 "S2M_VDD_CPUCL2",
1023 "S3M_VDD_CPUCL1",
1024 "S4M_VDD_CPUCL0",
1025 "S5M_VDD_INT",
1026 "S1M_VDD_MIF",
1027 "S2S_VDD_G3D"
1028 ],
1029 "Coefficient":[
1030 "1.0",
1031 "1.0",
1032 "1.0",
1033 "1.0",
1034 "1.0",
1035 "1.0",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001036 "1.0"
1037 ],
1038 "PowerSampleDelay":14000,
1039 "PowerSampleCount":5
1040 }
Robin Pengcd374d82021-02-23 20:00:46 +08001041 ]
1042}