summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-harma/recipes-phosphor/fans/phosphor-pid-control/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/meta-harma/recipes-phosphor/fans/phosphor-pid-control/config.json')
-rw-r--r--meta-facebook/meta-harma/recipes-phosphor/fans/phosphor-pid-control/config.json545
1 files changed, 545 insertions, 0 deletions
diff --git a/meta-facebook/meta-harma/recipes-phosphor/fans/phosphor-pid-control/config.json b/meta-facebook/meta-harma/recipes-phosphor/fans/phosphor-pid-control/config.json
new file mode 100644
index 0000000000..8e741cb25c
--- /dev/null
+++ b/meta-facebook/meta-harma/recipes-phosphor/fans/phosphor-pid-control/config.json
@@ -0,0 +1,545 @@
+{
+ "sensors": [
+ {
+ "name": "MB_CPU_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_CPU_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A0_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A0_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A10_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A10_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A1_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A1_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A2_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A2_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A4_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A4_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A6_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A6_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A7_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A7_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_DIMM_A8_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_DIMM_A8_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_VR_CPU_PDDIO_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_VR_CPU_PDDIO_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_VR_CPU_PVDD11_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_VR_CPU_PVDD11_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_VR_CPU_SOC_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_VR_CPU_SOC_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_VR_CPU_VCORE0_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_VR_CPU_VCORE0_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_VR_CPU_VCORE1_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_VR_CPU_VCORE1_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_RETIMER0_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_RETIMER0_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "MB_RETIMER1_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/MB_RETIMER1_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "NIC_Temp_1",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/NIC_Temp_1",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "SCM_INLET_TEMP_C",
+ "type": "temp",
+ "readPath": "/xyz/openbmc_project/sensors/temperature/SCM_INLET_TEMP_C",
+ "timeout": 0,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN0_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN0_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN0_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN0_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN1_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN1_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN1_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN1_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN2_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN2_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN2_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN2_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN3_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN3_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP0_FAN3_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP0_FAN3_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP0_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN0_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN0_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN0_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN0_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN1_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN1_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN1_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN1_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN2_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN2_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN2_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN2_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN3_TACH_IL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN3_TACH_IL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ },
+ {
+ "name": "FAN_BP1_FAN3_TACH_OL_SPEED_RPM",
+ "type": "fan",
+ "readPath": "/xyz/openbmc_project/sensors/fan_tach/FAN_BP1_FAN3_TACH_OL_SPEED_RPM",
+ "writePath": "/xyz/openbmc_project/control/fanpwm/FAN_BP1_FAN_PWM",
+ "min": 0,
+ "max": 255,
+ "ignoreDbusMinMax": true
+ }
+ ],
+
+ "zones": [
+ {
+ "id": 1,
+ "failsafePercent": 100.0,
+ "minThermalOutput": 0.0,
+ "cycleTimeBaseMS": 1000,
+ "updateThermalsTimeMS": 1000,
+ "accumulateSetPoint": true,
+ "pids": [
+ {
+ "name": "All Fan",
+ "type": "fan",
+ "inputs": [
+ "FAN_BP0_FAN0_TACH_IL_SPEED_RPM",
+ "FAN_BP0_FAN0_TACH_OL_SPEED_RPM",
+ "FAN_BP0_FAN1_TACH_IL_SPEED_RPM",
+ "FAN_BP0_FAN1_TACH_OL_SPEED_RPM",
+ "FAN_BP0_FAN2_TACH_IL_SPEED_RPM",
+ "FAN_BP0_FAN2_TACH_OL_SPEED_RPM",
+ "FAN_BP0_FAN3_TACH_IL_SPEED_RPM",
+ "FAN_BP0_FAN3_TACH_OL_SPEED_RPM",
+ "FAN_BP1_FAN0_TACH_IL_SPEED_RPM",
+ "FAN_BP1_FAN0_TACH_OL_SPEED_RPM",
+ "FAN_BP1_FAN1_TACH_IL_SPEED_RPM",
+ "FAN_BP1_FAN1_TACH_OL_SPEED_RPM",
+ "FAN_BP1_FAN2_TACH_IL_SPEED_RPM",
+ "FAN_BP1_FAN2_TACH_OL_SPEED_RPM",
+ "FAN_BP1_FAN3_TACH_IL_SPEED_RPM",
+ "FAN_BP1_FAN3_TACH_OL_SPEED_RPM"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "proportionalCoeff": 0.0,
+ "integralCoeff": 0.0,
+ "derivativeCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 1.0,
+ "integralLimit_min": 0.0,
+ "integralLimit_max": 0.0,
+ "outLim_min": 0.0,
+ "outLim_max": 100.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 0
+ }
+ },
+ {
+ "name": "Stepwise_MB_CPU",
+ "type": "stepwise",
+ "inputs": [
+ "MB_CPU_TEMP_C"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "isCeiling": false,
+ "reading": {
+ "0": 55,
+ "1": 60,
+ "2": 65,
+ "3": 70,
+ "4": 75
+ },
+ "output": {
+ "0": 20,
+ "1": 25,
+ "2": 30,
+ "3": 35,
+ "4": 40
+ },
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2
+ }
+ },
+ {
+ "name": "PID_MB_CPU",
+ "type": "temp",
+ "inputs": [
+ "MB_CPU_TEMP_C"
+ ],
+ "setpoint": 79.0,
+ "pid": {
+ "samplePeriod": 1,
+ "proportionalCoeff": -3.0,
+ "integralCoeff": -0.0035,
+ "derivativeCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": -50.0,
+ "integralLimit_max": 100.0,
+ "outLim_min": 0.0,
+ "outLim_max": 100.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2,
+ "checkHysterWithSetpt": true
+ }
+ },
+ {
+ "name": "Stepwise_MB_DIMM",
+ "type": "stepwise",
+ "inputs": [
+ "MB_DIMM_A0_TEMP_C",
+ "MB_DIMM_A1_TEMP_C",
+ "MB_DIMM_A2_TEMP_C",
+ "MB_DIMM_A4_TEMP_C",
+ "MB_DIMM_A6_TEMP_C",
+ "MB_DIMM_A7_TEMP_C",
+ "MB_DIMM_A8_TEMP_C",
+ "MB_DIMM_A10_TEMP_C"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "isCeiling": false,
+ "reading": {
+ "0": 60,
+ "1": 70,
+ "2": 75
+ },
+ "output": {
+ "0": 20,
+ "1": 25,
+ "3": 30
+ },
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2
+ }
+ },
+ {
+ "name": "PID_MB_DIMM",
+ "type": "temp",
+ "inputs": [
+ "MB_DIMM_A0_TEMP_C",
+ "MB_DIMM_A1_TEMP_C",
+ "MB_DIMM_A2_TEMP_C",
+ "MB_DIMM_A4_TEMP_C",
+ "MB_DIMM_A6_TEMP_C",
+ "MB_DIMM_A7_TEMP_C",
+ "MB_DIMM_A8_TEMP_C",
+ "MB_DIMM_A10_TEMP_C"
+ ],
+ "setpoint": 79.0,
+ "pid": {
+ "samplePeriod": 1,
+ "proportionalCoeff": -3.0,
+ "integralCoeff": -0.0035,
+ "derivativeCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": -50.0,
+ "integralLimit_max": 100.0,
+ "outLim_min": 0.0,
+ "outLim_max": 100.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2,
+ "checkHysterWithSetpt": true
+ }
+ },
+ {
+ "name": "Stepwise_MB_VR",
+ "type": "stepwise",
+ "inputs": [
+ "MB_VR_CPU_VCORE0_TEMP_C",
+ "MB_VR_CPU_VCORE1_TEMP_C",
+ "MB_VR_CPU_PVDD11_TEMP_C",
+ "MB_VR_CPU_PDDIO_TEMP_C",
+ "MB_VR_CPU_SOC_TEMP_C"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "isCeiling": false,
+ "reading": {
+ "0": 80,
+ "1": 90,
+ "2": 100
+ },
+ "output": {
+ "0": 20,
+ "1": 25,
+ "2": 90
+ },
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2
+ }
+ },
+ {
+ "name": "Stepwise_MB_RETIMER",
+ "type": "stepwise",
+ "inputs": [
+ "MB_RETIMER0_TEMP_C",
+ "MB_RETIMER1_TEMP_C"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "isCeiling": false,
+ "reading": {
+ "0": 80,
+ "1": 90,
+ "2": 100
+ },
+ "output": {
+ "0": 20,
+ "1": 25,
+ "2": 90
+ },
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2
+ }
+ },
+ {
+ "name": "Stepwise_NIC",
+ "type": "stepwise",
+ "inputs": [
+ "NIC_Temp_1"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "isCeiling": false,
+ "reading": {
+ "0": 80,
+ "1": 90,
+ "2": 100
+ },
+ "output": {
+ "0": 20,
+ "1": 25,
+ "2": 90
+ },
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2
+ }
+ },
+ {
+ "name": "Stepwise_SCM_INLET",
+ "type": "stepwise",
+ "inputs": [
+ "SCM_INLET_TEMP_C"
+ ],
+ "setpoint": 0.0,
+ "pid": {
+ "samplePeriod": 1,
+ "isCeiling": false,
+ "reading": {
+ "0": 25,
+ "1": 30,
+ "2": 35,
+ "3": 40
+ },
+ "output": {
+ "0": 20,
+ "1": 25,
+ "2": 35,
+ "3": 90
+ },
+ "positiveHysteresis": 0,
+ "negativeHysteresis": 2
+ }
+ }
+ ]
+ }
+ ]
+}