summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2021-02-18 03:52:29 +0300
committerGeorge Hung <george.hung@quantatw.com>2021-02-18 12:19:17 +0300
commit7e80652b59e3bda97583bb27d1427d65d7e3b4d2 (patch)
tree85ff2d88f6c3e8b8c952e898ef6e5d405dfc2556
parenta52006f5cab2e03edc267fe0650f8cfe720c5a70 (diff)
downloadopenbmc-7e80652b59e3bda97583bb27d1427d65d7e3b4d2.tar.xz
meta-quanta: gbs: update thermal config to R04
Add the fleeting2 sensor for the hda temperature Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5dd3ebfcedc07df15677bacdf0f029e009213adf
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml6
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config-sku.json35
2 files changed, 40 insertions, 1 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
index 746956e55..e0eb0e192 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
+++ b/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/gbs-ipmi-sensors.yaml
@@ -543,6 +543,12 @@
entityInstance: 0x2e
path: /xyz/openbmc_project/sensors/temperature/hotswap
+0x2E:
+ <<: *temperature
+ entityID: 0x1E
+ entityInstance: 0x02
+ path: /xyz/openbmc_project/extsensors/margin/fleeting2
+
# fan/pwm mapping
# fan0/1 on Mobo, fb_fan0/1/2 on fan board
# PWM0 => fan tach 0
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config-sku.json b/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config-sku.json
index f2997efd0..e5040ca1c 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config-sku.json
+++ b/meta-quanta/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/config-sku.json
@@ -1,5 +1,5 @@
{
- "version": "R03",
+ "version": "R04",
"sensors": [
{
"name": "fan0",
@@ -62,6 +62,16 @@
"timeout": 0
},
{
+ "name": "fleeting2",
+ "type": "margin",
+ "readPath": "/xyz/openbmc_project/extsensors/margin/fleeting2",
+ "writePath": "",
+ "min": 0,
+ "max": 0,
+ "ignoreDbusMinMax": true,
+ "timeout": 0
+ },
+ {
"name": "cputemp",
"type": "margin",
"readPath": "/xyz/openbmc_project/extsensors/margin/cputemp",
@@ -241,6 +251,29 @@
"positiveHysteresis": 0.0,
"negativeHysteresis": 0.0
}
+ },
+ {
+ "name": "fleeting2",
+ "type": "margin",
+ "inputs": [
+ "fleeting2"
+ ],
+ "setpoint": 10.0,
+ "pid": {
+ "samplePeriod": 1.0,
+ "proportionalCoeff": 536.0,
+ "integralCoeff": 18.0,
+ "feedFwdOffsetCoeff": 0.0,
+ "feedFwdGainCoeff": 0.0,
+ "integralLimit_min": 2679.0,
+ "integralLimit_max": 18000.0,
+ "outLim_min": 2679.0,
+ "outLim_max": 18000.0,
+ "slewNeg": 0.0,
+ "slewPos": 0.0,
+ "positiveHysteresis": 0.0,
+ "negativeHysteresis": 0.0
+ }
}
]
},