blob: 5a4cd1b233918372adb52c87672df71ed1577bfd [file] [log] [blame]
George Hungb67a01a2020-06-30 10:47:30 +08001{
George Hung52b59532020-10-06 14:39:18 +08002 "version" : "R01",
George Hungb67a01a2020-06-30 10:47:30 +08003 "sensors" : [
4 {
5 "name": "fan0",
6 "type": "fan",
7 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan0",
8 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/Fan_0_To_4_Hwmon/pwm1",
9 "min": 0,
10 "max": 255
11 },
12 {
13 "name": "fan1",
14 "type": "fan",
15 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan1",
16 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/Fan_0_To_4_Hwmon/pwm2",
17 "min": 0,
18 "max": 255
19 },
20 {
George Hung43bbb292020-07-16 13:47:14 +080021 "name": "fb_fan0",
George Hungb67a01a2020-06-30 10:47:30 +080022 "type": "fan",
George Hung43bbb292020-07-16 13:47:14 +080023 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fb_fan0",
George Hungb67a01a2020-06-30 10:47:30 +080024 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/Fan_0_To_4_Hwmon/pwm3",
25 "min": 0,
26 "max": 255
27 },
28 {
George Hung43bbb292020-07-16 13:47:14 +080029 "name": "fb_fan1",
George Hungb67a01a2020-06-30 10:47:30 +080030 "type": "fan",
George Hung43bbb292020-07-16 13:47:14 +080031 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fb_fan1",
George Hungb67a01a2020-06-30 10:47:30 +080032 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/Fan_0_To_4_Hwmon/pwm4",
33 "min": 0,
34 "max": 255
35 },
36 {
George Hung43bbb292020-07-16 13:47:14 +080037 "name": "fb_fan2",
George Hungb67a01a2020-06-30 10:47:30 +080038 "type": "fan",
George Hung43bbb292020-07-16 13:47:14 +080039 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fb_fan2",
George Hungb67a01a2020-06-30 10:47:30 +080040 "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/Fan_0_To_4_Hwmon/pwm5",
41 "min": 0,
42 "max": 255
43 },
44 {
45 "name": "fleeting0",
46 "type": "margin",
47 "readPath": "/xyz/openbmc_project/extsensors/margin/fleeting0",
48 "writePath": "",
49 "min": 0,
50 "max": 0,
51 "ignoreDbusMinMax": true,
52 "timeout": 0
53 },
54 {
55 "name": "fleeting1",
56 "type": "margin",
57 "readPath": "/xyz/openbmc_project/extsensors/margin/fleeting1",
58 "writePath": "",
59 "min": 0,
60 "max": 0,
61 "ignoreDbusMinMax": true,
62 "timeout": 0
63 },
64 {
George Hung52b59532020-10-06 14:39:18 +080065 "name": "cputemp",
George Hungb67a01a2020-06-30 10:47:30 +080066 "type": "margin",
George Hung52b59532020-10-06 14:39:18 +080067 "readPath": "/xyz/openbmc_project/extsensors/margin/cputemp",
George Hungb67a01a2020-06-30 10:47:30 +080068 "writePath": "",
69 "min": 0,
70 "max": 0,
71 "ignoreDbusMinMax": true,
72 "timeout": 0
73 },
74 {
George Hung52b59532020-10-06 14:39:18 +080075 "name": "zone0_vr",
George Hungb67a01a2020-06-30 10:47:30 +080076 "type": "margin",
George Hung52b59532020-10-06 14:39:18 +080077 "readPath": "/xyz/openbmc_project/extsensors/margin/zone0_vr",
78 "writePath": "",
79 "min": 0,
80 "max": 0,
81 "ignoreDbusMinMax": true,
82 "timeout": 0
83 },
84 {
85 "name": "nvme",
86 "type": "margin",
87 "readPath": "/xyz/openbmc_project/extsensors/margin/nvme",
88 "writePath": "",
89 "min": 0,
90 "max": 0,
91 "ignoreDbusMinMax": true,
92 "timeout": 0
93 },
94 {
95 "name": "p12v_fan",
96 "type": "margin",
97 "readPath": "/xyz/openbmc_project/extsensors/margin/p12v_fan",
George Hungb67a01a2020-06-30 10:47:30 +080098 "writePath": "",
99 "min": 0,
100 "max": 0,
101 "ignoreDbusMinMax": true,
102 "timeout": 0
103 }
104 ],
105 "zones" : [
106 {
107 "id": 0,
108 "minThermalOutput": 0.0,
109 "failsafePercent": 100.0,
110 "pids": [
111 {
112 "name": "fan0",
113 "type": "fan",
114 "inputs": ["fan0"],
115 "setpoint": 0.0,
116 "pid": {
117 "samplePeriod": 0.1,
118 "proportionalCoeff": 0.0,
119 "integralCoeff": 0.0,
120 "feedFwdOffsetCoeff": 0.0,
121 "feedFwdGainCoeff": 0.0056,
122 "integralLimit_min": 0.0,
123 "integralLimit_max": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800124 "outLim_min": 10.0,
George Hungb67a01a2020-06-30 10:47:30 +0800125 "outLim_max": 100.0,
126 "slewNeg": 0.0,
127 "slewPos": 0.0
128 }
129 },
130 {
131 "name": "fan1",
132 "type": "fan",
133 "inputs": ["fan1"],
134 "setpoint": 0.0,
135 "pid": {
136 "samplePeriod": 0.1,
137 "proportionalCoeff": 0.0,
138 "integralCoeff": 0.0,
139 "feedFwdOffsetCoeff": 0.0,
140 "feedFwdGainCoeff": 0.0056,
141 "integralLimit_min": 0.0,
142 "integralLimit_max": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800143 "outLim_min": 10.0,
George Hungb67a01a2020-06-30 10:47:30 +0800144 "outLim_max": 100.0,
145 "slewNeg": 0.0,
146 "slewPos": 0.0
147 }
148 },
149 {
George Hung52b59532020-10-06 14:39:18 +0800150 "name": "cputemp",
George Hungb67a01a2020-06-30 10:47:30 +0800151 "type": "margin",
George Hung52b59532020-10-06 14:39:18 +0800152 "inputs": ["cputemp"],
George Hungb67a01a2020-06-30 10:47:30 +0800153 "setpoint": 10.0,
154 "pid": {
155 "samplePeriod": 1.0,
George Hung52b59532020-10-06 14:39:18 +0800156 "proportionalCoeff": 714.0,
157 "integralCoeff": 18.0,
George Hungb67a01a2020-06-30 10:47:30 +0800158 "feedFwdOffsetCoeff": 0.0,
159 "feedFwdGainCoeff": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800160 "integralLimit_min": 1786.0,
George Hungb67a01a2020-06-30 10:47:30 +0800161 "integralLimit_max": 18000.0,
George Hung52b59532020-10-06 14:39:18 +0800162 "outLim_min": 1786.0,
163 "outLim_max": 18000.0,
164 "slewNeg": 0.0,
165 "slewPos": 0.0,
166 "positiveHysteresis": 0.0,
167 "negativeHysteresis": 0.0
168 }
169 },
170 {
171 "name": "zone0_vr",
172 "type": "margin",
173 "inputs": ["zone0_vr"],
174 "setpoint": 10.0,
175 "pid": {
176 "samplePeriod": 1.0,
177 "proportionalCoeff": 536.0,
178 "integralCoeff": 9.0,
179 "feedFwdOffsetCoeff": 0.0,
180 "feedFwdGainCoeff": 0.0,
181 "integralLimit_min": 1786.0,
182 "integralLimit_max": 18000.0,
183 "outLim_min": 1786.0,
184 "outLim_max": 18000.0,
185 "slewNeg": 0.0,
186 "slewPos": 0.0,
187 "positiveHysteresis": 0.0,
188 "negativeHysteresis": 0.0
189 }
190 },
191 {
192 "name": "fleeting0",
193 "type": "margin",
194 "inputs": ["fleeting0"],
195 "setpoint": 10.0,
196 "pid": {
197 "samplePeriod": 1.0,
198 "proportionalCoeff": 536.0,
199 "integralCoeff": 9.0,
200 "feedFwdOffsetCoeff": 0.0,
201 "feedFwdGainCoeff": 0.0,
202 "integralLimit_min": 1786.0,
203 "integralLimit_max": 18000.0,
204 "outLim_min": 1786.0,
205 "outLim_max": 18000.0,
206 "slewNeg": 0.0,
207 "slewPos": 0.0,
208 "positiveHysteresis": 0.0,
209 "negativeHysteresis": 0.0
210 }
211 },
212 {
213 "name": "fleeting1",
214 "type": "margin",
215 "inputs": ["fleeting1"],
216 "setpoint": 10.0,
217 "pid": {
218 "samplePeriod": 1.0,
219 "proportionalCoeff": 536.0,
220 "integralCoeff": 18.0,
221 "feedFwdOffsetCoeff": 0.0,
222 "feedFwdGainCoeff": 0.0,
223 "integralLimit_min": 1786.0,
224 "integralLimit_max": 18000.0,
225 "outLim_min": 1786.0,
George Hungb67a01a2020-06-30 10:47:30 +0800226 "outLim_max": 18000.0,
227 "slewNeg": 0.0,
228 "slewPos": 0.0,
229 "positiveHysteresis": 0.0,
230 "negativeHysteresis": 0.0
231 }
232 }
233 ]
234 },
235 {
236 "id": 1,
237 "minThermalOutput": 0.0,
238 "failsafePercent": 100.0,
239 "pids": [
240 {
George Hung43bbb292020-07-16 13:47:14 +0800241 "name": "fb_fan0",
George Hungb67a01a2020-06-30 10:47:30 +0800242 "type": "fan",
George Hung43bbb292020-07-16 13:47:14 +0800243 "inputs": ["fb_fan0"],
George Hungb67a01a2020-06-30 10:47:30 +0800244 "setpoint": 0.0,
245 "pid": {
246 "samplePeriod": 0.1,
247 "proportionalCoeff": 0.0,
248 "integralCoeff": 0.0,
249 "feedFwdOffsetCoeff": 0.0,
250 "feedFwdGainCoeff": 0.0056,
251 "integralLimit_min": 0.0,
252 "integralLimit_max": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800253 "outLim_min": 10.0,
George Hungb67a01a2020-06-30 10:47:30 +0800254 "outLim_max": 100.0,
255 "slewNeg": 0.0,
256 "slewPos": 0.0
257 }
258 },
259 {
George Hung43bbb292020-07-16 13:47:14 +0800260 "name": "fb_fan1",
George Hungb67a01a2020-06-30 10:47:30 +0800261 "type": "fan",
George Hung43bbb292020-07-16 13:47:14 +0800262 "inputs": ["fb_fan1"],
George Hungb67a01a2020-06-30 10:47:30 +0800263 "setpoint": 0.0,
264 "pid": {
265 "samplePeriod": 0.1,
266 "proportionalCoeff": 0.0,
267 "integralCoeff": 0.0,
268 "feedFwdOffsetCoeff": 0.0,
269 "feedFwdGainCoeff": 0.0056,
270 "integralLimit_min": 0.0,
271 "integralLimit_max": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800272 "outLim_min": 10.0,
George Hungb67a01a2020-06-30 10:47:30 +0800273 "outLim_max": 100.0,
274 "slewNeg": 0.0,
275 "slewPos": 0.0
276 }
277 },
278 {
George Hung43bbb292020-07-16 13:47:14 +0800279 "name": "fb_fan2",
George Hungb67a01a2020-06-30 10:47:30 +0800280 "type": "fan",
George Hung43bbb292020-07-16 13:47:14 +0800281 "inputs": ["fb_fan2"],
George Hungb67a01a2020-06-30 10:47:30 +0800282 "setpoint": 0.0,
283 "pid": {
284 "samplePeriod": 0.1,
285 "proportionalCoeff": 0.0,
286 "integralCoeff": 0.0,
287 "feedFwdOffsetCoeff": 0.0,
288 "feedFwdGainCoeff": 0.0056,
289 "integralLimit_min": 0.0,
290 "integralLimit_max": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800291 "outLim_min": 10.0,
George Hungb67a01a2020-06-30 10:47:30 +0800292 "outLim_max": 100.0,
293 "slewNeg": 0.0,
294 "slewPos": 0.0
295 }
296 },
297 {
George Hung52b59532020-10-06 14:39:18 +0800298 "name": "nvme",
George Hungb67a01a2020-06-30 10:47:30 +0800299 "type": "margin",
George Hung52b59532020-10-06 14:39:18 +0800300 "inputs": ["nvme"],
George Hungb67a01a2020-06-30 10:47:30 +0800301 "setpoint": 10.0,
302 "pid": {
303 "samplePeriod": 1.0,
George Hung52b59532020-10-06 14:39:18 +0800304 "proportionalCoeff": 1786.0,
305 "integralCoeff": 36.0,
George Hungb67a01a2020-06-30 10:47:30 +0800306 "feedFwdOffsetCoeff": 0.0,
307 "feedFwdGainCoeff": 0.0,
George Hung52b59532020-10-06 14:39:18 +0800308 "integralLimit_min": 1786.0,
George Hungb67a01a2020-06-30 10:47:30 +0800309 "integralLimit_max": 18000.0,
George Hung52b59532020-10-06 14:39:18 +0800310 "outLim_min": 1786.0,
311 "outLim_max": 18000.0,
312 "slewNeg": 0.0,
313 "slewPos": 0.0,
314 "positiveHysteresis": 0.0,
315 "negativeHysteresis": 0.0
316 }
317 },
318 {
319 "name": "p12v_fan",
320 "type": "margin",
321 "inputs": ["p12v_fan"],
322 "setpoint": 10.0,
323 "pid": {
324 "samplePeriod": 1.0,
325 "proportionalCoeff": 268.0,
326 "integralCoeff": 4.0,
327 "feedFwdOffsetCoeff": 0.0,
328 "feedFwdGainCoeff": 0.0,
329 "integralLimit_min": 1786.0,
330 "integralLimit_max": 18000.0,
331 "outLim_min": 1786.0,
George Hungb67a01a2020-06-30 10:47:30 +0800332 "outLim_max": 18000.0,
333 "slewNeg": 0.0,
334 "slewPos": 0.0,
335 "positiveHysteresis": 0.0,
336 "negativeHysteresis": 0.0
337 }
338 }
339 ]
340 }
341 ]
342}