blob: 77e5cf9c525752cebe16bfec7599f592c1e1dd0f [file] [log] [blame]
Patrick Ventureba8ffa72019-02-11 12:03:56 -08001{
Patrick Williams217a8272022-12-08 06:13:07 -06002 "sensors": [
Patrick Ventureba8ffa72019-02-11 12:03:56 -08003 {
4 "name": "fan1",
5 "type": "fan",
6 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan1",
7 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm1",
8 "min": 0,
9 "max": 255
10 },
11 {
12 "name": "fan2",
13 "type": "fan",
14 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan2",
15 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm2",
16 "min": 0,
17 "max": 255
18 },
19 {
20 "name": "fan3",
21 "type": "fan",
22 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan3",
23 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm3",
24 "min": 0,
25 "max": 255
26 },
27 {
28 "name": "fan4",
29 "type": "fan",
30 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan4",
31 "writePath": "/sys/devices/platform/ahb/ahb:apb/1e786000.pwm-tacho-controller/hwmon/**/pwm4",
32 "min": 0,
33 "max": 255
34 },
35 {
36 "name": "fan5",
37 "type": "fan",
38 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan5"
39 },
40 {
41 "name": "fan6",
42 "type": "fan",
43 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan6"
44 },
45 {
46 "name": "fan7",
47 "type": "fan",
48 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan7"
49 },
50 {
51 "name": "fan8",
52 "type": "fan",
53 "readPath": "/xyz/openbmc_project/sensors/fan_tach/fan8"
54 },
55 {
56 "name": "fleeting0",
57 "type": "margin",
58 "readPath": "/xyz/openbmc_project/extsensors/margin/fleeting0",
59 "timeout": 4
60 }
61 ],
Patrick Williams217a8272022-12-08 06:13:07 -060062 "zones": [
Patrick Ventureba8ffa72019-02-11 12:03:56 -080063 {
64 "id": 1,
James Feist3484bed2019-02-25 13:28:18 -080065 "minThermalOutput": 3000.0,
Patrick Ventureba8ffa72019-02-11 12:03:56 -080066 "failsafePercent": 75.0,
67 "pids": [
68 {
69 "name": "fan1-5",
70 "type": "fan",
71 "inputs": ["fan1", "fan5"],
72 "setpoint": 90.0,
73 "pid": {
Patrick Venture18b13112019-02-14 11:43:59 -080074 "samplePeriod": 0.1,
Patrick Ventureba8ffa72019-02-11 12:03:56 -080075 "proportionalCoeff": 0.0,
76 "integralCoeff": 0.0,
Patrick Venture903b0422019-02-20 07:35:48 -080077 "feedFwdOffsetCoeff": 0.0,
Patrick Williams217a8272022-12-08 06:13:07 -060078 "feedFwdGainCoeff": 0.01,
Patrick Ventureba8ffa72019-02-11 12:03:56 -080079 "integralLimit_min": 0.0,
80 "integralLimit_max": 0.0,
81 "outLim_min": 30.0,
82 "outLim_max": 100.0,
83 "slewNeg": 0.0,
84 "slewPos": 0.0
85 }
86 },
87 {
88 "name": "fan2-6",
89 "type": "fan",
90 "inputs": ["fan2", "fan6"],
91 "setpoint": 90.0,
92 "pid": {
Patrick Venture18b13112019-02-14 11:43:59 -080093 "samplePeriod": 0.1,
Patrick Ventureba8ffa72019-02-11 12:03:56 -080094 "proportionalCoeff": 0.0,
95 "integralCoeff": 0.0,
Patrick Venture903b0422019-02-20 07:35:48 -080096 "feedFwdOffsetCoeff": 0.0,
Patrick Williams217a8272022-12-08 06:13:07 -060097 "feedFwdGainCoeff": 0.01,
Patrick Ventureba8ffa72019-02-11 12:03:56 -080098 "integralLimit_min": 0.0,
99 "integralLimit_max": 0.0,
100 "outLim_min": 30.0,
101 "outLim_max": 100.0,
102 "slewNeg": 0.0,
103 "slewPos": 0.0
104 }
105 },
106 {
107 "name": "fan3-7",
108 "type": "fan",
109 "inputs": ["fan3", "fan7"],
110 "setpoint": 90.0,
111 "pid": {
Patrick Venture18b13112019-02-14 11:43:59 -0800112 "samplePeriod": 0.1,
Patrick Ventureba8ffa72019-02-11 12:03:56 -0800113 "proportionalCoeff": 0.0,
114 "integralCoeff": 0.0,
Patrick Venture903b0422019-02-20 07:35:48 -0800115 "feedFwdOffsetCoeff": 0.0,
Patrick Williams217a8272022-12-08 06:13:07 -0600116 "feedFwdGainCoeff": 0.01,
Patrick Ventureba8ffa72019-02-11 12:03:56 -0800117 "integralLimit_min": 0.0,
118 "integralLimit_max": 0.0,
119 "outLim_min": 30.0,
120 "outLim_max": 100.0,
121 "slewNeg": 0.0,
122 "slewPos": 0.0
123 }
124 },
125 {
126 "name": "fan4-8",
127 "type": "fan",
128 "inputs": ["fan4", "fan8"],
129 "setpoint": 90.0,
130 "pid": {
Patrick Venture18b13112019-02-14 11:43:59 -0800131 "samplePeriod": 0.1,
Patrick Ventureba8ffa72019-02-11 12:03:56 -0800132 "proportionalCoeff": 0.0,
133 "integralCoeff": 0.0,
Patrick Venture903b0422019-02-20 07:35:48 -0800134 "feedFwdOffsetCoeff": 0.0,
Patrick Williams217a8272022-12-08 06:13:07 -0600135 "feedFwdGainCoeff": 0.01,
Patrick Ventureba8ffa72019-02-11 12:03:56 -0800136 "integralLimit_min": 0.0,
137 "integralLimit_max": 0.0,
138 "outLim_min": 30.0,
139 "outLim_max": 100.0,
140 "slewNeg": 0.0,
141 "slewPos": 0.0
142 }
143 },
144 {
145 "name": "fleetingpid0",
146 "type": "margin",
147 "inputs": ["fleeting0"],
148 "setpoint": 10,
149 "pid": {
Patrick Venture18b13112019-02-14 11:43:59 -0800150 "samplePeriod": 1,
Patrick Ventureba8ffa72019-02-11 12:03:56 -0800151 "proportionalCoeff": 750.0,
152 "integralCoeff": 16.0,
Patrick Venture903b0422019-02-20 07:35:48 -0800153 "feedFwdOffsetCoeff": 0.0,
Patrick Ventureba8ffa72019-02-11 12:03:56 -0800154 "feedFwdGainCoeff": 0.0,
155 "integralLimit_min": 3000,
156 "integralLimit_max": 10000,
157 "outLim_min": 3000,
158 "outLim_max": 10000,
159 "slewNeg": -100.0,
160 "slewPos": 0.0
161 }
162 }
163 ]
164 }
165 ]
166}