blob: e21812692356708f8ae4ea601b7992b74592c386 [file] [log] [blame]
Robin Pengcd374d82021-02-23 20:00:46 +08001{
2 "Sensors":[
3 {
4 "Name":"battery",
5 "Type":"BATTERY",
TeYuan Wangc9f35062022-09-20 16:55:07 +08006 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "60.0"],
Robin Pengcd374d82021-02-23 20:00:46 +08007 "Multiplier":0.001
8 },
9 {
Blake Kragtenca7a6332021-04-06 13:33:55 -070010 "Name":"rf1_therm",
11 "Type":"UNKNOWN",
Blake Kragtenca7a6332021-04-06 13:33:55 -070012 "Multiplier":0.001
13 },
14 {
15 "Name":"rf2_therm",
16 "Type":"UNKNOWN",
Blake Kragtenca7a6332021-04-06 13:33:55 -070017 "Multiplier":0.001
18 },
19 {
Robin Pengcd374d82021-02-23 20:00:46 +080020 "Name":"neutral_therm",
21 "Type":"UNKNOWN",
TeYuan Wangdc760c42021-04-28 16:09:01 +080022 "Multiplier":0.001
Robin Pengcd374d82021-02-23 20:00:46 +080023 },
24 {
25 "Name":"gnss_tcxo_therm",
26 "Type":"UNKNOWN",
Robin Pengcd374d82021-02-23 20:00:46 +080027 "Multiplier":0.001
28 },
29 {
30 "Name":"qi_therm",
31 "Type":"UNKNOWN",
Robin Pengcd374d82021-02-23 20:00:46 +080032 "Multiplier":0.001
33 },
34 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +080035 "Name":"usb_pwr_therm",
TeYuan Wangdc760c42021-04-28 16:09:01 +080036 "Type":"UNKNOWN",
TeYuan Wangdc760c42021-04-28 16:09:01 +080037 "Multiplier":0.001
38 },
39 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +080040 "Name":"usb_pwr_therm2",
41 "Type":"UNKNOWN",
TeYuan Wangc9f35062022-09-20 16:55:07 +080042 "HotThreshold":["NAN", "35.0", "NAN","NAN", "NAN", "NAN", "NAN"],
43 "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
TeYuan Wang1b6d9592021-07-09 16:21:33 +080044 "Multiplier":0.001,
45 "PollingDelay":60000,
46 "PassiveDelay":7000
47 },
48 {
TeYuan Wangdc760c42021-04-28 16:09:01 +080049 "Name":"disp_therm",
50 "Type":"UNKNOWN",
TeYuan Wangdc760c42021-04-28 16:09:01 +080051 "Multiplier":0.001
52 },
53 {
54 "Name":"quiet_therm",
55 "Type":"UNKNOWN",
TeYuan Wangc9f35062022-09-20 16:55:07 +080056 "HotThreshold":["NAN", "32.9", "NAN", "NAN", "NAN", "NAN", "NAN"],
57 "HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
TeYuan Wangdc760c42021-04-28 16:09:01 +080058 "Multiplier":0.001,
TeYuan Wangbf198b72021-06-24 23:16:13 +080059 "PollingDelay":60000,
TeYuan Wangdc760c42021-04-28 16:09:01 +080060 "PassiveDelay":7000
61 },
62 {
63 "Name":"VIRTUAL-QI-GNSS",
Robin Pengcd374d82021-02-23 20:00:46 +080064 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080065 "Hidden":true,
Robin Pengcd374d82021-02-23 20:00:46 +080066 "VirtualSensor":true,
67 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +080068 "Combination":["qi_therm", "gnss_tcxo_therm"],
69 "Coefficient":["0.25", "0.75"],
Jia-yi Chen79a3b702021-06-02 14:05:18 -070070 "Offset":-4500,
Robin Pengcd374d82021-02-23 20:00:46 +080071 "Multiplier":0.001
72 },
73 {
Jia-yi Chen941224c2021-09-27 17:53:49 -070074 "Name":"VIRTUAL-QI-QUIET",
75 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080076 "Hidden":true,
Jia-yi Chen941224c2021-09-27 17:53:49 -070077 "VirtualSensor":true,
78 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +080079 "Combination":["qi_therm", "quiet_therm"],
80 "Coefficient":["0.25", "0.75"],
Jia-yi Chen941224c2021-09-27 17:53:49 -070081 "Multiplier":0.001
82 },
83 {
Robin Pengcd374d82021-02-23 20:00:46 +080084 "Name":"VIRTUAL-QI-BATT",
85 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080086 "Hidden":true,
Robin Pengcd374d82021-02-23 20:00:46 +080087 "VirtualSensor":true,
88 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +080089 "Combination":["qi_therm", "battery"],
90 "Coefficient":["0.22", "0.78"],
TeYuan Wangdc760c42021-04-28 16:09:01 +080091 "Offset":-500,
TeYuan Wangdc760c42021-04-28 16:09:01 +080092 "Multiplier":0.001
93 },
94 {
95 "Name":"VIRTUAL-USB2-DISP",
96 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +080097 "Hidden":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +080098 "VirtualSensor":true,
99 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800100 "Combination":["usb_pwr_therm2", "disp_therm"],
101 "Coefficient":["0.16", "0.84"],
TeYuan Wangdc760c42021-04-28 16:09:01 +0800102 "Offset":1500,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800103 "Multiplier":0.001
104 },
105 {
106 "Name":"VIRTUAL-QUIET-BATT",
107 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800108 "Hidden":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800109 "VirtualSensor":true,
110 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800111 "Combination":["quiet_therm", "battery"],
112 "Coefficient":["2.15", "-1.15"],
TeYuan Wangdc760c42021-04-28 16:09:01 +0800113 "Offset":-2000,
Robin Pengcd374d82021-02-23 20:00:46 +0800114 "Multiplier":0.001
115 },
116 {
117 "Name":"VIRTUAL-SKIN",
118 "Type":"SKIN",
119 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800120 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800121 "Formula":"MAXIMUM",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800122 "Combination":["VIRTUAL-QI-GNSS", "VIRTUAL-QI-QUIET", "VIRTUAL-USB2-DISP", "VIRTUAL-QUIET-BATT"],
123 "Coefficient":["1.0", "1.0", "1.0", "1.0"],
124 "HotThreshold":["NAN", "39.0", "43.0", "45.0", "46.5", "52.0", "55.0"],
125 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
Robin Pengcd374d82021-02-23 20:00:46 +0800126 "Multiplier":0.001,
127 "Monitor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800128 "PollingDelay":300000,
Robin Pengcd374d82021-02-23 20:00:46 +0800129 "PassiveDelay":7000,
TeYuan Wangc9f35062022-09-20 16:55:07 +0800130 "BindedCdevInfo": [
131 {
132 "CdevRequest": "tpu_cooling",
133 "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
134 }
135 ]
136 },
137 {
138 "Name":"VIRTUAL-SKIN-HINT",
139 "Type":"UNKNOWN",
140 "Hidden":true,
141 "VirtualSensor":true,
142 "TriggerSensor":"quiet_therm",
143 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700144 "Combination":["VIRTUAL-SKIN"],
145 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800146 "HotThreshold":["NAN", "37.0", "43.0", "45.0", "46.5", "52.0", "55.0"],
147 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
148 "Multiplier":0.001,
149 "SendPowerHint":true,
150 "PollingDelay":300000,
151 "PassiveDelay":7000
152 },
153 {
154 "Name":"VIRTUAL-SKIN-CPU",
155 "Type":"UNKNOWN",
156 "Hidden":true,
157 "VirtualSensor":true,
158 "TriggerSensor":"quiet_therm",
159 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700160 "Combination":["VIRTUAL-SKIN"],
161 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800162 "HotThreshold":["NAN", 37.0, 39.0, 41.0, 46.5, 52.0, 140.0],
163 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
164 "Multiplier":0.001,
165 "PollingDelay":300000,
166 "PassiveDelay":7000,
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800167 "PIDInfo": {
TeYuan Wangc9f35062022-09-20 16:55:07 +0800168 "K_Po":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
169 "K_Pu":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
170 "K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
171 "K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
172 "I_Max":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
173 "S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
174 "MinAllocPower":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
175 "MaxAllocPower":["NAN", "NAN", "NAN", 10000, "NAN", "NAN", "NAN"],
176 "I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800177 },
178 "BindedCdevInfo": [
Robin Pengcd374d82021-02-23 20:00:46 +0800179 {
180 "CdevRequest": "thermal-cpufreq-0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800181 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
182 "MaxReleaseStep": 1,
183 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800184 "BindedPowerRail": "S4M_VDD_CPUCL0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800185 "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
186 "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
Robin Pengcd374d82021-02-23 20:00:46 +0800187 },
188 {
189 "CdevRequest": "thermal-cpufreq-1",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800190 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
191 "MaxReleaseStep": 1,
192 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800193 "BindedPowerRail": "S3M_VDD_CPUCL1",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800194 "CdevCeiling": [11, 11, 11, 11, 11, 13, 13],
195 "LimitInfo": [0, 0, 0, 0, 11, 13, 13]
Robin Pengcd374d82021-02-23 20:00:46 +0800196 },
197 {
198 "CdevRequest": "thermal-cpufreq-2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800199 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
200 "MaxReleaseStep": 1,
201 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800202 "BindedPowerRail": "S2M_VDD_CPUCL2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800203 "CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
204 "LimitInfo": [0, 0, 0, 0, 14, 16, 16]
205 }
206 ]
207 },
208 {
209 "Name":"VIRTUAL-SKIN-CPU-GPU",
210 "Type":"UNKNOWN",
211 "Hidden":true,
212 "VirtualSensor":true,
213 "TriggerSensor":"quiet_therm",
214 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700215 "Combination":["VIRTUAL-SKIN"],
216 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800217 "HotThreshold":["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 140.0],
218 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
219 "Multiplier":0.001,
220 "PollingDelay":300000,
221 "PassiveDelay":7000,
222 "PIDInfo": {
223 "K_Po":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
224 "K_Pu":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
225 "K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
226 "K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
227 "I_Max":["NAN", "NAN", "NAN", 700, "NAN", "NAN", "NAN"],
228 "S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
229 "MinAllocPower":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
230 "MaxAllocPower":["NAN", "NAN", "NAN", 3900, "NAN", "NAN", "NAN"],
231 "I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
232 },
233 "BindedCdevInfo": [
234 {
235 "CdevRequest": "thermal-cpufreq-0",
236 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
237 "MaxReleaseStep": 1,
238 "MaxThrottleStep": 1,
239 "BindedPowerRail": "S4M_VDD_CPUCL0",
240 "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
241 "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
242 },
243 {
244 "CdevRequest": "thermal-cpufreq-1",
245 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
246 "MaxReleaseStep": 1,
247 "MaxThrottleStep": 1,
248 "BindedPowerRail": "S3M_VDD_CPUCL1",
249 "CdevCeiling": [8, 8, 8, 8, 8, 10, 10],
250 "LimitInfo": [0, 0, 0, 0, 8, 10, 10]
251 },
252 {
253 "CdevRequest": "thermal-cpufreq-2",
254 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
255 "MaxReleaseStep": 1,
256 "MaxThrottleStep": 1,
257 "BindedPowerRail": "S2M_VDD_CPUCL2",
258 "CdevCeiling": [14, 14, 14, 14, 14, 16, 16],
259 "LimitInfo": [0, 0, 0, 0, 14, 16, 16]
Robin Pengcd374d82021-02-23 20:00:46 +0800260 },
261 {
262 "CdevRequest": "thermal-gpufreq-0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800263 "CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
264 "MaxReleaseStep": 1,
265 "MaxThrottleStep": 1,
TeYuan Wangfef56f32021-06-11 20:34:25 +0800266 "BindedPowerRail": "S2S_VDD_G3D",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800267 "CdevCeiling": [10, 10, 10, 10, 10, 11, 11],
268 "LimitInfo": [0, 0, 0, 0, 10, 11, 11]
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700269 }
270 ]
271 },
272 {
273 "Name":"VIRTUAL-SKIN-CHARGE",
274 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800275 "Hidden":true,
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700276 "VirtualSensor":true,
277 "TriggerSensor":"quiet_therm",
278 "Formula":"MAXIMUM",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800279 "Combination":["VIRTUAL-QI-GNSS", "VIRTUAL-QI-BATT", "VIRTUAL-USB2-DISP", "VIRTUAL-QUIET-BATT"],
280 "Coefficient":["1.0", "1.0", "1.0", "1.0"],
281 "HotThreshold":["NAN", "39.0", "41.0", "43.0", "45.0", "47.0", "55.0"],
282 "HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700283 "Multiplier":0.001,
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700284 "PollingDelay":300000,
285 "PassiveDelay":7000,
286 "BindedCdevInfo": [
287 {
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800288 "CdevRequest": "fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700289 "LimitInfo": [0, 2, 3, 3, 4, 4, 4],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800290 "BindedPowerRail": "PARTIAL_SYSTEM_POWER",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800291 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700292 "CdevFloorWithPowerLink": [0, 0, 2, 2, 4 ,4 ,4],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800293 "ReleaseLogic": "RELEASE_TO_FLOOR",
294 "ThrottlingWithPowerLink":true
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800295 },
296 {
297 "CdevRequest": "dc_icl",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700298 "LimitInfo": [0, 1, 2, 3, 4, 4, 4],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800299 "BindedPowerRail": "PARTIAL_SYSTEM_POWER",
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700300 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
301 "CdevFloorWithPowerLink": [0, 1, 2, 3, 4, 4, 4],
302 "ReleaseLogic": "RELEASE_TO_FLOOR",
303 "ThrottlingWithPowerLink":true
TeYuan Wangbe012112021-06-09 11:02:39 +0800304 },
305 {
306 "CdevRequest": "wlc_fcc",
Jia-yi Chen4a41faa2021-09-08 16:31:27 -0700307 "LimitInfo": [0, 2, 2, 4, 5, 5, 5],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800308 "BindedPowerRail": "PARTIAL_SYSTEM_POWER",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800309 "PowerThreshold": [500, 500, 500, 500, 0, 0, 0],
Jia-yi Chenec0d4362021-07-15 10:54:25 -0700310 "CdevFloorWithPowerLink": [0, 1, 1, 2, 5, 5, 5],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800311 "ReleaseLogic": "RELEASE_TO_FLOOR",
312 "ThrottlingWithPowerLink":true
Robin Pengcd374d82021-02-23 20:00:46 +0800313 }
314 ]
315 },
316 {
317 "Name":"cellular-emergency",
318 "Type":"POWER_AMPLIFIER",
319 "VirtualSensor":true,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800320 "TriggerSensor":"quiet_therm",
Robin Pengcd374d82021-02-23 20:00:46 +0800321 "Formula":"MAXIMUM",
TeYuan Wangcff140b2023-10-20 11:38:52 -0700322 "Combination":["VIRTUAL-SKIN"],
323 "Coefficient":["1.0"],
TeYuan Wangc9f35062022-09-20 16:55:07 +0800324 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "54.0", "NAN"],
325 "HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
Robin Pengcd374d82021-02-23 20:00:46 +0800326 "Multiplier":0.001,
TeYuan Wangdc760c42021-04-28 16:09:01 +0800327 "Monitor":true,
328 "PollingDelay":300000,
329 "PassiveDelay":7000
Robin Pengcd374d82021-02-23 20:00:46 +0800330 },
331 {
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800332 "Name":"USB2-MINUS-USB",
333 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800334 "Hidden":true,
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800335 "VirtualSensor":true,
336 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800337 "Combination":["usb_pwr_therm2", "usb_pwr_therm"],
338 "Coefficient":["1.0", "-1.0"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800339 "Multiplier":0.001
340 },
341 {
342 "Name":"USB2-MINUS-QI",
343 "Type":"UNKNOWN",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800344 "Hidden":true,
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800345 "VirtualSensor":true,
346 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800347 "Combination":["usb_pwr_therm2", "qi_therm"],
348 "Coefficient":["1.0", "-1.0"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800349 "Multiplier":0.001
350 },
351 {
352 "Name":"VIRTUAL-USB-THROTTLING",
353 "Type":"USB_PORT",
TeYuan Wangb5ddd962022-04-01 18:47:27 +0800354 "Hidden":true,
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800355 "VirtualSensor":true,
356 "Formula":"COUNT_THRESHOLD",
357 "TriggerSensor": "usb_pwr_therm2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800358 "Combination":["usb_pwr_therm2", "USB2-MINUS-USB", "USB2-MINUS-QI"],
359 "Coefficient":["35000", "2000", "10000"],
360 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.0", "NAN", "NAN"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800361 "BindedCdevInfo": [
362 {
363 "CdevRequest": "usbc-port",
364 "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
365 }
366 ],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800367 "Multiplier":1,
368 "PollingDelay":60000,
369 "PassiveDelay":7000
370 },
371 {
372 "Name":"VIRTUAL-USB-UI",
373 "Type":"USB_PORT",
374 "VirtualSensor":true,
375 "Formula":"COUNT_THRESHOLD",
376 "TriggerSensor": "usb_pwr_therm2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800377 "Combination":["usb_pwr_therm2", "USB2-MINUS-USB", "USB2-MINUS-QI"],
378 "Coefficient":["35000", "3000", "12000"],
379 "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800380 "Multiplier":1,
381 "Monitor":true,
382 "PollingDelay":60000,
383 "PassiveDelay":7000
384 },
385 {
Robin Pengcd374d82021-02-23 20:00:46 +0800386 "Name":"LITTLE",
387 "Type":"CPU",
388 "HotThreshold":[
389 "NAN",
390 "NAN",
391 "NAN",
392 "NAN",
393 "NAN",
394 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700395 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800396 ],
397 "VrThreshold":"NAN",
398 "Multiplier":0.001
399 },
400 {
401 "Name":"MID",
402 "Type":"CPU",
403 "HotThreshold":[
404 "NAN",
405 "NAN",
406 "NAN",
407 "NAN",
408 "NAN",
409 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700410 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800411 ],
412 "VrThreshold":"NAN",
413 "Multiplier":0.001
414 },
415 {
TeYuan Wangdc760c42021-04-28 16:09:01 +0800416 "Name":"BIG",
417 "Type":"CPU",
418 "HotThreshold":[
419 "NAN",
420 "NAN",
421 "NAN",
422 "NAN",
423 "NAN",
424 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700425 "NAN"
TeYuan Wangdc760c42021-04-28 16:09:01 +0800426 ],
427 "VrThreshold":"NAN",
428 "Multiplier":0.001
429 },
430 {
Robin Pengcd374d82021-02-23 20:00:46 +0800431 "Name":"G3D",
432 "Type":"GPU",
433 "HotThreshold":[
434 "NAN",
435 "NAN",
436 "NAN",
437 "NAN",
438 "NAN",
439 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700440 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800441 ],
442 "VrThreshold":"NAN",
443 "Multiplier":0.001
444 },
445 {
Robin Pengcd374d82021-02-23 20:00:46 +0800446 "Name":"TPU",
447 "Type":"NPU",
448 "HotThreshold":[
449 "NAN",
450 "NAN",
451 "NAN",
452 "NAN",
453 "NAN",
454 "NAN",
Sayanna Chanduladccb3482022-10-31 11:59:01 -0700455 "NAN"
Robin Pengcd374d82021-02-23 20:00:46 +0800456 ],
457 "VrThreshold":"NAN",
458 "Multiplier":0.001
459 }
460 ],
461 "CoolingDevices":[
462 {
463 "Name":"thermal-cpufreq-0",
464 "Type":"CPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000465 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800466 },
467 {
468 "Name":"thermal-cpufreq-1",
469 "Type":"CPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000470 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800471 },
472 {
473 "Name":"thermal-cpufreq-2",
474 "Type":"CPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000475 "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800476 },
477 {
478 "Name":"thermal-gpufreq-0",
479 "Type":"GPU",
Peter (YM)944eebc2024-08-14 08:46:05 +0000480 "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
TeYuan Wang60d11bc2021-03-30 17:14:52 +0800481 },
482 {
483 "Name":"fcc",
484 "Type":"BATTERY"
485 },
486 {
487 "Name":"dc_icl",
488 "Type":"BATTERY"
TeYuan Wangbe012112021-06-09 11:02:39 +0800489 },
490 {
491 "Name":"wlc_fcc",
492 "Type":"BATTERY"
TeYuan Wang1b6d9592021-07-09 16:21:33 +0800493 },
494 {
495 "Name":"usbc-port",
496 "Type":"BATTERY"
TeYuan Wang3f4c1162021-08-06 16:11:16 +0800497 },
498 {
499 "Name":"tpu_cooling",
500 "Type":"NPU",
501 "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
Robin Pengcd374d82021-02-23 20:00:46 +0800502 }
TeYuan Wangfef56f32021-06-11 20:34:25 +0800503 ],
504 "PowerRails":[
505 {
506 "Name":"PPVAR_VSYS_PWR_DISP"
507 },
508 {
509 "Name":"VSYS_PWR_MODEM"
510 },
511 {
512 "Name":"S2M_VDD_CPUCL2",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800513 "PowerSampleDelay":7000,
514 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800515
516 },
517 {
518 "Name":"S3M_VDD_CPUCL1",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800519 "PowerSampleDelay":7000,
520 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800521 },
522 {
523 "Name":"S4M_VDD_CPUCL0",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800524 "PowerSampleDelay":7000,
525 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800526 },
527 {
528 "Name":"S5M_VDD_INT"
529 },
530 {
YiHo Cheng1a261f82021-07-12 19:58:52 +0800531 "Name":"S1M_VDD_MIF"
TeYuan Wangfef56f32021-06-11 20:34:25 +0800532 },
533 {
534 "Name":"S2S_VDD_G3D",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800535 "PowerSampleDelay":7000,
536 "PowerSampleCount":1
TeYuan Wangfef56f32021-06-11 20:34:25 +0800537 },
538 {
TeYuan Wangc9f35062022-09-20 16:55:07 +0800539 "Name":"PARTIAL_SYSTEM_POWER",
TeYuan Wangfef56f32021-06-11 20:34:25 +0800540 "VirtualRails":true,
541 "Formula":"WEIGHTED_AVG",
TeYuan Wangc9f35062022-09-20 16:55:07 +0800542 "Combination":["VSYS_PWR_MODEM", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S1M_VDD_MIF", "S2S_VDD_G3D"],
543 "Coefficient":["1.0", "1.0", "1.0", "1.0", "1.0", "1.0", "1.0"],
TeYuan Wangfef56f32021-06-11 20:34:25 +0800544 "PowerSampleDelay":14000,
545 "PowerSampleCount":5
546 }
sashwinbalaji36828502023-02-21 09:41:40 +0800547 ],
548 "Stats": {
549 "Sensors": {
550 "RecordWithDefaultThreshold": ["VIRTUAL-SKIN"],
551 "RecordWithThreshold": [
552 {
553 "Name": "VIRTUAL-QI-GNSS",
554 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
555 },
556 {
557 "Name": "VIRTUAL-QI-QUIET",
558 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
559 },
560 {
561 "Name": "VIRTUAL-QI-BATT",
562 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
563 },
564 {
565 "Name": "VIRTUAL-USB2-DISP",
566 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
567 },
568 {
569 "Name": "VIRTUAL-QUIET-BATT",
570 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
571 },
572 {
573 "Name": "VIRTUAL-SKIN",
574 "Thresholds": [31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51]
575 },
576 {
577 "Name": "VIRTUAL-USB-THROTTLING",
578 "Thresholds": [3.0]
579 }
580 ]
581 },
582 "CoolingDevices": {
583 "RecordVotePerSensor": {
584 "DefaultThresholdEnableAll": true
585 }
586 }
587 }
Robin Pengcd374d82021-02-23 20:00:46 +0800588}