[PATCH] hwmon: Add PEC support to the lm90 driver
authorJean Delvare <khali@linux-fr.org>
Wed, 26 Oct 2005 19:39:40 +0000 (21:39 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:14 +0000 (14:02 -0700)
commitc3df5806cdae6fac678c662b527cb974bef4b60c
treea510da8447852247907dd6896cdf51c7e3d60844
parent8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d
[PATCH] hwmon: Add PEC support to the lm90 driver

Add PEC support to the lm90 driver. Only the ADM1032 chip supports it,
and in a rather tricky way, which is why this patch comes with
documentation reinforcements. At least, this demonstrates that the new
PEC support logic in i2c-core can properly deal with chips with partial
PEC support.

As enabling PEC causes a significant performance drop, it can be
disabled through a sysfs file (unsurprisingly named "pec").

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/hwmon/lm90
Documentation/hwmon/sysfs-interface
drivers/hwmon/lm90.c