Skip to content

libs/utils/energy: Add 'power' kind for default VExpress hwmon config

Darryl Green requested to merge github/fork/bjackman/vexpress-hwmon-kind into master

Created by: bjackman

It seems like some hwmon instances use 'power' instead of 'energy'. It looks like we can just enable both.

I'm not merging this unilaterally because there's a lot of hwmon-related code between LISA and devlib that I don't understand. It would also be fantastic if at least one other person could test this as it seems likely I'm breaking something for somebody.

BTW, at some point we really need to improve the way the hwmon stuff reports errors. This error was reported as a KeyError in HwMon.report. I spent a little time to try and make it a bit more helpful but there's really a lot of complexity and it seems like this complexity is necessary.

Merge request reports