George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 1 | { |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 2 | "version" : "R01", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 3 | "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 Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 21 | "name": "fb_fan0", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 22 | "type": "fan", |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 23 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fb_fan0", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 24 | "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 Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 29 | "name": "fb_fan1", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 30 | "type": "fan", |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 31 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fb_fan1", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 32 | "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 Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 37 | "name": "fb_fan2", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 38 | "type": "fan", |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 39 | "readPath": "/xyz/openbmc_project/sensors/fan_tach/fb_fan2", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 40 | "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 Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 65 | "name": "cputemp", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 66 | "type": "margin", |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 67 | "readPath": "/xyz/openbmc_project/extsensors/margin/cputemp", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 68 | "writePath": "", |
| 69 | "min": 0, |
| 70 | "max": 0, |
| 71 | "ignoreDbusMinMax": true, |
| 72 | "timeout": 0 |
| 73 | }, |
| 74 | { |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 75 | "name": "zone0_vr", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 76 | "type": "margin", |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 77 | "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 Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 98 | "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 Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 124 | "outLim_min": 10.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 125 | "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 Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 143 | "outLim_min": 10.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 144 | "outLim_max": 100.0, |
| 145 | "slewNeg": 0.0, |
| 146 | "slewPos": 0.0 |
| 147 | } |
| 148 | }, |
| 149 | { |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 150 | "name": "cputemp", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 151 | "type": "margin", |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 152 | "inputs": ["cputemp"], |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 153 | "setpoint": 10.0, |
| 154 | "pid": { |
| 155 | "samplePeriod": 1.0, |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 156 | "proportionalCoeff": 714.0, |
| 157 | "integralCoeff": 18.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 158 | "feedFwdOffsetCoeff": 0.0, |
| 159 | "feedFwdGainCoeff": 0.0, |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 160 | "integralLimit_min": 1786.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 161 | "integralLimit_max": 18000.0, |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 162 | "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 Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 226 | "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 Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 241 | "name": "fb_fan0", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 242 | "type": "fan", |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 243 | "inputs": ["fb_fan0"], |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 244 | "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 Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 253 | "outLim_min": 10.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 254 | "outLim_max": 100.0, |
| 255 | "slewNeg": 0.0, |
| 256 | "slewPos": 0.0 |
| 257 | } |
| 258 | }, |
| 259 | { |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 260 | "name": "fb_fan1", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 261 | "type": "fan", |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 262 | "inputs": ["fb_fan1"], |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 263 | "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 Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 272 | "outLim_min": 10.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 273 | "outLim_max": 100.0, |
| 274 | "slewNeg": 0.0, |
| 275 | "slewPos": 0.0 |
| 276 | } |
| 277 | }, |
| 278 | { |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 279 | "name": "fb_fan2", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 280 | "type": "fan", |
George Hung | 43bbb29 | 2020-07-16 13:47:14 +0800 | [diff] [blame] | 281 | "inputs": ["fb_fan2"], |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 282 | "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 Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 291 | "outLim_min": 10.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 292 | "outLim_max": 100.0, |
| 293 | "slewNeg": 0.0, |
| 294 | "slewPos": 0.0 |
| 295 | } |
| 296 | }, |
| 297 | { |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 298 | "name": "nvme", |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 299 | "type": "margin", |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 300 | "inputs": ["nvme"], |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 301 | "setpoint": 10.0, |
| 302 | "pid": { |
| 303 | "samplePeriod": 1.0, |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 304 | "proportionalCoeff": 1786.0, |
| 305 | "integralCoeff": 36.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 306 | "feedFwdOffsetCoeff": 0.0, |
| 307 | "feedFwdGainCoeff": 0.0, |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 308 | "integralLimit_min": 1786.0, |
George Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 309 | "integralLimit_max": 18000.0, |
George Hung | 52b5953 | 2020-10-06 14:39:18 +0800 | [diff] [blame^] | 310 | "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 Hung | b67a01a | 2020-06-30 10:47:30 +0800 | [diff] [blame] | 332 | "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 | } |