commit | 4069f5cebf12e6f29042777be742f7e96f5de268 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Fri May 04 12:43:05 2018 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Tue May 15 17:59:00 2018 +0000 |
tree | 58051d76fc75243f7c15418f17657ac10eefa9d5 | |
parent | 7915e1ff7221123c1e9d80bfa05fc6aa16f27e30 [diff] |
wspoon: Find OCC power labels using function IDs Change to using an indirect lookup with the *_function_id file to determine what the OCC's hwmon power values represent, similar to how the OCC temps used the *_label files. The current code was hardcoding them, assuming hwmon would number them the same every time, but that is not the case. The function IDs are documented here: https://github.com/open-power/docs/blob/master/occ/OCC_P9_FW_Interfaces.pdf Resolves openbmc/openbmc#3152 Change-Id: Id4c50c7175a8108c317d9c301ad4a682a4f4c89f Signed-off-by: Matt Spinler <spinler@us.ibm.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.