meta-ibm:sensors:p10bmc:Add power-supply hwmon configs
Add the power-supply configuration files for the acbel-fsg032 power
supplies used in the Bonnell systems in order to get telemetry data
added to D-Bus via phosphor-hwmon.
Bonnell power supplies on bus 3 at 0x5a and 0x5b
Change-Id: I97a1e1ba57ee1b2da6462b6921f121683498fe87
Signed-off-by: Lakshmi Yadlapati <lakshmiy@us.ibm.com>
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf
new file mode 100644
index 0000000..1c5ccdd
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5a.conf
@@ -0,0 +1,13 @@
+LABEL_in1="ps0_input_voltage"
+
+LABEL_in3="ps0_output_voltage"
+
+LABEL_curr1="ps0_output_current"
+
+LABEL_power1="ps0_input_power"
+
+LABEL_temp1="ps0_temp0"
+LABEL_temp2="ps0_temp1"
+LABEL_temp3="ps0_temp2"
+
+ACCURACY_power1="5"
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf
new file mode 100644
index 0000000..254c798
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon/p10bmc/obmc/hwmon/ahb/apb/bus@1e78a000/i2c-bus@200/power-supply@5b.conf
@@ -0,0 +1,13 @@
+LABEL_in1="ps1_input_voltage"
+
+LABEL_in3="ps1_output_voltage"
+
+LABEL_curr1="ps1_output_current"
+
+LABEL_power1="ps1_input_power"
+
+LABEL_temp1="ps1_temp0"
+LABEL_temp2="ps1_temp1"
+LABEL_temp3="ps1_temp2"
+
+ACCURACY_power1="5"
diff --git a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
index 006bab1..9d89e72 100644
--- a/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
+++ b/meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend
@@ -52,6 +52,8 @@
bus@1e78a000/i2c-bus@200/power-supply@6a \
bus@1e78a000/i2c-bus@200/power-supply@6d \
bus@1e78a000/i2c-bus@200/power-supply@6b \
+ bus@1e78a000/i2c-bus@200/power-supply@5a \
+ bus@1e78a000/i2c-bus@200/power-supply@5b \
bus@1e78a000/i2c-bus@400/max31785@52 \
bus@1e78a000/i2c-bus@400/max31785b@52 \
bus@1e78a000/i2c-bus@780/i2c-switch@70/i2c@3/max31785@52 \