summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon
diff options
context:
space:
mode:
authorBrandon Wyman <bjwyman@gmail.com>2017-11-09 19:29:58 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-11-29 14:17:39 +0000
commit8885ec2dc9d6db464a7b270574500ef751939f11 (patch)
treec76898217f5eb9c480b5e5255ad589558d2de813 /meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon
parentf01c878ce424847b2298549aa99bfe7ad4ec2378 (diff)
downloadtalos-openbmc-8885ec2dc9d6db464a7b270574500ef751939f11.tar.gz
talos-openbmc-8885ec2dc9d6db464a7b270574500ef751939f11.zip
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>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon')
-rw-r--r--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.conf10
-rw-r--r--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@69.conf10
2 files changed, 10 insertions, 10 deletions
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 bf7e145e7..e463b517c 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"
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@69.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@69.conf
index c5e450e3d..2fadbdec0 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@69.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@69.conf
@@ -1,23 +1,23 @@
-LABEL_in1="ps1_input_voltage"
+LABEL_in1="ps0_input_voltage"
WARNHI_in1="290000"
WARNLO_in1="200000"
CRITHI_in1="300000"
CRITLO_in1="180000"
-LABEL_in2="ps1_output_voltage"
+LABEL_in2="ps0_output_voltage"
WARNHI_in2="12700"
WARNLO_in2="0"
CRITHI_in2="13000"
CRITLO_in2="0"
-LABEL_curr1="ps1_output_current"
+LABEL_curr1="ps0_output_current"
WARNHI_curr1="170000"
WARNLO_curr1="0"
CRITHI_curr1="180000"
CRITLO_curr1="0"
-LABEL_power1="ps1_input_power"
+LABEL_power1="ps0_input_power"
WARNHI_power1="2350000000"
WARNLO_power1="0"
CRITHI_power1="2500000000"
-CRITLO_power1="0" \ No newline at end of file
+CRITLO_power1="0"
OpenPOWER on IntegriCloud