1{
2    "sensors": [
3        {
4            "name": "FAN0_RPM",
5            "type": "fan",
6            "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN0_RPM",
7            "writePath": "/sys/devices/platform/pwm-fan0/hwmon/**/pwm1",
8            "ignoreDbusMinMax": true,
9            "min": 0,
10            "max": 255
11        },
12        {
13            "name": "FAN1_RPM",
14            "type": "fan",
15            "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN1_RPM",
16            "writePath": "/sys/devices/platform/pwm-fan0/hwmon/**/pwm1",
17            "ignoreDbusMinMax": true,
18            "min": 0,
19            "max": 255
20        },
21        {
22            "name": "FAN2_RPM",
23            "type": "fan",
24            "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN2_RPM",
25            "writePath": "/sys/devices/platform/pwm-fan1/hwmon/**/pwm1",
26            "ignoreDbusMinMax": true,
27            "min": 0,
28            "max": 255
29        },
30        {
31            "name": "FAN3_RPM",
32            "type": "fan",
33            "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN3_RPM",
34            "writePath": "/sys/devices/platform/pwm-fan1/hwmon/**/pwm1",
35            "ignoreDbusMinMax": true,
36            "min": 0,
37            "max": 255
38        },
39        {
40            "name": "TEMP_MAC_ENV",
41            "type": "temp",
42            "readPath": "/xyz/openbmc_project/sensors/temperature/TEMP_MAC_ENV",
43            "writePath": "",
44            "min": 0,
45            "max": 0,
46            "ignoreDbusMinMax": true,
47            "timeout": 0
48        },
49        {
50            "name": "TEMP_MAC_DIE",
51            "type": "temp",
52            "readPath": "/xyz/openbmc_project/sensors/temperature/TEMP_MAC_DIE",
53            "writePath": "",
54            "min": 0,
55            "max": 0,
56            "ignoreDbusMinMax": true,
57            "timeout": 0
58        }
59    ],
60    "zones": [
61        {
62            "id": 1,
63            "minThermalOutput": 0.0,
64            "failsafePercent": 100.0,
65            "pids": [
66                {
67                    "name": "FAN0_RPM",
68                    "type": "fan",
69                    "inputs": ["FAN0_RPM"],
70                    "setpoint": 30.0,
71                    "pid": {
72                        "samplePeriod": 1.0,
73                        "proportionalCoeff": 0.0,
74                        "integralCoeff": 0.0,
75                        "derivativeCoeff": 0.0,
76                        "feedFwdOffsetCoeff": 0.0,
77                        "feedFwdGainCoeff": 1.0,
78                        "integralLimit_min": 0.0,
79                        "integralLimit_max": 0.0,
80                        "outLim_min": 0.0,
81                        "outLim_max": 100.0,
82                        "slewNeg": 0.0,
83                        "slewPos": 0.0
84                    }
85                },
86                {
87                    "name": "FAN1_RPM",
88                    "type": "fan",
89                    "inputs": ["FAN1_RPM"],
90                    "setpoint": 30.0,
91                    "pid": {
92                        "samplePeriod": 1.0,
93                        "proportionalCoeff": 0.0,
94                        "integralCoeff": 0.0,
95                        "derivativeCoeff": 0.0,
96                        "feedFwdOffsetCoeff": 0.0,
97                        "feedFwdGainCoeff": 1.0,
98                        "integralLimit_min": 0.0,
99                        "integralLimit_max": 0.0,
100                        "outLim_min": 0.0,
101                        "outLim_max": 100.0,
102                        "slewNeg": 0.0,
103                        "slewPos": 0.0
104                    }
105                },
106                {
107                    "name": "FAN2_RPM",
108                    "type": "fan",
109                    "inputs": ["FAN2_RPM"],
110                    "setpoint": 30.0,
111                    "pid": {
112                        "samplePeriod": 1.0,
113                        "proportionalCoeff": 0.0,
114                        "integralCoeff": 0.0,
115                        "derivativeCoeff": 0.0,
116                        "feedFwdOffsetCoeff": 0.0,
117                        "feedFwdGainCoeff": 1.0,
118                        "integralLimit_min": 0.0,
119                        "integralLimit_max": 0.0,
120                        "outLim_min": 0.0,
121                        "outLim_max": 100.0,
122                        "slewNeg": 0.0,
123                        "slewPos": 0.0
124                    }
125                },
126                {
127                    "name": "FAN3_RPM",
128                    "type": "fan",
129                    "inputs": ["FAN3_RPM"],
130                    "setpoint": 30.0,
131                    "pid": {
132                        "samplePeriod": 1.0,
133                        "proportionalCoeff": 0.0,
134                        "integralCoeff": 0.0,
135                        "derivativeCoeff": 0.0,
136                        "feedFwdOffsetCoeff": 0.0,
137                        "feedFwdGainCoeff": 1.0,
138                        "integralLimit_min": 0.0,
139                        "integralLimit_max": 0.0,
140                        "outLim_min": 0.0,
141                        "outLim_max": 100.0,
142                        "slewNeg": 0.0,
143                        "slewPos": 0.0
144                    }
145                },
146                {
147                    "name": "TEMP_MAC_DIE",
148                    "type": "stepwise",
149                    "inputs": ["TEMP_MAC_DIE"],
150                    "setpoint": 30.0,
151                    "pid": {
152                        "samplePeriod": 1.0,
153                        "positiveHysteresis": 1.0,
154                        "negativeHysteresis": 1.0,
155                        "isCeiling": false,
156                        "reading": {
157                            "0": 25,
158                            "1": 40,
159                            "2": 50,
160                            "3": 60,
161                            "4": 70,
162                            "5": 80
163                        },
164                        "output": {
165                            "0": 45,
166                            "1": 60,
167                            "2": 75,
168                            "3": 85,
169                            "4": 90,
170                            "5": 100
171                        }
172                    }
173                }
174            ]
175        }
176    ]
177}
178