commit | 7624ff836345c17cc7e1b680a8f0fbc96c39cc8f | [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 | c7fc49e6221b90c2a4089be0bf8eddbeaa2eed8d | |
parent | be5a62081b31245f9473562b60c64b936317218a [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-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend index f72e393..d47847d 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend +++ b/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-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/power_reading.json b/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/power_reading.json new file mode 100644 index 0000000..97e8f32 --- /dev/null +++ b/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" +}