Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 1 | { |
| 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 Kragten | ca7a633 | 2021-04-06 13:33:55 -0700 | [diff] [blame] | 19 | "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 Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 49 | "Name":"neutral_therm", |
| 50 | "Type":"UNKNOWN", |
| 51 | "HotThreshold":[ |
| 52 | "NAN", |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 53 | "NAN", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 54 | "NAN", |
| 55 | "NAN", |
| 56 | "NAN", |
| 57 | "NAN", |
| 58 | "NAN" |
| 59 | ], |
| 60 | "VrThreshold":"NAN", |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 61 | "Multiplier":0.001 |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 62 | }, |
| 63 | { |
| 64 | "Name":"gnss_tcxo_therm", |
| 65 | "Type":"UNKNOWN", |
| 66 | "HotThreshold":[ |
| 67 | "NAN", |
| 68 | "NAN", |
| 69 | "NAN", |
| 70 | "NAN", |
| 71 | "NAN", |
| 72 | "NAN", |
| 73 | "NAN" |
| 74 | ], |
| 75 | "VrThreshold":"NAN", |
| 76 | "Multiplier":0.001 |
| 77 | }, |
| 78 | { |
| 79 | "Name":"qi_therm", |
| 80 | "Type":"UNKNOWN", |
| 81 | "HotThreshold":[ |
| 82 | "NAN", |
| 83 | "NAN", |
| 84 | "NAN", |
| 85 | "NAN", |
| 86 | "NAN", |
| 87 | "NAN", |
| 88 | "NAN" |
| 89 | ], |
| 90 | "VrThreshold":"NAN", |
| 91 | "Multiplier":0.001 |
| 92 | }, |
| 93 | { |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 94 | "Name":"usb_pwr_therm2", |
| 95 | "Type":"UNKNOWN", |
| 96 | "HotThreshold":[ |
| 97 | "NAN", |
| 98 | "NAN", |
| 99 | "NAN", |
| 100 | "NAN", |
| 101 | "NAN", |
| 102 | "NAN", |
| 103 | "NAN" |
| 104 | ], |
| 105 | "VrThreshold":"NAN", |
| 106 | "Multiplier":0.001 |
| 107 | }, |
| 108 | { |
| 109 | "Name":"disp_therm", |
| 110 | "Type":"UNKNOWN", |
| 111 | "HotThreshold":[ |
| 112 | "NAN", |
| 113 | "NAN", |
| 114 | "NAN", |
| 115 | "NAN", |
| 116 | "NAN", |
| 117 | "NAN", |
| 118 | "NAN" |
| 119 | ], |
| 120 | "VrThreshold":"NAN", |
| 121 | "Multiplier":0.001 |
| 122 | }, |
| 123 | { |
| 124 | "Name":"quiet_therm", |
| 125 | "Type":"UNKNOWN", |
| 126 | "HotThreshold":[ |
| 127 | "NAN", |
| 128 | "32.9", |
| 129 | "NAN", |
| 130 | "NAN", |
| 131 | "NAN", |
| 132 | "NAN", |
| 133 | "NAN" |
| 134 | ], |
| 135 | "VrThreshold":"NAN", |
| 136 | "Multiplier":0.001, |
TeYuan Wang | bf198b7 | 2021-06-24 23:16:13 +0800 | [diff] [blame] | 137 | "PollingDelay":60000, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 138 | "PassiveDelay":7000 |
| 139 | }, |
| 140 | { |
| 141 | "Name":"VIRTUAL-QI-GNSS", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 142 | "Type":"UNKNOWN", |
| 143 | "VirtualSensor":true, |
| 144 | "Formula":"WEIGHTED_AVG", |
| 145 | "Combination":[ |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 146 | "qi_therm", |
| 147 | "gnss_tcxo_therm" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 148 | ], |
| 149 | "Coefficient":[ |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 150 | "0.25", |
| 151 | "0.75" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 152 | ], |
Jia-yi Chen | 79a3b70 | 2021-06-02 14:05:18 -0700 | [diff] [blame] | 153 | "Offset":-4500, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 154 | "HotThreshold":[ |
| 155 | "NAN", |
| 156 | "NAN", |
| 157 | "NAN", |
| 158 | "NAN", |
| 159 | "NAN", |
| 160 | "NAN", |
| 161 | "NAN" |
| 162 | ], |
| 163 | "VrThreshold":"NAN", |
| 164 | "Multiplier":0.001 |
| 165 | }, |
| 166 | { |
| 167 | "Name":"VIRTUAL-QI-BATT", |
| 168 | "Type":"UNKNOWN", |
| 169 | "VirtualSensor":true, |
| 170 | "Formula":"WEIGHTED_AVG", |
| 171 | "Combination":[ |
| 172 | "qi_therm", |
| 173 | "battery" |
| 174 | ], |
| 175 | "Coefficient":[ |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 176 | "0.22", |
| 177 | "0.78" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 178 | ], |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 179 | "Offset":-500, |
| 180 | "HotThreshold":[ |
| 181 | "NAN", |
| 182 | "NAN", |
| 183 | "NAN", |
| 184 | "NAN", |
| 185 | "NAN", |
| 186 | "NAN", |
| 187 | "NAN" |
| 188 | ], |
| 189 | "VrThreshold":"NAN", |
| 190 | "Multiplier":0.001 |
| 191 | }, |
| 192 | { |
| 193 | "Name":"VIRTUAL-USB2-DISP", |
| 194 | "Type":"UNKNOWN", |
| 195 | "VirtualSensor":true, |
| 196 | "Formula":"WEIGHTED_AVG", |
| 197 | "Combination":[ |
| 198 | "usb_pwr_therm2", |
| 199 | "disp_therm" |
| 200 | ], |
| 201 | "Coefficient":[ |
| 202 | "0.16", |
| 203 | "0.84" |
| 204 | ], |
| 205 | "Offset":1500, |
| 206 | "HotThreshold":[ |
| 207 | "NAN", |
| 208 | "NAN", |
| 209 | "NAN", |
| 210 | "NAN", |
| 211 | "NAN", |
| 212 | "NAN", |
| 213 | "NAN" |
| 214 | ], |
| 215 | "VrThreshold":"NAN", |
| 216 | "Multiplier":0.001 |
| 217 | }, |
| 218 | { |
| 219 | "Name":"VIRTUAL-QUIET-BATT", |
| 220 | "Type":"UNKNOWN", |
| 221 | "VirtualSensor":true, |
| 222 | "Formula":"WEIGHTED_AVG", |
| 223 | "Combination":[ |
| 224 | "quiet_therm", |
| 225 | "battery" |
| 226 | ], |
| 227 | "Coefficient":[ |
| 228 | "2.15", |
| 229 | "-1.15" |
| 230 | ], |
| 231 | "Offset":-2000, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 232 | "HotThreshold":[ |
| 233 | "NAN", |
| 234 | "NAN", |
| 235 | "NAN", |
| 236 | "NAN", |
| 237 | "NAN", |
| 238 | "NAN", |
| 239 | "NAN" |
| 240 | ], |
| 241 | "VrThreshold":"NAN", |
| 242 | "Multiplier":0.001 |
| 243 | }, |
| 244 | { |
| 245 | "Name":"VIRTUAL-SKIN", |
| 246 | "Type":"SKIN", |
| 247 | "VirtualSensor":true, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 248 | "TriggerSensor":"quiet_therm", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 249 | "Formula":"MAXIMUM", |
| 250 | "Combination":[ |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 251 | "VIRTUAL-QI-GNSS", |
| 252 | "VIRTUAL-QI-BATT", |
| 253 | "VIRTUAL-USB2-DISP", |
| 254 | "VIRTUAL-QUIET-BATT" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 255 | ], |
| 256 | "Coefficient":[ |
| 257 | "1.0", |
| 258 | "1.0", |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 259 | "1.0", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 260 | "1.0" |
| 261 | ], |
| 262 | "HotThreshold":[ |
| 263 | "NAN", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 264 | "39.0", |
| 265 | "43.0", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 266 | "45.0", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 267 | "47.0", |
| 268 | "52.0", |
Jia-yi Chen | 79a3b70 | 2021-06-02 14:05:18 -0700 | [diff] [blame] | 269 | "55.0" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 270 | ], |
| 271 | "HotHysteresis":[ |
| 272 | 0.0, |
| 273 | 1.9, |
| 274 | 1.9, |
| 275 | 1.9, |
| 276 | 1.9, |
| 277 | 1.9, |
| 278 | 1.9 |
| 279 | ], |
| 280 | "VrThreshold":"NAN", |
| 281 | "Multiplier":0.001, |
David Chao | 0a57e6a | 2021-05-25 00:19:25 +0800 | [diff] [blame] | 282 | "SendPowerHint":true, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 283 | "Monitor":true, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 284 | "PollingDelay":300000, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 285 | "PassiveDelay":7000, |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 286 | "PIDInfo": { |
| 287 | "K_Po":["NAN", "NAN", 1700, "NAN", "NAN", "NAN", "NAN"], |
| 288 | "K_Pu":["NAN", "NAN", 1700, "NAN", "NAN", "NAN", "NAN"], |
| 289 | "K_I":["NAN", "NAN", 10, "NAN", "NAN", "NAN", "NAN"], |
| 290 | "K_D":["NAN", "NAN", 10, "NAN", "NAN", "NAN", "NAN"], |
| 291 | "I_Max":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"], |
| 292 | "S_Power":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"], |
| 293 | "MinAllocPower":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"], |
| 294 | "MaxAllocPower":["NAN", "NAN", 9500, "NAN", "NAN", "NAN", "NAN"], |
| 295 | "I_Cutoff":["NAN", "NAN", 1, "NAN", "NAN", "NAN", "NAN"] |
| 296 | }, |
| 297 | "BindedCdevInfo": [ |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 298 | { |
| 299 | "CdevRequest": "thermal-cpufreq-0", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 300 | "CdevWeightForPID":0.9, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 301 | "CdevCeilingForPID":6, |
| 302 | "LimitInfo": [0, 0, 0, 7, 8, 10, 10], |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 303 | "PowerThreshold": [200, 200, 200, 200, 50, 0, 0], |
| 304 | "PowerSampleDelay":14000, |
| 305 | "PowerSampleCount":5, |
| 306 | "ReleaseLogic": "DECREASE" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 307 | }, |
| 308 | { |
| 309 | "CdevRequest": "thermal-cpufreq-1", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 310 | "CdevWeightForPID":1.1, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 311 | "CdevCeilingForPID":7, |
| 312 | "LimitInfo": [0, 0, 0, 8, 9, 11, 11], |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 313 | "PowerThreshold": [200, 200, 200, 200, 50, 0, 0], |
| 314 | "PowerSampleDelay":14000, |
| 315 | "PowerSampleCount":5, |
| 316 | "ReleaseLogic": "DECREASE" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 317 | }, |
| 318 | { |
| 319 | "CdevRequest": "thermal-cpufreq-2", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 320 | "CdevWeightForPID":2.9, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 321 | "CdevCeilingForPID":12, |
| 322 | "LimitInfo": [0, 0, 0, 13, 14, 16, 16], |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 323 | "PowerThreshold": [200, 200, 200, 200, 50, 0, 0], |
| 324 | "PowerSampleDelay":14000, |
| 325 | "PowerSampleCount":5, |
| 326 | "ReleaseLogic": "DECREASE" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 327 | }, |
| 328 | { |
| 329 | "CdevRequest": "thermal-gpufreq-0", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 330 | "CdevWeightForPID":3.3, |
| 331 | "CdevCeilingForPID":7, |
| 332 | "LimitInfo": [0, 0, 0, 8, 10, 11, 11], |
| 333 | "PowerThreshold": [200, 200, 200, 200, 50, 0, 0], |
| 334 | "PowerSampleDelay":14000, |
| 335 | "PowerSampleCount":5, |
| 336 | "ReleaseLogic": "DECREASE" |
| 337 | }, |
| 338 | { |
| 339 | "CdevRequest": "fcc", |
Jia-yi Chen | 79a3b70 | 2021-06-02 14:05:18 -0700 | [diff] [blame] | 340 | "LimitInfo": [0, 2, 3, 5, 5, 5, 5] |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 341 | }, |
| 342 | { |
| 343 | "CdevRequest": "dc_icl", |
TeYuan Wang | be01211 | 2021-06-09 11:02:39 +0800 | [diff] [blame] | 344 | "LimitInfo": [0, 1, 2, 3, 3, 3, 3] |
| 345 | }, |
| 346 | { |
| 347 | "CdevRequest": "wlc_fcc", |
Jia-yi Chen | 79a3b70 | 2021-06-02 14:05:18 -0700 | [diff] [blame] | 348 | "LimitInfo": [0, 1, 2, 4, 4, 4, 4] |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 349 | } |
| 350 | ] |
| 351 | }, |
| 352 | { |
| 353 | "Name":"cellular-emergency", |
| 354 | "Type":"POWER_AMPLIFIER", |
| 355 | "VirtualSensor":true, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 356 | "TriggerSensor":"quiet_therm", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 357 | "Formula":"MAXIMUM", |
| 358 | "Combination":[ |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 359 | "VIRTUAL-QI-GNSS", |
| 360 | "VIRTUAL-QI-BATT", |
| 361 | "VIRTUAL-USB2-DISP", |
| 362 | "VIRTUAL-QUIET-BATT" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 363 | ], |
| 364 | "Coefficient":[ |
| 365 | "1.0", |
| 366 | "1.0", |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 367 | "1.0", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 368 | "1.0" |
| 369 | ], |
| 370 | "HotThreshold":[ |
| 371 | "NAN", |
| 372 | "NAN", |
| 373 | "NAN", |
| 374 | "NAN", |
| 375 | "NAN", |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 376 | "54.0", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 377 | "NAN" |
| 378 | ], |
| 379 | "HotHysteresis":[ |
| 380 | 0.0, |
| 381 | 0.0, |
| 382 | 0.0, |
| 383 | 0.0, |
Blake Kragten | ca7a633 | 2021-04-06 13:33:55 -0700 | [diff] [blame] | 384 | 0.0, |
Blake Kragten | 9d6c2d9 | 2021-06-03 17:18:39 -0700 | [diff] [blame] | 385 | 1.9, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 386 | 0.0 |
| 387 | ], |
| 388 | "VrThreshold":"NAN", |
| 389 | "Multiplier":0.001, |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 390 | "Monitor":true, |
| 391 | "PollingDelay":300000, |
| 392 | "PassiveDelay":7000 |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 393 | }, |
| 394 | { |
| 395 | "Name":"LITTLE", |
| 396 | "Type":"CPU", |
| 397 | "HotThreshold":[ |
| 398 | "NAN", |
| 399 | "NAN", |
| 400 | "NAN", |
| 401 | "NAN", |
| 402 | "NAN", |
| 403 | "NAN", |
| 404 | 115.0 |
| 405 | ], |
| 406 | "VrThreshold":"NAN", |
| 407 | "Multiplier":0.001 |
| 408 | }, |
| 409 | { |
| 410 | "Name":"MID", |
| 411 | "Type":"CPU", |
| 412 | "HotThreshold":[ |
| 413 | "NAN", |
| 414 | "NAN", |
| 415 | "NAN", |
| 416 | "NAN", |
| 417 | "NAN", |
| 418 | "NAN", |
| 419 | 115.0 |
| 420 | ], |
| 421 | "VrThreshold":"NAN", |
| 422 | "Multiplier":0.001 |
| 423 | }, |
| 424 | { |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 425 | "Name":"BIG", |
| 426 | "Type":"CPU", |
| 427 | "HotThreshold":[ |
| 428 | "NAN", |
| 429 | "NAN", |
| 430 | "NAN", |
| 431 | "NAN", |
| 432 | "NAN", |
| 433 | "NAN", |
| 434 | 115.0 |
| 435 | ], |
| 436 | "VrThreshold":"NAN", |
| 437 | "Multiplier":0.001 |
| 438 | }, |
| 439 | { |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 440 | "Name":"G3D", |
| 441 | "Type":"GPU", |
| 442 | "HotThreshold":[ |
| 443 | "NAN", |
| 444 | "NAN", |
| 445 | "NAN", |
| 446 | "NAN", |
| 447 | "NAN", |
| 448 | "NAN", |
| 449 | 115.0 |
| 450 | ], |
| 451 | "VrThreshold":"NAN", |
| 452 | "Multiplier":0.001 |
| 453 | }, |
| 454 | { |
| 455 | "Name":"battery_cycle", |
| 456 | "Type":"BCL_VOLTAGE", |
| 457 | "HotThreshold":[ |
| 458 | "NAN", |
| 459 | "NAN", |
| 460 | "NAN", |
| 461 | "NAN", |
| 462 | "NAN", |
| 463 | "NAN", |
| 464 | "NAN" |
| 465 | ], |
| 466 | "VrThreshold":"NAN", |
| 467 | "Multiplier":1, |
| 468 | "Monitor":false |
| 469 | }, |
| 470 | { |
George Lee | 1dbbc0a | 2021-03-08 09:28:34 -0800 | [diff] [blame] | 471 | "Name":"critical-battery-cell", |
| 472 | "Type":"BCL_VOLTAGE", |
| 473 | "VirtualSensor":true, |
| 474 | "Formula":"COUNT_THRESHOLD", |
| 475 | "TriggerSensor": "vdroop1", |
| 476 | "Combination":[ |
| 477 | "battery", |
| 478 | "battery_cycle", |
| 479 | "vdroop1" |
| 480 | ], |
| 481 | "Coefficient":[ |
| 482 | "-10000", |
| 483 | "400", |
| 484 | "1200" |
| 485 | ], |
| 486 | "HotThreshold":[ |
| 487 | "NAN", |
| 488 | "NAN", |
| 489 | "NAN", |
| 490 | "NAN", |
| 491 | "NAN", |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 492 | 3.00, |
George Lee | 1dbbc0a | 2021-03-08 09:28:34 -0800 | [diff] [blame] | 493 | "NAN" |
| 494 | ], |
| 495 | "VrThreshold":"NAN", |
| 496 | "Multiplier":1, |
| 497 | "Monitor":true |
| 498 | }, |
| 499 | { |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 500 | "Name":"FLASH_LED_REDUCE", |
| 501 | "Type":"UNKNOWN", |
| 502 | "VirtualSensor":true, |
| 503 | "Formula":"COUNT_THRESHOLD", |
George Lee | c761b41 | 2021-03-08 09:26:59 -0800 | [diff] [blame] | 504 | "TriggerSensor": "vdroop1", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 505 | "Combination":[ |
| 506 | "battery", |
| 507 | "battery_cycle", |
George Lee | c761b41 | 2021-03-08 09:26:59 -0800 | [diff] [blame] | 508 | "vdroop1" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 509 | ], |
| 510 | "Coefficient":[ |
| 511 | "-10000", |
| 512 | "400", |
George Lee | c761b41 | 2021-03-08 09:26:59 -0800 | [diff] [blame] | 513 | "1200" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 514 | ], |
| 515 | "HotThreshold":[ |
| 516 | "NAN", |
| 517 | "NAN", |
| 518 | "NAN", |
| 519 | "NAN", |
| 520 | 3.00, |
| 521 | "NAN", |
| 522 | "NAN" |
| 523 | ], |
| 524 | "VrThreshold":"NAN", |
| 525 | "Multiplier":1, |
| 526 | "Monitor":true, |
| 527 | "SendPowerHint":true |
| 528 | }, |
| 529 | { |
| 530 | "Name":"soc", |
| 531 | "Type":"BCL_PERCENTAGE", |
| 532 | "HotThreshold":[ |
| 533 | "NAN", |
| 534 | "NAN", |
| 535 | "NAN", |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 536 | 90, |
George Lee | 156e8f1 | 2021-05-24 12:11:48 -0700 | [diff] [blame] | 537 | 93, |
| 538 | 96, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 539 | "NAN" |
| 540 | ], |
| 541 | "VrThreshold":"NAN", |
| 542 | "Multiplier":1, |
George Lee | 156e8f1 | 2021-05-24 12:11:48 -0700 | [diff] [blame] | 543 | "Monitor":true, |
| 544 | "PollingDelay":300000, |
| 545 | "PassiveDelay":5000, |
| 546 | "BindedCdevInfo": [ |
| 547 | { |
| 548 | "CdevRequest": "thermal-cpufreq-2", |
| 549 | "LimitInfo": [0, 0, 0, 7, 7, 10, 10] |
George Lee | 156e8f1 | 2021-05-24 12:11:48 -0700 | [diff] [blame] | 550 | } |
| 551 | ] |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 552 | }, |
| 553 | { |
George Lee | c761b41 | 2021-03-08 09:26:59 -0800 | [diff] [blame] | 554 | "Name":"vdroop1", |
| 555 | "Type":"BCL_VOLTAGE", |
| 556 | "HotThreshold":[ |
| 557 | "NAN", |
| 558 | "NAN", |
| 559 | "NAN", |
| 560 | "NAN", |
| 561 | 1200, |
| 562 | "NAN", |
| 563 | "NAN" |
| 564 | ], |
| 565 | "VrThreshold":"NAN", |
| 566 | "Multiplier":1, |
| 567 | "Monitor":true |
| 568 | }, |
| 569 | { |
| 570 | "Name":"vdroop2", |
| 571 | "Type":"BCL_VOLTAGE", |
| 572 | "HotThreshold":[ |
| 573 | "NAN", |
| 574 | "NAN", |
| 575 | "NAN", |
| 576 | "NAN", |
| 577 | 1200, |
| 578 | "NAN", |
| 579 | "NAN" |
| 580 | ], |
| 581 | "VrThreshold":"NAN", |
| 582 | "Multiplier":1, |
| 583 | "Monitor":true |
| 584 | }, |
| 585 | { |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 586 | "Name":"smpl_gm", |
| 587 | "Type":"BCL_VOLTAGE", |
| 588 | "HotThreshold":[ |
| 589 | "NAN", |
| 590 | "NAN", |
| 591 | "NAN", |
| 592 | "NAN", |
| 593 | 1400, |
| 594 | "NAN", |
| 595 | "NAN" |
| 596 | ], |
| 597 | "VrThreshold":"NAN", |
| 598 | "Multiplier":1, |
| 599 | "Monitor":true |
| 600 | }, |
| 601 | { |
| 602 | "Name":"ocp_cpu1", |
| 603 | "Type":"BCL_CURRENT", |
| 604 | "HotThreshold":[ |
| 605 | "NAN", |
| 606 | "NAN", |
| 607 | "NAN", |
| 608 | "NAN", |
| 609 | 7, |
| 610 | "NAN", |
| 611 | "NAN" |
| 612 | ], |
| 613 | "VrThreshold":"NAN", |
| 614 | "Multiplier":0.001, |
| 615 | "Monitor":false |
| 616 | }, |
| 617 | { |
| 618 | "Name":"ocp_cpu2", |
| 619 | "Type":"BCL_CURRENT", |
| 620 | "HotThreshold":[ |
| 621 | "NAN", |
| 622 | "NAN", |
| 623 | "NAN", |
| 624 | "NAN", |
| 625 | 12, |
| 626 | "NAN", |
| 627 | "NAN" |
| 628 | ], |
| 629 | "VrThreshold":"NAN", |
| 630 | "Multiplier":0.001, |
| 631 | "Monitor":false |
| 632 | }, |
| 633 | { |
| 634 | "Name":"ocp_tpu", |
| 635 | "Type":"BCL_CURRENT", |
| 636 | "HotThreshold":[ |
| 637 | "NAN", |
| 638 | "NAN", |
| 639 | "NAN", |
| 640 | "NAN", |
| 641 | 10.5, |
| 642 | "NAN", |
| 643 | "NAN" |
| 644 | ], |
| 645 | "VrThreshold":"NAN", |
| 646 | "Multiplier":0.001, |
| 647 | "Monitor":false |
| 648 | }, |
| 649 | { |
| 650 | "Name":"ocp_gpu", |
| 651 | "Type":"BCL_CURRENT", |
| 652 | "HotThreshold":[ |
| 653 | "NAN", |
| 654 | "NAN", |
| 655 | "NAN", |
| 656 | "NAN", |
George Lee | d8ab4eb | 2021-04-15 17:42:57 -0700 | [diff] [blame] | 657 | 12, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 658 | "NAN", |
| 659 | "NAN" |
| 660 | ], |
| 661 | "VrThreshold":"NAN", |
| 662 | "Multiplier":0.001, |
| 663 | "Monitor":false |
| 664 | }, |
| 665 | { |
| 666 | "Name":"soft_ocp_cpu2", |
| 667 | "Type":"BCL_CURRENT", |
| 668 | "HotThreshold":[ |
| 669 | "NAN", |
| 670 | "NAN", |
| 671 | "NAN", |
| 672 | "NAN", |
George Lee | d8ab4eb | 2021-04-15 17:42:57 -0700 | [diff] [blame] | 673 | 9, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 674 | "NAN", |
| 675 | "NAN" |
| 676 | ], |
| 677 | "VrThreshold":"NAN", |
| 678 | "Multiplier":0.001, |
| 679 | "Monitor":false |
| 680 | }, |
| 681 | { |
| 682 | "Name":"soft_ocp_cpu1", |
| 683 | "Type":"BCL_CURRENT", |
| 684 | "HotThreshold":[ |
| 685 | "NAN", |
| 686 | "NAN", |
| 687 | "NAN", |
| 688 | "NAN", |
| 689 | 7.00, |
| 690 | "NAN", |
| 691 | "NAN" |
| 692 | ], |
| 693 | "VrThreshold":"NAN", |
| 694 | "Multiplier":0.001, |
| 695 | "Monitor":false |
| 696 | }, |
| 697 | { |
| 698 | "Name":"soft_ocp_tpu", |
| 699 | "Type":"BCL_CURRENT", |
| 700 | "HotThreshold":[ |
| 701 | "NAN", |
| 702 | "NAN", |
| 703 | "NAN", |
| 704 | "NAN", |
George Lee | d8ab4eb | 2021-04-15 17:42:57 -0700 | [diff] [blame] | 705 | 8.5, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 706 | "NAN", |
| 707 | "NAN" |
| 708 | ], |
| 709 | "VrThreshold":"NAN", |
| 710 | "Multiplier":0.001, |
| 711 | "Monitor":false |
| 712 | }, |
| 713 | { |
| 714 | "Name":"soft_ocp_gpu", |
| 715 | "Type":"BCL_CURRENT", |
| 716 | "HotThreshold":[ |
| 717 | "NAN", |
| 718 | "NAN", |
| 719 | "NAN", |
| 720 | "NAN", |
George Lee | 156e8f1 | 2021-05-24 12:11:48 -0700 | [diff] [blame] | 721 | 9, |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 722 | "NAN", |
| 723 | "NAN" |
| 724 | ], |
| 725 | "VrThreshold":"NAN", |
| 726 | "Multiplier":0.001, |
| 727 | "Monitor":false |
| 728 | }, |
| 729 | { |
| 730 | "Name":"TPU", |
| 731 | "Type":"NPU", |
| 732 | "HotThreshold":[ |
| 733 | "NAN", |
| 734 | "NAN", |
| 735 | "NAN", |
| 736 | "NAN", |
| 737 | "NAN", |
| 738 | "NAN", |
| 739 | 115.0 |
| 740 | ], |
| 741 | "VrThreshold":"NAN", |
| 742 | "Multiplier":0.001 |
| 743 | } |
| 744 | ], |
| 745 | "CoolingDevices":[ |
| 746 | { |
| 747 | "Name":"thermal-cpufreq-0", |
| 748 | "Type":"CPU", |
| 749 | "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote", |
David Chao | b1fa4b7 | 2021-06-04 00:31:32 +0800 | [diff] [blame] | 750 | "State2Power":["428", "368", "320", "244", "220", "184", "156", "116", "80", "56", "24"], |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 751 | "PowerRail":"S4M_VDD_CPUCL0" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 752 | }, |
| 753 | { |
| 754 | "Name":"thermal-cpufreq-1", |
| 755 | "Type":"CPU", |
| 756 | "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote", |
David Chao | b1fa4b7 | 2021-06-04 00:31:32 +0800 | [diff] [blame] | 757 | "State2Power":["904", "740", "594", "476", "374", "314", "236", "192", "156", "126", "90", "58"], |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 758 | "PowerRail":"S3M_VDD_CPUCL1" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 759 | }, |
| 760 | { |
| 761 | "Name":"thermal-cpufreq-2", |
| 762 | "Type":"CPU", |
| 763 | "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", |
David Chao | b1fa4b7 | 2021-06-04 00:31:32 +0800 | [diff] [blame] | 764 | "State2Power":["4406", "3874", "3500", "3052", "2704", "2334", "2176", "1864", "1492", "1362", "1116", "908", "756", "594", "478", "388", "178"], |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 765 | "PowerRail":"S2M_VDD_CPUCL2" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 766 | }, |
| 767 | { |
| 768 | "Name":"thermal-gpufreq-0", |
| 769 | "Type":"GPU", |
| 770 | "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote", |
David Chao | b1fa4b7 | 2021-06-04 00:31:32 +0800 | [diff] [blame] | 771 | "State2Power":["4599", "3727", "3259", "2378", "2044", "1813", "1449", "1223", "1007", "804", "633", "452"], |
TeYuan Wang | dc760c4 | 2021-04-28 16:09:01 +0800 | [diff] [blame] | 772 | "PowerRail":"S2S_VDD_G3D" |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 773 | }, |
| 774 | { |
| 775 | "Name":"fcc", |
| 776 | "Type":"BATTERY" |
| 777 | }, |
| 778 | { |
| 779 | "Name":"dc_icl", |
| 780 | "Type":"BATTERY" |
TeYuan Wang | be01211 | 2021-06-09 11:02:39 +0800 | [diff] [blame] | 781 | }, |
| 782 | { |
| 783 | "Name":"wlc_fcc", |
| 784 | "Type":"BATTERY" |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 785 | } |
| 786 | ] |
| 787 | } |