commit | 068994bf1fa569a752edbc488066745b0341f049 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Sep 19 13:03:43 2024 -0500 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Thu Sep 19 19:17:00 2024 +0000 |
tree | f72f5b372386c217a80d4685a2e2be3f314380e7 | |
parent | b541569abc9904ef2aa08e8a5d1906acb898826c [diff] |
meta-ibm: Add MAXVALUE to fan hwmon configs Add this so that phosphor-hwmon fills in the MaxValue D-Bus property with the values. This will be used in upcoming Redfish work. Tested: ``` The fanX_0 values: $ for i in {0..5}; do busctl get-property xyz.openbmc_project.Hwmon-75e29b8640dca44a8648ec8aeb240d520bd5eb91b19a8ebe4bbc48ef236d856c.Hwmon1 \ /xyz/openbmc_project/sensors/fan_tach/fan$i"_0" xyz.openbmc_project.Sensor.Value MaxValue; done d 18000 d 18000 d 18000 d 18000 d 18000 d 18000 The fanX_1 values: $ for i in {0..5}; do busctl get-property xyz.openbmc_project.Hwmon-75e29b8640dca44a8648ec8aeb240d520bd5eb91b19a8ebe4bbc48ef236d856c.Hwmon1 \ /xyz/openbmc_project/sensors/fan_tach/fan$i"_1" xyz.openbmc_project.Sensor.Value MaxValue; done d 18000 d 18000 d 18000 d 18000 d 18000 d 18000 ``` Change-Id: Id33cf407a427ff2d23083078b7eaea9265cb8359 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a400.i2c/i2c-7/7-0052.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a400.i2c/i2c-7/7-0052.conf index c3b9db1..ade9dc8 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a400.i2c/i2c-7/7-0052.conf +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a400.i2c/i2c-7/7-0052.conf
@@ -1,25 +1,37 @@ LABEL_fan1 = "fan0_0" +MAXVALUE_fan1 = "18000" LABEL_fan2 = "fan1_0" +MAXVALUE_fan2 = "18000" LABEL_fan3 = "fan2_0" +MAXVALUE_fan3 = "18000" LABEL_fan4 = "fan3_0" +MAXVALUE_fan4 = "18000" LABEL_fan5 = "fan4_0" +MAXVALUE_fan5 = "18000" LABEL_fan6 = "fan5_0" +MAXVALUE_fan6 = "18000" LABEL_fan7 = "fan0_1" +MAXVALUE_fan7 = "18000" LABEL_fan8 = "fan1_1" +MAXVALUE_fan8 = "18000" LABEL_fan9 = "fan2_1" +MAXVALUE_fan9 = "18000" LABEL_fan10 = "fan3_1" +MAXVALUE_fan10 = "18000" LABEL_fan11 = "fan4_1" +MAXVALUE_fan11 = "18000" LABEL_fan12 = "fan5_1" +MAXVALUE_fan12 = "18000" TARGET_MODE = "RPM"
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a780.i2c/i2c-14/i2c-30/30-0052.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a780.i2c/i2c-14/i2c-30/30-0052.conf index d3df215..1e9d91a 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a780.i2c/i2c-14/i2c-30/30-0052.conf +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/devices/platform/ahb/1e780000.apb/1e780000.apb--bus@1e78a000/1e78a780.i2c/i2c-14/i2c-30/30-0052.conf
@@ -1,17 +1,25 @@ LABEL_fan1 = "fan0_0" +MAXVALUE_fan1 = "11300" LABEL_fan2 = "fan1_0" +MAXVALUE_fan2 = "11300" LABEL_fan3 = "fan2_0" +MAXVALUE_fan3 = "11300" LABEL_fan4 = "fan3_0" +MAXVALUE_fan4 = "11300" LABEL_fan5 = "fan0_1" +MAXVALUE_fan5 = "11300" LABEL_fan6 = "fan1_1" +MAXVALUE_fan6 = "11300" LABEL_fan7 = "fan2_1" +MAXVALUE_fan7 = "11300" LABEL_fan8 = "fan3_1" +MAXVALUE_fan8 = "11300" TARGET_MODE = "RPM"
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon-tacoma/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@200/max31785@52.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon-tacoma/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@200/max31785@52.conf index d3df215..f10532f 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon-tacoma/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@200/max31785@52.conf +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon-tacoma/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@200/max31785@52.conf
@@ -1,17 +1,25 @@ LABEL_fan1 = "fan0_0" +MAXVALUE_fan1 = "10500" LABEL_fan2 = "fan1_0" +MAXVALUE_fan2 = "10500" LABEL_fan3 = "fan2_0" +MAXVALUE_fan3 = "10500" LABEL_fan4 = "fan3_0" +MAXVALUE_fan4 = "10500" LABEL_fan5 = "fan0_1" +MAXVALUE_fan5 = "10500" LABEL_fan6 = "fan1_1" +MAXVALUE_fan6 = "10500" LABEL_fan7 = "fan2_1" +MAXVALUE_fan7 = "10500" LABEL_fan8 = "fan3_1" +MAXVALUE_fan8 = "10500" TARGET_MODE = "RPM"
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@100/max31785@52.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@100/max31785@52.conf index d3df215..f10532f 100644 --- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@100/max31785@52.conf +++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/witherspoon/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@100/max31785@52.conf
@@ -1,17 +1,25 @@ LABEL_fan1 = "fan0_0" +MAXVALUE_fan1 = "10500" LABEL_fan2 = "fan1_0" +MAXVALUE_fan2 = "10500" LABEL_fan3 = "fan2_0" +MAXVALUE_fan3 = "10500" LABEL_fan4 = "fan3_0" +MAXVALUE_fan4 = "10500" LABEL_fan5 = "fan0_1" +MAXVALUE_fan5 = "10500" LABEL_fan6 = "fan1_1" +MAXVALUE_fan6 = "10500" LABEL_fan7 = "fan2_1" +MAXVALUE_fan7 = "10500" LABEL_fan8 = "fan3_1" +MAXVALUE_fan8 = "10500" TARGET_MODE = "RPM"