commit | 8885ec2dc9d6db464a7b270574500ef751939f11 | [log] [tgz] |
---|---|---|
author | Brandon Wyman <bjwyman@gmail.com> | Thu Nov 09 19:29:58 2017 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Nov 29 14:17:39 2017 +0000 |
tree | c76898217f5eb9c480b5e5255ad589558d2de813 | |
parent | f01c878ce424847b2298549aa99bfe7ad4ec2378 [diff] [blame] |
Fix power supply presence information While testing missing power supply, the bottom power supply in the MRW is labeled as psu1, which would obviously map to powersupply1, but when that supply was removed and a power on attempted, the call out was for powerupply0. A simple rename of the labels does not work out right, due to the filenames, so swizzling the GPIO and I2C information. Resolves: openbmc/openbmc#2563 Change-Id: Iaed300becace2409e04c0097be9e2d7fa497dee3 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf index bf7e145..e463b51 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf
@@ -1,23 +1,23 @@ -LABEL_in1="ps0_input_voltage" +LABEL_in1="ps1_input_voltage" WARNHI_in1="290000" WARNLO_in1="200000" CRITHI_in1="300000" CRITLO_in1="180000" -LABEL_in2="ps0_output_voltage" +LABEL_in2="ps1_output_voltage" WARNHI_in2="12700" WARNLO_in2="0" CRITHI_in2="13000" CRITLO_in2="0" -LABEL_curr1="ps0_output_current" +LABEL_curr1="ps1_output_current" WARNHI_curr1="170000" WARNLO_curr1="0" CRITHI_curr1="180000" CRITLO_curr1="0" -LABEL_power1="ps0_input_power" +LABEL_power1="ps1_input_power" WARNHI_power1="2350000000" WARNLO_power1="0" CRITHI_power1="2500000000" -CRITLO_power1="0" \ No newline at end of file +CRITLO_power1="0"