hwmon: (pmbus/zl6100) Add support for VMON/VDRV
authorGuenter Roeck <linux@roeck-us.net>
Wed, 7 Mar 2012 11:54:50 +0000 (03:54 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 6 Feb 2013 17:58:05 +0000 (09:58 -0800)
commit1640eaecc4c5f62c73a87445a55c0f0cbe3b4579
treeaf5b6caaae370863cbd0efa191be7307a4f67b4d
parentce603b18f30aea1216a00673a33805d4f5a5e16b
hwmon: (pmbus/zl6100) Add support for VMON/VDRV

Some of the ZL6100 compatible chips support monitoring a separate voltage pin,
VMON (ZL2004) or VDRV (ZL91xx). Report it as in2 / vmon.

The chips support implicit warning limits for VMON/VDRV, as percentage of the
respective critical voltage. Support by reading/writing the critical voltages
and calculating the associated warning voltages.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/zl6100
drivers/hwmon/pmbus/zl6100.c