]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfab6d593b645be46f89c9f6c4df1fd490a2dad1e
treeaf5b6caaae370863cbd0efa191be7307a4f67b4d
parent83c28409d9f47d3baff086e1c296fb2ff677c54e
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