blob: 16e5a16cd4a5473cbcee5753806158e662faae4d [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 {
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700377 "CdevRequest": "tpu_cooling",
David Chaodffd7482021-09-29 05:58:26 +0000378 "LimitInfo": [0, 1, 2, 3, 4, 4, 4]
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700379 }
380 ]
381 },
382 {
383 "Name":"VIRTUAL-SKIN-CHARGE",
384 "Type":"UNKNOWN",
385 "VirtualSensor":true,
386 "TriggerSensor":"quiet_therm",
387 "Formula":"MAXIMUM",
388 "Combination":[
389 "VIRTUAL-QI-GNSS",
390 "VIRTUAL-QI-BATT",
391 "VIRTUAL-USB2-DISP",
392 "VIRTUAL-QUIET-BATT"
393 ],
394 "Coefficient":[
395 "1.0",
396 "1.0",
397 "1.0",
398 "1.0"
399 ],
400 "HotThreshold":[
401 "NAN",
402 "39.0",
403 "41.0",
404 "43.0",
405 "45.0",
406 "47.0",
407 "55.0"
408 ],
409 "HotHysteresis":[
410 0.0,
411 1.9,
412 1.9,
413 1.9,
414 1.9,
415 1.9,
416 1.9
417 ],
418 "VrThreshold":"NAN",
419 "Multiplier":0.001,
420 "Monitor":true,
421 "PollingDelay":300000,
422 "PassiveDelay":7000,
423 "BindedCdevInfo": [
424 {
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800425 "CdevRequest": "fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700426 "LimitInfo": [0, 2, 3, 3, 4, 4, 4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800427 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
428 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700429 "CdevFloorWithPowerLink": [0, 0, 2, 2, 4 ,4 ,4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800430 "ReleaseLogic": "RELEASE_TO_FLOOR",
431 "ThrottlingWithPowerLink":true
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800432 },
433 {
434 "CdevRequest": "dc_icl",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700435 "LimitInfo": [0, 1, 2, 3, 4, 4, 4],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700436 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
437 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
438 "CdevFloorWithPowerLink": [0, 1, 2, 3, 4, 4, 4],
439 "ReleaseLogic": "RELEASE_TO_FLOOR",
440 "ThrottlingWithPowerLink":true
TeYuan Wangbe012112021-06-09 11:02:39 +0800441 },
442 {
443 "CdevRequest": "wlc_fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700444 "LimitInfo": [0, 2, 2, 4, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800445 "BindedPowerRail": "POWER_FOR_CHARGING_THROTTLING",
446 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700447 "CdevFloorWithPowerLink": [0, 1, 1, 2, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800448 "ReleaseLogic": "RELEASE_TO_FLOOR",
449 "ThrottlingWithPowerLink":true
Robin Pengcd374d82021-02-23 20:00:46 +0800450 }
451 ]
452 },
453 {
454 "Name":"cellular-emergency",
455 "Type":"POWER_AMPLIFIER",
456 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800457 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800458 "Formula":"MAXIMUM",
459 "Combination":[
TeYuan Wangdc760c42021-04-28 16:09:01 +0800460 "VIRTUAL-QI-GNSS",
461 "VIRTUAL-QI-BATT",
462 "VIRTUAL-USB2-DISP",
463 "VIRTUAL-QUIET-BATT"
Robin Pengcd374d82021-02-23 20:00:46 +0800464 ],
465 "Coefficient":[
466 "1.0",
467 "1.0",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800468 "1.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800469 "1.0"
470 ],
471 "HotThreshold":[
472 "NAN",
473 "NAN",
474 "NAN",
475 "NAN",
476 "NAN",
TeYuan Wangdc760c42021-04-28 16:09:01 +0800477 "54.0",
Robin Pengcd374d82021-02-23 20:00:46 +0800478 "NAN"
479 ],
480 "HotHysteresis":[
481 0.0,
482 0.0,
483 0.0,
484 0.0,
Blake Kragtenca7a6332021-04-06 13:33:55 -0700485 0.0,
Blake Kragten9d6c2d92021-06-03 17:18:39 -0700486 1.9,
Robin Pengcd374d82021-02-23 20:00:46 +0800487 0.0
488 ],
489 "VrThreshold":"NAN",
490 "Multiplier":0.001,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800491 "Monitor":true,
492 "PollingDelay":300000,
493 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +0800494 },
495 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800496 "Name":"USB2-MINUS-USB",
497 "Type":"UNKNOWN",
498 "VirtualSensor":true,
499 "Formula":"WEIGHTED_AVG",
500 "Combination":[
501 "usb_pwr_therm2",
502 "usb_pwr_therm"
503 ],
504 "Coefficient":[
505 "1.0",
506 "-1.0"
507 ],
508 "HotThreshold":[
509 "NAN",
510 "NAN",
511 "NAN",
512 "NAN",
513 "NAN",
514 "NAN",
515 "NAN"
516 ],
517 "VrThreshold":"NAN",
518 "Multiplier":0.001
519 },
520 {
521 "Name":"USB2-MINUS-QI",
522 "Type":"UNKNOWN",
523 "VirtualSensor":true,
524 "Formula":"WEIGHTED_AVG",
525 "Combination":[
526 "usb_pwr_therm2",
527 "qi_therm"
528 ],
529 "Coefficient":[
530 "1.0",
531 "-1.0"
532 ],
533 "HotThreshold":[
534 "NAN",
535 "NAN",
536 "NAN",
537 "NAN",
538 "NAN",
539 "NAN",
540 "NAN"
541 ],
542 "VrThreshold":"NAN",
543 "Multiplier":0.001
544 },
545 {
546 "Name":"VIRTUAL-USB-THROTTLING",
547 "Type":"USB_PORT",
548 "VirtualSensor":true,
549 "Formula":"COUNT_THRESHOLD",
550 "TriggerSensor": "usb_pwr_therm2",
551 "Combination":[
552 "usb_pwr_therm2",
553 "USB2-MINUS-USB",
554 "USB2-MINUS-QI"
555 ],
556 "Coefficient":[
557 "35000",
558 "2000",
559 "10000"
560 ],
561 "HotThreshold":[
562 "NAN",
563 "NAN",
564 "NAN",
565 "NAN",
566 "3.0",
567 "NAN",
568 "NAN"
569 ],
570 "BindedCdevInfo": [
571 {
572 "CdevRequest": "usbc-port",
573 "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
574 }
575 ],
576 "VrThreshold":"NAN",
577 "Multiplier":1,
578 "PollingDelay":60000,
579 "PassiveDelay":7000
580 },
581 {
582 "Name":"VIRTUAL-USB-UI",
583 "Type":"USB_PORT",
584 "VirtualSensor":true,
585 "Formula":"COUNT_THRESHOLD",
586 "TriggerSensor": "usb_pwr_therm2",
587 "Combination":[
588 "usb_pwr_therm2",
589 "USB2-MINUS-USB",
590 "USB2-MINUS-QI"
591 ],
592 "Coefficient":[
593 "35000",
594 "3000",
595 "12000"
596 ],
597 "HotThreshold":[
598 "NAN",
599 "NAN",
600 "NAN",
601 "NAN",
602 "NAN",
603 "3.0",
604 "NAN"
605 ],
606 "VrThreshold":"NAN",
607 "Multiplier":1,
608 "Monitor":true,
609 "PollingDelay":60000,
610 "PassiveDelay":7000
611 },
612 {
Robin Pengcd374d82021-02-23 20:00:46 +0800613 "Name":"LITTLE",
614 "Type":"CPU",
615 "HotThreshold":[
616 "NAN",
617 "NAN",
618 "NAN",
619 "NAN",
620 "NAN",
621 "NAN",
622 115.0
623 ],
624 "VrThreshold":"NAN",
625 "Multiplier":0.001
626 },
627 {
628 "Name":"MID",
629 "Type":"CPU",
630 "HotThreshold":[
631 "NAN",
632 "NAN",
633 "NAN",
634 "NAN",
635 "NAN",
636 "NAN",
637 115.0
638 ],
639 "VrThreshold":"NAN",
640 "Multiplier":0.001
641 },
642 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800643 "Name":"BIG",
644 "Type":"CPU",
645 "HotThreshold":[
646 "NAN",
647 "NAN",
648 "NAN",
649 "NAN",
650 "NAN",
651 "NAN",
652 115.0
653 ],
654 "VrThreshold":"NAN",
655 "Multiplier":0.001
656 },
657 {
Robin Pengcd374d82021-02-23 20:00:46 +0800658 "Name":"G3D",
659 "Type":"GPU",
660 "HotThreshold":[
661 "NAN",
662 "NAN",
663 "NAN",
664 "NAN",
665 "NAN",
666 "NAN",
667 115.0
668 ],
669 "VrThreshold":"NAN",
670 "Multiplier":0.001
671 },
672 {
673 "Name":"battery_cycle",
674 "Type":"BCL_VOLTAGE",
675 "HotThreshold":[
676 "NAN",
677 "NAN",
678 "NAN",
679 "NAN",
680 "NAN",
681 "NAN",
682 "NAN"
683 ],
684 "VrThreshold":"NAN",
685 "Multiplier":1,
686 "Monitor":false
687 },
688 {
George Lee1dbbc0a2021-03-08 09:28:34 -0800689 "Name":"critical-battery-cell",
690 "Type":"BCL_VOLTAGE",
691 "VirtualSensor":true,
692 "Formula":"COUNT_THRESHOLD",
693 "TriggerSensor": "vdroop1",
694 "Combination":[
695 "battery",
696 "battery_cycle",
697 "vdroop1"
698 ],
699 "Coefficient":[
700 "-10000",
701 "400",
702 "1200"
703 ],
704 "HotThreshold":[
705 "NAN",
706 "NAN",
707 "NAN",
708 "NAN",
709 "NAN",
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800710 3.00,
George Lee1dbbc0a2021-03-08 09:28:34 -0800711 "NAN"
712 ],
713 "VrThreshold":"NAN",
714 "Multiplier":1,
715 "Monitor":true
716 },
717 {
Robin Pengcd374d82021-02-23 20:00:46 +0800718 "Name":"FLASH_LED_REDUCE",
719 "Type":"UNKNOWN",
720 "VirtualSensor":true,
721 "Formula":"COUNT_THRESHOLD",
George Leec761b412021-03-08 09:26:59 -0800722 "TriggerSensor": "vdroop1",
Robin Pengcd374d82021-02-23 20:00:46 +0800723 "Combination":[
724 "battery",
725 "battery_cycle",
George Leec761b412021-03-08 09:26:59 -0800726 "vdroop1"
Robin Pengcd374d82021-02-23 20:00:46 +0800727 ],
728 "Coefficient":[
729 "-10000",
730 "400",
George Leec761b412021-03-08 09:26:59 -0800731 "1200"
Robin Pengcd374d82021-02-23 20:00:46 +0800732 ],
733 "HotThreshold":[
734 "NAN",
735 "NAN",
736 "NAN",
737 "NAN",
738 3.00,
739 "NAN",
740 "NAN"
741 ],
742 "VrThreshold":"NAN",
743 "Multiplier":1,
744 "Monitor":true,
745 "SendPowerHint":true
746 },
747 {
748 "Name":"soc",
749 "Type":"BCL_PERCENTAGE",
750 "HotThreshold":[
751 "NAN",
752 "NAN",
753 "NAN",
Robin Pengcd374d82021-02-23 20:00:46 +0800754 90,
George Lee156e8f12021-05-24 12:11:48 -0700755 93,
756 96,
Robin Pengcd374d82021-02-23 20:00:46 +0800757 "NAN"
758 ],
759 "VrThreshold":"NAN",
760 "Multiplier":1,
George Lee156e8f12021-05-24 12:11:48 -0700761 "Monitor":true,
762 "PollingDelay":300000,
763 "PassiveDelay":5000,
764 "BindedCdevInfo": [
765 {
766 "CdevRequest": "thermal-cpufreq-2",
767 "LimitInfo": [0, 0, 0, 7, 7, 10, 10]
George Lee156e8f12021-05-24 12:11:48 -0700768 }
769 ]
Robin Pengcd374d82021-02-23 20:00:46 +0800770 },
771 {
George Lee090b93c2021-07-21 13:53:31 -0700772 "Name":"batoilo",
773 "Type":"BCL_CURRENT",
774 "HotThreshold":[
775 "NAN",
776 "NAN",
777 "NAN",
778 "NAN",
779 5000,
780 "NAN",
781 "NAN"
782 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800783 "HotHysteresis":[
784 0.0,
785 0.0,
786 0.0,
787 0.0,
788 100,
789 0.0,
790 0.0
791 ],
George Lee090b93c2021-07-21 13:53:31 -0700792 "VrThreshold":"NAN",
793 "Multiplier":1,
794 "Monitor":true
795 },
796 {
George Leec761b412021-03-08 09:26:59 -0800797 "Name":"vdroop1",
798 "Type":"BCL_VOLTAGE",
799 "HotThreshold":[
800 "NAN",
801 "NAN",
802 "NAN",
803 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700804 1150,
George Leec761b412021-03-08 09:26:59 -0800805 "NAN",
806 "NAN"
807 ],
YiHo Chengeab6d242021-07-08 10:16:27 +0800808 "HotHysteresis":[
809 0.0,
810 0.0,
811 0.0,
812 0.0,
813 100,
814 0.0,
815 0.0
816 ],
George Leec761b412021-03-08 09:26:59 -0800817 "VrThreshold":"NAN",
818 "Multiplier":1,
819 "Monitor":true
820 },
821 {
822 "Name":"vdroop2",
823 "Type":"BCL_VOLTAGE",
824 "HotThreshold":[
825 "NAN",
826 "NAN",
827 "NAN",
828 "NAN",
George Leea73cca82021-07-21 13:19:24 -0700829 1350,
George Leec761b412021-03-08 09:26:59 -0800830 "NAN",
831 "NAN"
832 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800833 "HotHysteresis":[
834 0.0,
835 0.0,
836 0.0,
837 0.0,
838 100,
839 0.0,
840 0.0
841 ],
George Leec761b412021-03-08 09:26:59 -0800842 "VrThreshold":"NAN",
843 "Multiplier":1,
844 "Monitor":true
845 },
846 {
Robin Pengcd374d82021-02-23 20:00:46 +0800847 "Name":"smpl_gm",
848 "Type":"BCL_VOLTAGE",
849 "HotThreshold":[
850 "NAN",
851 "NAN",
852 "NAN",
853 "NAN",
854 1400,
855 "NAN",
856 "NAN"
857 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800858 "HotHysteresis":[
859 0.0,
860 0.0,
861 0.0,
862 0.0,
863 100,
864 0.0,
865 0.0
866 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800867 "VrThreshold":"NAN",
868 "Multiplier":1,
869 "Monitor":true
870 },
871 {
872 "Name":"ocp_cpu1",
873 "Type":"BCL_CURRENT",
874 "HotThreshold":[
875 "NAN",
876 "NAN",
877 "NAN",
878 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700879 7000,
Robin Pengcd374d82021-02-23 20:00:46 +0800880 "NAN",
881 "NAN"
882 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800883 "HotHysteresis":[
884 0.0,
885 0.0,
886 0.0,
887 0.0,
888 100,
889 0.0,
890 0.0
891 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800892 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700893 "Multiplier":1,
894 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800895 },
896 {
897 "Name":"ocp_cpu2",
898 "Type":"BCL_CURRENT",
899 "HotThreshold":[
900 "NAN",
901 "NAN",
902 "NAN",
903 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700904 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800905 "NAN",
906 "NAN"
907 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800908 "HotHysteresis":[
909 0.0,
910 0.0,
911 0.0,
912 0.0,
913 100,
914 0.0,
915 0.0
916 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800917 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700918 "Multiplier":1,
919 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800920 },
921 {
922 "Name":"ocp_tpu",
923 "Type":"BCL_CURRENT",
924 "HotThreshold":[
925 "NAN",
926 "NAN",
927 "NAN",
928 "NAN",
George Leed337a062021-08-16 10:01:55 -0700929 10500,
Robin Pengcd374d82021-02-23 20:00:46 +0800930 "NAN",
931 "NAN"
932 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800933 "HotHysteresis":[
934 0.0,
935 0.0,
936 0.0,
937 0.0,
938 100,
939 0.0,
940 0.0
941 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800942 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700943 "Multiplier":1,
George Leed337a062021-08-16 10:01:55 -0700944 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800945 },
946 {
947 "Name":"ocp_gpu",
948 "Type":"BCL_CURRENT",
949 "HotThreshold":[
950 "NAN",
951 "NAN",
952 "NAN",
953 "NAN",
George Leed337a062021-08-16 10:01:55 -0700954 12000,
Robin Pengcd374d82021-02-23 20:00:46 +0800955 "NAN",
956 "NAN"
957 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800958 "HotHysteresis":[
959 0.0,
960 0.0,
961 0.0,
962 0.0,
963 100,
964 0.0,
965 0.0
966 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800967 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700968 "Multiplier":1,
969 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800970 },
971 {
972 "Name":"soft_ocp_cpu2",
973 "Type":"BCL_CURRENT",
974 "HotThreshold":[
975 "NAN",
976 "NAN",
977 "NAN",
978 "NAN",
George Lee090b93c2021-07-21 13:53:31 -0700979 9000,
Robin Pengcd374d82021-02-23 20:00:46 +0800980 "NAN",
981 "NAN"
982 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +0800983 "HotHysteresis":[
984 0.0,
985 0.0,
986 0.0,
987 0.0,
988 100,
989 0.0,
990 0.0
991 ],
Robin Pengcd374d82021-02-23 20:00:46 +0800992 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -0700993 "Multiplier":1,
994 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +0800995 },
996 {
997 "Name":"soft_ocp_cpu1",
998 "Type":"BCL_CURRENT",
999 "HotThreshold":[
1000 "NAN",
1001 "NAN",
1002 "NAN",
1003 "NAN",
George Lee090b93c2021-07-21 13:53:31 -07001004 7000,
Robin Pengcd374d82021-02-23 20:00:46 +08001005 "NAN",
1006 "NAN"
1007 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001008 "HotHysteresis":[
1009 0.0,
1010 0.0,
1011 0.0,
1012 0.0,
1013 100,
1014 0.0,
1015 0.0
1016 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001017 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001018 "Multiplier":1,
1019 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001020 },
1021 {
1022 "Name":"soft_ocp_tpu",
1023 "Type":"BCL_CURRENT",
1024 "HotThreshold":[
1025 "NAN",
1026 "NAN",
1027 "NAN",
1028 "NAN",
George Leed337a062021-08-16 10:01:55 -07001029 8500,
Robin Pengcd374d82021-02-23 20:00:46 +08001030 "NAN",
1031 "NAN"
1032 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001033 "HotHysteresis":[
1034 0.0,
1035 0.0,
1036 0.0,
1037 0.0,
1038 100,
1039 0.0,
1040 0.0
1041 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001042 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001043 "Multiplier":1,
George Lee4a6d0b72021-08-12 08:40:55 -07001044 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001045 },
1046 {
1047 "Name":"soft_ocp_gpu",
1048 "Type":"BCL_CURRENT",
1049 "HotThreshold":[
1050 "NAN",
1051 "NAN",
1052 "NAN",
1053 "NAN",
George Leed337a062021-08-16 10:01:55 -07001054 9000,
Robin Pengcd374d82021-02-23 20:00:46 +08001055 "NAN",
1056 "NAN"
1057 ],
YiHo Cheng2e843ca2021-08-04 11:16:43 +08001058 "HotHysteresis":[
1059 0.0,
1060 0.0,
1061 0.0,
1062 0.0,
1063 100,
1064 0.0,
1065 0.0
1066 ],
Robin Pengcd374d82021-02-23 20:00:46 +08001067 "VrThreshold":"NAN",
George Lee090b93c2021-07-21 13:53:31 -07001068 "Multiplier":1,
1069 "Monitor":true
Robin Pengcd374d82021-02-23 20:00:46 +08001070 },
1071 {
1072 "Name":"TPU",
1073 "Type":"NPU",
1074 "HotThreshold":[
1075 "NAN",
1076 "NAN",
1077 "NAN",
1078 "NAN",
1079 "NAN",
1080 "NAN",
1081 115.0
1082 ],
1083 "VrThreshold":"NAN",
1084 "Multiplier":0.001
1085 }
1086 ],
1087 "CoolingDevices":[
1088 {
1089 "Name":"thermal-cpufreq-0",
1090 "Type":"CPU",
1091 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
YiHo Cheng6f960da2021-08-05 16:06:26 +08001092 "State2Power":["412", "352", "308", "236", "212", "176", "152", "116", "76", "56", "24"]
Robin Pengcd374d82021-02-23 20:00:46 +08001093 },
1094 {
1095 "Name":"thermal-cpufreq-1",
1096 "Type":"CPU",
1097 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
YiHo Cheng6f960da2021-08-05 16:06:26 +08001098 "State2Power":["1198", "1018", "854", "696", "566", "452", "356", "296", "226", "188", "152", "124", "90", "58"]
Robin Pengcd374d82021-02-23 20:00:46 +08001099 },
1100 {
1101 "Name":"thermal-cpufreq-2",
1102 "Type":"CPU",
1103 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001104 "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 +08001105 },
1106 {
1107 "Name":"thermal-gpufreq-0",
1108 "Type":"GPU",
1109 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001110 "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +08001111 },
1112 {
1113 "Name":"fcc",
1114 "Type":"BATTERY"
1115 },
1116 {
1117 "Name":"dc_icl",
1118 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +08001119 },
1120 {
1121 "Name":"wlc_fcc",
1122 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +08001123 },
1124 {
1125 "Name":"usbc-port",
1126 "Type":"BATTERY"
TeYuan Wang3f4c1162021-08-06 16:11:16 +08001127 },
1128 {
1129 "Name":"tpu_cooling",
1130 "Type":"NPU",
1131 "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +08001132 }
TeYuan Wangfef56f32021-06-11 20:34:25 +08001133 ],
1134 "PowerRails":[
1135 {
1136 "Name":"PPVAR_VSYS_PWR_DISP"
1137 },
1138 {
1139 "Name":"VSYS_PWR_MODEM"
1140 },
1141 {
1142 "Name":"S2M_VDD_CPUCL2",
1143 "PowerSampleDelay":14000,
1144 "PowerSampleCount":5
1145
1146 },
1147 {
1148 "Name":"S3M_VDD_CPUCL1",
1149 "PowerSampleDelay":14000,
1150 "PowerSampleCount":5
1151 },
1152 {
1153 "Name":"S4M_VDD_CPUCL0",
1154 "PowerSampleDelay":14000,
1155 "PowerSampleCount":5
1156 },
1157 {
1158 "Name":"S5M_VDD_INT"
1159 },
1160 {
YiHo Cheng1a261f82021-07-12 19:58:52 +08001161 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +08001162 },
1163 {
1164 "Name":"S2S_VDD_G3D",
1165 "PowerSampleDelay":14000,
1166 "PowerSampleCount":5
1167 },
1168 {
1169 "Name":"POWER_FOR_CHARGING_THROTTLING",
1170 "VirtualRails":true,
1171 "Formula":"WEIGHTED_AVG",
1172 "Combination":[
TeYuan Wangfef56f32021-06-11 20:34:25 +08001173 "VSYS_PWR_MODEM",
1174 "S2M_VDD_CPUCL2",
1175 "S3M_VDD_CPUCL1",
1176 "S4M_VDD_CPUCL0",
1177 "S5M_VDD_INT",
1178 "S1M_VDD_MIF",
1179 "S2S_VDD_G3D"
1180 ],
1181 "Coefficient":[
1182 "1.0",
1183 "1.0",
1184 "1.0",
1185 "1.0",
1186 "1.0",
1187 "1.0",
TeYuan Wangfef56f32021-06-11 20:34:25 +08001188 "1.0"
1189 ],
1190 "PowerSampleDelay":14000,
1191 "PowerSampleCount":5
1192 }
Robin Pengcd374d82021-02-23 20:00:46 +08001193 ]
1194}