diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-10-26 21:39:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 14:02:14 -0700 |
commit | c3df5806cdae6fac678c662b527cb974bef4b60c (patch) | |
tree | a510da8447852247907dd6896cdf51c7e3d60844 /Documentation/hwmon/sysfs-interface | |
parent | 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d (diff) | |
download | kernel_goldelico_gta04-c3df5806cdae6fac678c662b527cb974bef4b60c.zip kernel_goldelico_gta04-c3df5806cdae6fac678c662b527cb974bef4b60c.tar.gz kernel_goldelico_gta04-c3df5806cdae6fac678c662b527cb974bef4b60c.tar.bz2 |
[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>
Diffstat (limited to 'Documentation/hwmon/sysfs-interface')
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index 3464005..764cdc5 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface @@ -272,3 +272,6 @@ beep_mask Bitmask for beep. eeprom Raw EEPROM data in binary form. Read only. + +pec Enable or disable PEC (SMBus only) + Read/Write |