blob: 694ea2a0b684d0f0029d4084c369db9a4440015b [file] [log] [blame]
Hank Lioubf5dffe2019-05-24 10:27:08 +08001{
2 "sensors" : [
3 {
4 "name": "Fan0_0_RPM",
5 "type": "fan",
Hank Liouccd46572019-07-09 09:35:18 +08006 "readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan1_input",
Hank Lioubf5dffe2019-05-24 10:27:08 +08007 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
8 "min": 0,
9 "max": 255
10 },
11 {
12 "name": "Fan0_1_RPM",
13 "type": "fan",
Hank Liouccd46572019-07-09 09:35:18 +080014 "readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan2_input",
Hank Lioubf5dffe2019-05-24 10:27:08 +080015 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
16 "min": 0,
17 "max": 255
18 },
19 {
20 "name": "Fan1_0_RPM",
21 "type": "fan",
Hank Liouccd46572019-07-09 09:35:18 +080022 "readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan3_input",
Hank Lioubf5dffe2019-05-24 10:27:08 +080023 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
24 "min": 0,
25 "max": 255
26 },
27 {
28 "name": "Fan1_1_RPM",
29 "type": "fan",
Hank Liouccd46572019-07-09 09:35:18 +080030 "readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan4_input",
Hank Lioubf5dffe2019-05-24 10:27:08 +080031 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
32 "min": 0,
33 "max": 255
34 },
35 {
36 "name": "Fan2_0_RPM",
37 "type": "fan",
Hank Liouccd46572019-07-09 09:35:18 +080038 "readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan5_input",
Hank Lioubf5dffe2019-05-24 10:27:08 +080039 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
40 "min": 0,
41 "max": 255
42 },
43 {
44 "name": "Fan2_1_RPM",
45 "type": "fan",
Hank Liouccd46572019-07-09 09:35:18 +080046 "readPath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/fan6_input",
Hank Lioubf5dffe2019-05-24 10:27:08 +080047 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
48 "min": 0,
49 "max": 255
50 },
51 {
52 "name": "KL0",
53 "type": "temp",
54 "readPath": "/xyz/openbmc_project/sensors/temperature/KL0",
55 "writePath": "",
56 "min": 0,
57 "max": 0,
Hank Lioua21cf332019-09-16 16:25:40 +080058 "ignoreDbusMinMax": true,
Hank Lioubf5dffe2019-05-24 10:27:08 +080059 "timeout": 0
60 },
61 {
62 "name": "nvme0",
63 "type": "temp",
64 "readPath": "/xyz/openbmc_project/sensors/temperature/nvme0",
65 "writePath": "",
66 "min": 0,
67 "max": 0,
Hank Lioua21cf332019-09-16 16:25:40 +080068 "ignoreDbusMinMax": true,
Hank Lioubf5dffe2019-05-24 10:27:08 +080069 "timeout": 0
70 },
71 {
72 "name": "nvme1",
73 "type": "temp",
74 "readPath": "/xyz/openbmc_project/sensors/temperature/nvme1",
75 "writePath": "",
76 "min": 0,
77 "max": 0,
Hank Lioua21cf332019-09-16 16:25:40 +080078 "ignoreDbusMinMax": true,
Hank Lioubf5dffe2019-05-24 10:27:08 +080079 "timeout": 0
80 }
81 ],
82 "zones" : [
83 {
84 "id": 0,
85 "minThermalOutput": 0.0,
86 "failsafePercent": 100.0,
87 "pids": [
88 {
89 "name": "Fan0_0_RPM",
90 "type": "fan",
91 "inputs": ["Fan0_0_RPM"],
92 "setpoint": 65.0,
93 "pid": {
94 "samplePeriod": 1.0,
95 "proportionalCoeff": 0.0,
96 "integralCoeff": 0.0,
97 "feedFwdOffsetCoeff": 0.0,
98 "feedFwdGainCoeff": 1.0,
99 "integralLimit_min": 0.0,
100 "integralLimit_max": 0.0,
101 "outLim_min": 3.0,
102 "outLim_max": 100.0,
103 "slewNeg": 0.0,
104 "slewPos": 0.0
105 }
106 },
107 {
108 "name": "Fan0_1_RPM",
109 "type": "fan",
110 "inputs": ["Fan0_1_RPM"],
111 "setpoint": 65.0,
112 "pid": {
113 "samplePeriod": 1.0,
114 "proportionalCoeff": 0.0,
115 "integralCoeff": 0.0,
116 "feedFwdOffsetCoeff": 0.0,
117 "feedFwdGainCoeff": 1.0,
118 "integralLimit_min": 0.0,
119 "integralLimit_max": 0.0,
120 "outLim_min": 3.0,
121 "outLim_max": 100.0,
122 "slewNeg": 0.0,
123 "slewPos": 0.0
124 }
125 },
126 {
127 "name": "Fan1_0_RPM",
128 "type": "fan",
129 "inputs": ["Fan1_0_RPM"],
130 "setpoint": 65.0,
131 "pid": {
132 "samplePeriod": 1.0,
133 "proportionalCoeff": 0.0,
134 "integralCoeff": 0.0,
135 "feedFwdOffsetCoeff": 0.0,
136 "feedFwdGainCoeff": 1.0,
137 "integralLimit_min": 0.0,
138 "integralLimit_max": 0.0,
139 "outLim_min": 3.0,
140 "outLim_max": 100.0,
141 "slewNeg": 0.0,
142 "slewPos": 0.0
143 }
144 },
145 {
146 "name": "Fan1_1_RPM",
147 "type": "fan",
148 "inputs": ["Fan1_1_RPM"],
149 "setpoint": 65.0,
150 "pid": {
151 "samplePeriod": 1.0,
152 "proportionalCoeff": 0.0,
153 "integralCoeff": 0.0,
154 "feedFwdOffsetCoeff": 0.0,
155 "feedFwdGainCoeff": 1.0,
156 "integralLimit_min": 0.0,
157 "integralLimit_max": 0.0,
158 "outLim_min": 3.0,
159 "outLim_max": 100.0,
160 "slewNeg": 0.0,
161 "slewPos": 0.0
162 }
163 },
164 {
165 "name": "Fan2_0_RPM",
166 "type": "fan",
167 "inputs": ["Fan2_0_RPM"],
168 "setpoint": 65.0,
169 "pid": {
170 "samplePeriod": 1.0,
171 "proportionalCoeff": 0.0,
172 "integralCoeff": 0.0,
173 "feedFwdOffsetCoeff": 0.0,
174 "feedFwdGainCoeff": 1.0,
175 "integralLimit_min": 0.0,
176 "integralLimit_max": 0.0,
177 "outLim_min": 3.0,
178 "outLim_max": 100.0,
179 "slewNeg": 0.0,
180 "slewPos": 0.0
181 }
182 },
183 {
184 "name": "Fan2_1_RPM",
185 "type": "fan",
186 "inputs": ["Fan2_1_RPM"],
187 "setpoint": 65.0,
188 "pid": {
189 "samplePeriod": 1.0,
190 "proportionalCoeff": 0.0,
191 "integralCoeff": 0.0,
192 "feedFwdOffsetCoeff": 0.0,
193 "feedFwdGainCoeff": 1.0,
194 "integralLimit_min": 0.0,
195 "integralLimit_max": 0.0,
196 "outLim_min": 3.0,
197 "outLim_max": 100.0,
198 "slewNeg": 0.0,
199 "slewPos": 0.0
200 }
201 },
202 {
203 "name": "nvme0",
204 "type": "temp",
205 "inputs": ["nvme0"],
206 "setpoint": 65.0,
207 "pid": {
208 "samplePeriod": 1.0,
209 "proportionalCoeff": -20.0,
210 "integralCoeff": -0.1,
211 "feedFwdOffsetCoeff": 0.0,
212 "feedFwdGainCoeff": 0.0,
213 "integralLimit_min": 0.0,
214 "integralLimit_max": 0.0,
215 "outLim_min": 0.0,
216 "outLim_max": 16000.0,
217 "slewNeg": 0.0,
218 "slewPos": 0.0,
219 "positiveHysteresis": 1.0,
220 "negativeHysteresis": 1.0
221 }
222 },
223 {
224 "name": "nvme1",
225 "type": "temp",
226 "inputs": ["nvme1"],
227 "setpoint": 65.0,
228 "pid": {
229 "samplePeriod": 1.0,
230 "proportionalCoeff": -20.0,
231 "integralCoeff": -0.1,
232 "feedFwdOffsetCoeff": 0.0,
233 "feedFwdGainCoeff": 0.0,
234 "integralLimit_min": 0.0,
235 "integralLimit_max": 0.0,
236 "outLim_min": 0.0,
237 "outLim_max": 16000.0,
238 "slewNeg": 0.0,
239 "slewPos": 0.0,
240 "positiveHysteresis": 1.0,
241 "negativeHysteresis": 1.0
242 }
243 },
244 {
245 "name": "KL0",
246 "type": "stepwise",
247 "inputs": ["KL0"],
248 "setpoint": 30.0,
249 "pid": {
250 "samplePeriod": 1.0,
251 "positiveHysteresis": 0.0,
252 "negativeHysteresis": 0.0,
253 "isCeiling": false,
254 "reading": {
255 "0": 25,
256 "1": 26,
257 "2": 27,
258 "3": 28,
259 "4": 29,
260 "5": 30,
261 "6": 31,
262 "7": 32,
263 "8": 33,
264 "9": 34,
265 "10": 35,
266 "11": 36,
267 "12": 37,
268 "13": 38,
269 "14": 39,
270 "15": 40,
271 "16": 42,
272 "17": 44,
273 "18": 45,
274 "19": 50
275 },
276 "output": {
277 "0": 10,
278 "1": 10,
279 "2": 10,
280 "3": 10,
281 "4": 10,
282 "5": 10,
283 "6": 20,
284 "7": 30,
285 "8": 40,
286 "9": 50,
287 "10": 60,
288 "11": 73,
289 "12": 76,
290 "13": 79,
291 "14": 82,
292 "15": 86,
293 "16": 90,
294 "17": 90,
295 "18": 100,
296 "19": 100
297 }
298 }
299 },
300 {
301 "name": "nvme00",
302 "type": "stepwise",
303 "inputs": ["nvme0"],
304 "setpoint": 30.0,
305 "pid": {
306 "samplePeriod": 1.0,
307 "positiveHysteresis": 1.0,
308 "negativeHysteresis": 1.0,
309 "isCeiling": false,
310 "reading": {
311 "0": 45,
312 "1": 46,
313 "2": 47,
314 "3": 48,
315 "4": 49,
316 "5": 50,
317 "6": 51,
318 "7": 52,
319 "8": 53,
320 "9": 54,
321 "10": 55,
322 "11": 56,
323 "12": 57,
324 "13": 58,
325 "14": 59,
326 "15": 60,
327 "16": 61,
328 "17": 62,
329 "18": 63,
330 "19": 64
331 },
332 "output": {
333 "0": 5,
334 "1": 5,
335 "2": 5,
336 "3": 6,
337 "4": 6,
338 "5": 7,
339 "6": 7,
340 "7": 8,
341 "8": 10,
342 "9": 12,
343 "10": 14,
344 "11": 16,
345 "12": 18,
346 "13": 20,
347 "14": 21,
348 "15": 21,
349 "16": 22,
350 "17": 22,
351 "18": 25,
352 "19": 25
353 }
354 }
355 },
356 {
357 "name": "nvme10",
358 "type": "stepwise",
359 "inputs": ["nvme1"],
360 "setpoint": 30.0,
361 "pid": {
362 "samplePeriod": 1.0,
363 "positiveHysteresis": 1.0,
364 "negativeHysteresis": 1.0,
365 "isCeiling": false,
366 "reading": {
367 "0": 45,
368 "1": 46,
369 "2": 47,
370 "3": 48,
371 "4": 49,
372 "5": 50,
373 "6": 51,
374 "7": 52,
375 "8": 53,
376 "9": 54,
377 "10": 55,
378 "11": 56,
379 "12": 57,
380 "13": 58,
381 "14": 59,
382 "15": 60,
383 "16": 61,
384 "17": 62,
385 "18": 63,
386 "19": 64
387 },
388 "output": {
389 "0": 5,
390 "1": 5,
391 "2": 5,
392 "3": 6,
393 "4": 6,
394 "5": 7,
395 "6": 7,
396 "7": 8,
397 "8": 10,
398 "9": 12,
399 "10": 14,
400 "11": 16,
401 "12": 18,
402 "13": 20,
403 "14": 21,
404 "15": 21,
405 "16": 22,
406 "17": 22,
407 "18": 25,
408 "19": 25
409 }
410 }
411 }
412 ]
413 }
414 ]
415}