blob: 7e201c0453ebee7501932b28cc198e27064af664 [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"],
TeYuan Wangb7b48bb2021-08-16 13:48:20 +0800330 "K_Pu":["NAN", "NAN", 1500, 750, "NAN", "NAN", "NAN"],
331 "K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"],
332 "K_D":["NAN", "NAN", 10, 0, "NAN", "NAN", "NAN"],
333 "I_Max":["NAN", "NAN", 1000, 0, "NAN", "NAN", "NAN"],
Jia-yi Chene60ba102021-08-31 13:00:37 -0700334 "S_Power":["NAN", "NAN", 3500, 1800, "NAN", "NAN", "NAN"],
TeYuan Wang7a921662021-08-11 01:01:49 +0800335 "MinAllocPower":["NAN", "NAN", 2500, 1500, "NAN", "NAN", "NAN"],
336 "MaxAllocPower":["NAN", "NAN", 9500, 3000, "NAN", "NAN", "NAN"],
TeYuan Wangb7b48bb2021-08-16 13:48:20 +0800337 "I_Cutoff":["NAN", "NAN", 2, 0, "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",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700342 "CdevWeightForPID": [0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07],
TeYuan Wang7a921662021-08-11 01:01:49 +0800343 "CdevCeiling": [3, 3, 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",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700351 "CdevWeightForPID": [0.066, 0.066, 0.066, 0.066, 0.066, 0.066, 0.066],
TeYuan Wang7a921662021-08-11 01:01:49 +0800352 "CdevCeiling": [7, 7, 8, 9, 11, 13, 13],
YiHo Cheng6f960da2021-08-05 16:06:26 +0800353 "LimitInfo": [0, 0, 0, 0, 11, 13, 13],
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",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700360 "CdevWeightForPID": [0.313, 0.313, 0.313, 0.313, 0.313, 0.313, 0.313],
TeYuan Wang7a921662021-08-11 01:01:49 +0800361 "CdevCeiling": [11, 11, 14, 14, 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",
Jia-yi Chene60ba102021-08-31 13:00:37 -0700369 "CdevWeightForPID": [0.551, 0.551, 0.551, 0.551, 0.551, 0.551, 0.551],
TeYuan Wang7a921662021-08-11 01:01:49 +0800370 "CdevCeiling": [7, 7, 8, 9, 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
TeYuan Wang3f4c1162021-08-06 16:11:16 +0800402 },
403 {
404 "CdevRequest": "tpu_cooling",
405 "LimitInfo": [0, 1, 2, 3, 4, 4, 4]
Robin Pengcd374d82021-02-23 20:00:46 +0800406 }
407 ]
408 },
409 {
410 "Name":"cellular-emergency",
411 "Type":"POWER_AMPLIFIER",
412 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800413 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800414 "Formula":"MAXIMUM",
415 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800416 "VIRTUAL-QI-GNSS",
417 "VIRTUAL-QI-BATT",
418 "VIRTUAL-USB2-DISP",
419 "VIRTUAL-QUIET-BATT"
Robin Pengcd374d82021-02-23 20:00:46 +0800420 ],
421 "Coefficient":[
422 "1.0",
423 "1.0",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800424 "1.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800425 "1.0"
426 ],
427 "HotThreshold":[
428 "NAN",
429 "NAN",
430 "NAN",
431 "NAN",
432 "NAN",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800433 "54.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800434 "NAN"
435 ],
436 "HotHysteresis":[
437 0.0,
438 0.0,
439 0.0,
440 0.0,
Blake Kragtenca7a6332021-04-06 13:33:55 -0700441 0.0,
Blake Kragten9d6c2d92021-06-03 17:18:39 -0700442 1.9,
Robin Pengcd374d82021-02-23 20:00:46 +0800443 0.0
444 ],
445 "VrThreshold":"NAN",
446 "Multiplier":0.001,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800447 "Monitor":true,
448 "PollingDelay":300000,
449 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +0800450 },
451 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800452 "Name":"USB2-MINUS-USB",
453 "Type":"UNKNOWN",
454 "VirtualSensor":true,
455 "Formula":"WEIGHTED_AVG",
456 "Combination":[
457 "usb_pwr_therm2",
458 "usb_pwr_therm"
459 ],
460 "Coefficient":[
461 "1.0",
462 "-1.0"
463 ],
464 "HotThreshold":[
465 "NAN",
466 "NAN",
467 "NAN",
468 "NAN",
469 "NAN",
470 "NAN",
471 "NAN"
472 ],
473 "VrThreshold":"NAN",
474 "Multiplier":0.001
475 },
476 {
477 "Name":"USB2-MINUS-QI",
478 "Type":"UNKNOWN",
479 "VirtualSensor":true,
480 "Formula":"WEIGHTED_AVG",
481 "Combination":[
482 "usb_pwr_therm2",
483 "qi_therm"
484 ],
485 "Coefficient":[
486 "1.0",
487 "-1.0"
488 ],
489 "HotThreshold":[
490 "NAN",
491 "NAN",
492 "NAN",
493 "NAN",
494 "NAN",
495 "NAN",
496 "NAN"
497 ],
498 "VrThreshold":"NAN",
499 "Multiplier":0.001
500 },
501 {
502 "Name":"VIRTUAL-USB-THROTTLING",
503 "Type":"USB_PORT",
504 "VirtualSensor":true,
505 "Formula":"COUNT_THRESHOLD",
506 "TriggerSensor": "usb_pwr_therm2",
507 "Combination":[
508 "usb_pwr_therm2",
509 "USB2-MINUS-USB",
510 "USB2-MINUS-QI"
511 ],
512 "Coefficient":[
513 "35000",
514 "2000",
515 "10000"
516 ],
517 "HotThreshold":[
518 "NAN",
519 "NAN",
520 "NAN",
521 "NAN",
522 "3.0",
523 "NAN",
524 "NAN"
525 ],
526 "BindedCdevInfo": [
527 {
528 "CdevRequest": "usbc-port",
529 "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
530 }
531 ],
532 "VrThreshold":"NAN",
533 "Multiplier":1,
534 "PollingDelay":60000,
535 "PassiveDelay":7000
536 },
537 {
538 "Name":"VIRTUAL-USB-UI",
539 "Type":"USB_PORT",
540 "VirtualSensor":true,
541 "Formula":"COUNT_THRESHOLD",
542 "TriggerSensor": "usb_pwr_therm2",
543 "Combination":[
544 "usb_pwr_therm2",
545 "USB2-MINUS-USB",
546 "USB2-MINUS-QI"
547 ],
548 "Coefficient":[
549 "35000",
550 "3000",
551 "12000"
552 ],
553 "HotThreshold":[
554 "NAN",
555 "NAN",
556 "NAN",
557 "NAN",
558 "NAN",
559 "3.0",
560 "NAN"
561 ],
562 "VrThreshold":"NAN",
563 "Multiplier":1,
564 "Monitor":true,
565 "PollingDelay":60000,
566 "PassiveDelay":7000
567 },
568 {
Robin Pengcd374d82021-02-23 20:00:46 +0800569 "Name":"LITTLE",
570 "Type":"CPU",
571 "HotThreshold":[
572 "NAN",
573 "NAN",
574 "NAN",
575 "NAN",
576 "NAN",
577 "NAN",
578 115.0
579 ],
580 "VrThreshold":"NAN",
581 "Multiplier":0.001
582 },
583 {
584 "Name":"MID",
585 "Type":"CPU",
586 "HotThreshold":[
587 "NAN",
588 "NAN",
589 "NAN",
590 "NAN",
591 "NAN",
592 "NAN",
593 115.0
594 ],
595 "VrThreshold":"NAN",
596 "Multiplier":0.001
597 },
598 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800599 "Name":"BIG",
600 "Type":"CPU",
601 "HotThreshold":[
602 "NAN",
603 "NAN",
604 "NAN",
605 "NAN",
606 "NAN",
607 "NAN",
608 115.0
609 ],
610 "VrThreshold":"NAN",
611 "Multiplier":0.001
612 },
613 {
Robin Pengcd374d82021-02-23 20:00:46 +0800614 "Name":"G3D",
615 "Type":"GPU",
616 "HotThreshold":[
617 "NAN",
618 "NAN",
619 "NAN",
620 "NAN",
621 "NAN",
622 "NAN",
623 115.0
624 ],
625 "VrThreshold":"NAN",
626 "Multiplier":0.001
627 },
628 {
629 "Name":"battery_cycle",
630 "Type":"BCL_VOLTAGE",
631 "HotThreshold":[
632 "NAN",
633 "NAN",
634 "NAN",
635 "NAN",
636 "NAN",
637 "NAN",
638 "NAN"
639 ],
640 "VrThreshold":"NAN",
641 "Multiplier":1,
642 "Monitor":false
643 },
644 {
George Lee1dbbc0a2021-03-08 09:28:34 -0800645 "Name":"critical-battery-cell",
646 "Type":"BCL_VOLTAGE",
647 "VirtualSensor":true,
648 "Formula":"COUNT_THRESHOLD",
649 "TriggerSensor": "vdroop1",
650 "Combination":[
651 "battery",
652 "battery_cycle",
653 "vdroop1"
654 ],
655 "Coefficient":[
656 "-10000",
657 "400",
658 "1200"
659 ],
660 "HotThreshold":[
661 "NAN",
662 "NAN",
663 "NAN",
664 "NAN",
665 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800666 3.00,
George Lee1dbbc0a2021-03-08 09:28:34 -0800667 "NAN"
668 ],
669 "VrThreshold":"NAN",
670 "Multiplier":1,
671 "Monitor":true
672 },
673 {
Robin Pengcd374d82021-02-23 20:00:46 +0800674 "Name":"FLASH_LED_REDUCE",
675 "Type":"UNKNOWN",
676 "VirtualSensor":true,
677 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800678 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800679 "Combination":[
680 "battery",
681 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800682 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800683 ],
684 "Coefficient":[
685 "-10000",
686 "400",
George Leec761b412021-03-08 09:26:59 -0800687 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800688 ],
689 "HotThreshold":[
690 "NAN",
691 "NAN",
692 "NAN",
693 "NAN",
694 3.00,
695 "NAN",
696 "NAN"
697 ],
698 "VrThreshold":"NAN",
699 "Multiplier":1,
700 "Monitor":true,
701 "SendPowerHint":true
702 },
703 {
704 "Name":"soc",
705 "Type":"BCL_PERCENTAGE",
706 "HotThreshold":[
707 "NAN",
708 "NAN",
709 "NAN",
Robin Pengcd374d82021-02-23 20:00:46 +0800710 90,
George Lee156e8f12021-05-24 12:11:48 -0700711 93,
712 96,
Robin Pengcd374d82021-02-23 20:00:46 +0800713 "NAN"
714 ],
715 "VrThreshold":"NAN",
716 "Multiplier":1,
George Lee156e8f12021-05-24 12:11:48 -0700717 "Monitor":true,
718 "PollingDelay":300000,
719 "PassiveDelay":5000,
720 "BindedCdevInfo": [
721 {
722 "CdevRequest": "thermal-cpufreq-2",
723 "LimitInfo": [0, 0, 0, 7, 7, 10, 10]
George Lee156e8f12021-05-24 12:11:48 -0700724 }
725 ]
Robin Pengcd374d82021-02-23 20:00:46 +0800726 },
727 {
George Lee090b93c2021-07-21 13:53:31 -0700728 "Name":"batoilo",
729 "Type":"BCL_CURRENT",
730 "HotThreshold":[
731 "NAN",
732 "NAN",
733 "NAN",
734 "NAN",
735 5000,
736 "NAN",
737 "NAN"
738 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800739 "HotHysteresis":[
740 0.0,
741 0.0,
742 0.0,
743 0.0,
744 100,
745 0.0,
746 0.0
747 ],
George Lee090b93c2021-07-21 13:53:31 -0700748 "VrThreshold":"NAN",
749 "Multiplier":1,
750 "Monitor":true
751 },
752 {
George Leec761b412021-03-08 09:26:59 -0800753 "Name":"vdroop1",
754 "Type":"BCL_VOLTAGE",
755 "HotThreshold":[
756 "NAN",
757 "NAN",
758 "NAN",
759 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700760 1150,
George Leec761b412021-03-08 09:26:59 -0800761 "NAN",
762 "NAN"
763 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800764 "HotHysteresis":[
765 0.0,
766 0.0,
767 0.0,
768 0.0,
769 100,
770 0.0,
771 0.0
772 ],
George Leec761b412021-03-08 09:26:59 -0800773 "VrThreshold":"NAN",
774 "Multiplier":1,
775 "Monitor":true
776 },
777 {
778 "Name":"vdroop2",
779 "Type":"BCL_VOLTAGE",
780 "HotThreshold":[
781 "NAN",
782 "NAN",
783 "NAN",
784 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700785 1350,
George Leec761b412021-03-08 09:26:59 -0800786 "NAN",
787 "NAN"
788 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800789 "HotHysteresis":[
790 0.0,
791 0.0,
792 0.0,
793 0.0,
794 100,
795 0.0,
796 0.0
797 ],
George Leec761b412021-03-08 09:26:59 -0800798 "VrThreshold":"NAN",
799 "Multiplier":1,
800 "Monitor":true
801 },
802 {
Robin Pengcd374d82021-02-23 20:00:46 +0800803 "Name":"smpl_gm",
804 "Type":"BCL_VOLTAGE",
805 "HotThreshold":[
806 "NAN",
807 "NAN",
808 "NAN",
809 "NAN",
810 1400,
811 "NAN",
812 "NAN"
813 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800814 "HotHysteresis":[
815 0.0,
816 0.0,
817 0.0,
818 0.0,
819 100,
820 0.0,
821 0.0
822 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800823 "VrThreshold":"NAN",
824 "Multiplier":1,
825 "Monitor":true
826 },
827 {
828 "Name":"ocp_cpu1",
829 "Type":"BCL_CURRENT",
830 "HotThreshold":[
831 "NAN",
832 "NAN",
833 "NAN",
834 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700835 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800836 "NAN",
837 "NAN"
838 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800839 "HotHysteresis":[
840 0.0,
841 0.0,
842 0.0,
843 0.0,
844 100,
845 0.0,
846 0.0
847 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800848 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700849 "Multiplier":1,
850 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800851 },
852 {
853 "Name":"ocp_cpu2",
854 "Type":"BCL_CURRENT",
855 "HotThreshold":[
856 "NAN",
857 "NAN",
858 "NAN",
859 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700860 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800861 "NAN",
862 "NAN"
863 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800864 "HotHysteresis":[
865 0.0,
866 0.0,
867 0.0,
868 0.0,
869 100,
870 0.0,
871 0.0
872 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800873 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700874 "Multiplier":1,
875 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800876 },
877 {
878 "Name":"ocp_tpu",
879 "Type":"BCL_CURRENT",
880 "HotThreshold":[
881 "NAN",
882 "NAN",
883 "NAN",
884 "NAN",
George Leed337a062021-08-16 10:01:55 -0700885 10500,
Robin Pengcd374d82021-02-23 20:00:46 +0800886 "NAN",
887 "NAN"
888 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800889 "HotHysteresis":[
890 0.0,
891 0.0,
892 0.0,
893 0.0,
894 100,
895 0.0,
896 0.0
897 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800898 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700899 "Multiplier":1,
George Leed337a062021-08-16 10:01:55 -0700900 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800901 },
902 {
903 "Name":"ocp_gpu",
904 "Type":"BCL_CURRENT",
905 "HotThreshold":[
906 "NAN",
907 "NAN",
908 "NAN",
909 "NAN",
George Leed337a062021-08-16 10:01:55 -0700910 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800911 "NAN",
912 "NAN"
913 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800914 "HotHysteresis":[
915 0.0,
916 0.0,
917 0.0,
918 0.0,
919 100,
920 0.0,
921 0.0
922 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800923 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700924 "Multiplier":1,
925 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800926 },
927 {
928 "Name":"soft_ocp_cpu2",
929 "Type":"BCL_CURRENT",
930 "HotThreshold":[
931 "NAN",
932 "NAN",
933 "NAN",
934 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700935 9000,
Robin Pengcd374d82021-02-23 20:00:46 +0800936 "NAN",
937 "NAN"
938 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800939 "HotHysteresis":[
940 0.0,
941 0.0,
942 0.0,
943 0.0,
944 100,
945 0.0,
946 0.0
947 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800948 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700949 "Multiplier":1,
950 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800951 },
952 {
953 "Name":"soft_ocp_cpu1",
954 "Type":"BCL_CURRENT",
955 "HotThreshold":[
956 "NAN",
957 "NAN",
958 "NAN",
959 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700960 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800961 "NAN",
962 "NAN"
963 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800964 "HotHysteresis":[
965 0.0,
966 0.0,
967 0.0,
968 0.0,
969 100,
970 0.0,
971 0.0
972 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800973 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700974 "Multiplier":1,
975 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800976 },
977 {
978 "Name":"soft_ocp_tpu",
979 "Type":"BCL_CURRENT",
980 "HotThreshold":[
981 "NAN",
982 "NAN",
983 "NAN",
984 "NAN",
George Leed337a062021-08-16 10:01:55 -0700985 8500,
Robin Pengcd374d82021-02-23 20:00:46 +0800986 "NAN",
987 "NAN"
988 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800989 "HotHysteresis":[
990 0.0,
991 0.0,
992 0.0,
993 0.0,
994 100,
995 0.0,
996 0.0
997 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800998 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700999 "Multiplier":1,
George Lee4a6d0b72021-08-12 08:40:55 -07001000 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001001 },
1002 {
1003 "Name":"soft_ocp_gpu",
1004 "Type":"BCL_CURRENT",
1005 "HotThreshold":[
1006 "NAN",
1007 "NAN",
1008 "NAN",
1009 "NAN",
George Leed337a062021-08-16 10:01:55 -07001010 9000,
Robin Pengcd374d82021-02-23 20:00:46 +08001011 "NAN",
1012 "NAN"
1013 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001014 "HotHysteresis":[
1015 0.0,
1016 0.0,
1017 0.0,
1018 0.0,
1019 100,
1020 0.0,
1021 0.0
1022 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001023 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001024 "Multiplier":1,
1025 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001026 },
1027 {
1028 "Name":"TPU",
1029 "Type":"NPU",
1030 "HotThreshold":[
1031 "NAN",
1032 "NAN",
1033 "NAN",
1034 "NAN",
1035 "NAN",
1036 "NAN",
1037 115.0
1038 ],
1039 "VrThreshold":"NAN",
1040 "Multiplier":0.001
1041 }
1042 ],
1043 "CoolingDevices":[
1044 {
1045 "Name":"thermal-cpufreq-0",
1046 "Type":"CPU",
1047 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
YiHo Cheng6f960da2021-08-05 16:06:26 +08001048 "State2Power":["412", "352", "308", "236", "212", "176", "152", "116", "76", "56", "24"]
Robin Pengcd374d82021-02-23 20:00:46 +08001049 },
1050 {
1051 "Name":"thermal-cpufreq-1",
1052 "Type":"CPU",
1053 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
YiHo Cheng6f960da2021-08-05 16:06:26 +08001054 "State2Power":["1198", "1018", "854", "696", "566", "452", "356", "296", "226", "188", "152", "124", "90", "58"]
Robin Pengcd374d82021-02-23 20:00:46 +08001055 },
1056 {
1057 "Name":"thermal-cpufreq-2",
1058 "Type":"CPU",
1059 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001060 "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 +08001061 },
1062 {
1063 "Name":"thermal-gpufreq-0",
1064 "Type":"GPU",
1065 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001066 "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +08001067 },
1068 {
1069 "Name":"fcc",
1070 "Type":"BATTERY"
1071 },
1072 {
1073 "Name":"dc_icl",
1074 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +08001075 },
1076 {
1077 "Name":"wlc_fcc",
1078 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +08001079 },
1080 {
1081 "Name":"usbc-port",
1082 "Type":"BATTERY"
TeYuan Wang3f4c1162021-08-06 16:11:16 +08001083 },
1084 {
1085 "Name":"tpu_cooling",
1086 "Type":"NPU",
1087 "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +08001088 }
TeYuan Wangfef56f32021-06-11 20:34:25 +08001089 ],
1090 "PowerRails":[
1091 {
1092 "Name":"PPVAR_VSYS_PWR_DISP"
1093 },
1094 {
1095 "Name":"VSYS_PWR_MODEM"
1096 },
1097 {
1098 "Name":"S2M_VDD_CPUCL2",
1099 "PowerSampleDelay":14000,
1100 "PowerSampleCount":5
1101
1102 },
1103 {
1104 "Name":"S3M_VDD_CPUCL1",
1105 "PowerSampleDelay":14000,
1106 "PowerSampleCount":5
1107 },
1108 {
1109 "Name":"S4M_VDD_CPUCL0",
1110 "PowerSampleDelay":14000,
1111 "PowerSampleCount":5
1112 },
1113 {
1114 "Name":"S5M_VDD_INT"
1115 },
1116 {
YiHo Cheng1a261f82021-07-12 19:58:52 +08001117 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +08001118 },
1119 {
1120 "Name":"S2S_VDD_G3D",
1121 "PowerSampleDelay":14000,
1122 "PowerSampleCount":5
1123 },
1124 {
1125 "Name":"POWER_FOR_CHARGING_THROTTLING",
1126 "VirtualRails":true,
1127 "Formula":"WEIGHTED_AVG",
1128 "Combination":[
TeYuan Wangfef56f32021-06-11 20:34:25 +08001129 "VSYS_PWR_MODEM",
1130 "S2M_VDD_CPUCL2",
1131 "S3M_VDD_CPUCL1",
1132 "S4M_VDD_CPUCL0",
1133 "S5M_VDD_INT",
1134 "S1M_VDD_MIF",
1135 "S2S_VDD_G3D"
1136 ],
1137 "Coefficient":[
1138 "1.0",
1139 "1.0",
1140 "1.0",
1141 "1.0",
1142 "1.0",
1143 "1.0",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001144 "1.0"
1145 ],
1146 "PowerSampleDelay":14000,
1147 "PowerSampleCount":5
1148 }
Robin Pengcd374d82021-02-23 20:00:46 +08001149 ]
1150}