commit | 775f349b403324cafbff307e3d5be8855f084700 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Aug 14 09:29:22 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Sun Aug 20 23:23:03 2017 +0000 |
tree | d838a5daf851449c0d7e0fb2ba0f943c1873c02a | |
parent | 6c46d9f913ccbf690149aab44ee1507a3843d24d [diff] |
Add power supply hwmon config files Puts current, voltage, and power properties on D-Bus for the two power supplies. Resolves openbmc/openbmc#2115 Change-Id: I52e85297a70f40854e141db9a25358511033ac02 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend index 8aef1f1..ebdcac8 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%.bbappend
@@ -4,6 +4,8 @@ i2c@1e78a000/i2c-bus@100/bmp280@77 \ i2c@1e78a000/i2c-bus@100/dps310@76 \ i2c@1e78a000/i2c-bus@100/max31785@52 \ + i2c@1e78a000/i2c-bus@100/power-supply@68 \ + i2c@1e78a000/i2c-bus@100/power-supply@69 \ i2c@1e78a000/i2c-bus@140/ir35221@70 \ i2c@1e78a000/i2c-bus@140/ir35221@71 \ i2c@1e78a000/i2c-bus@180/ir35221@70 \
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf new file mode 100644 index 0000000..92838e1 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@68.conf
@@ -0,0 +1,4 @@ +LABEL_in1="ps0_input_voltage" +LABEL_in2="ps0_output_voltage" +LABEL_curr1="ps0_output_current" +LABEL_power1="ps0_input_power"
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@69.conf b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@69.conf new file mode 100644 index 0000000..61b4253 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c@1e78a000/i2c-bus@100/power-supply@69.conf
@@ -0,0 +1,4 @@ +LABEL_in1="ps1_input_voltage" +LABEL_in2="ps1_output_voltage" +LABEL_curr1="ps1_output_current" +LABEL_power1="ps1_input_power"