]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (pmbus) Add support for peak attributes
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 9 Jul 2011 15:30:26 +0000 (08:30 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 15 Jul 2011 15:10:21 +0000 (08:10 -0700)
commit6bf1c4641f01f480c46456a60adab7520af89613
treeb388eef4e8edb07eaf2562ed964292fcfcf15ce3
parentcabbaa9b9b3fcf73f315551fb81fc3ba597fd7ce
hwmon: (pmbus) Add support for peak attributes

Most PMBus devices provide manufacturer specific commands to read low and/or
high peak values for some or all of its sensors.

To support providing those values as lowest/highest attributes to the user,
introduce virtual PMBus commands. Those commands reside outside the normal
command set and have to be implemented in device specific code, which map the
virtual commands to device specific commands.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/pmbus/pmbus.h
drivers/hwmon/pmbus/pmbus_core.c