commit | 3dd3273adf8a0df3166110649047cdd99fba2fce | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Thu Jan 18 11:27:13 2018 -0600 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Feb 01 05:15:12 2018 +0000 |
tree | ecfa3aaf36872687987c034cca87db030fcbbdd9 | |
parent | 5711b8dafd8b67c9a41294e1257c16af41aa014c [diff] |
DCMI: Get power reading - add witherspoon config The D-Bus object that captures the power reading varies from system to system, using JSON config file to specify the D-Bus object to read based on the sytem. Change-Id: I2bfac0826b051d243b4edba34cc0b0e09dc648cf Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend index f72e393..d47847d 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
@@ -2,4 +2,5 @@ SRC_URI_append_witherspoon = " file://occ_sensors.hardcoded.yaml \ file://dev_id.json \ file://dcmi_temp_readings.json \ + file://power_reading.json \ "
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/power_reading.json b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/power_reading.json new file mode 100644 index 0000000..97e8f32 --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/power_reading.json
@@ -0,0 +1,3 @@ +{ + "path": "/xyz/openbmc_project/sensors/power/total_power" +}