[PATCH skeleton v6 10/20] Modify the hard-coded hwmon ID for PowerCap

Stewart Smith stewart at linux.vnet.ibm.com
Thu Apr 21 03:21:57 AEST 2016

OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:
> From: johnhcwang <hsienchiang at gmail.com>
> After we enable I2C-6 lm75 outlet sensor in device stree, the hwmon ID
> of PowerCap won't be 3 anymore. So we have to modify it as real ID.

This looks like a pretty unreliable way to identify the sensor we
want. Surely there's a better way than just relying on them always
coming up in the same order?

Stewart Smith
OPAL Architect, IBM.

More information about the openbmc mailing list