diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-03-05 22:17:15 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-03-05 22:17:15 +0100 |
commit | 53de33427fa3d7dd62cc5ec75ce0d4e6c6d602dd (patch) | |
tree | 82a1fd88a2d132b534fe3df3e2ea536c1b5099ae /Documentation/hwmon | |
parent | 95238364167edaf93ce2890e5f55326b63194851 (diff) | |
download | kernel_samsung_smdk4412-53de33427fa3d7dd62cc5ec75ce0d4e6c6d602dd.zip kernel_samsung_smdk4412-53de33427fa3d7dd62cc5ec75ce0d4e6c6d602dd.tar.gz kernel_samsung_smdk4412-53de33427fa3d7dd62cc5ec75ce0d4e6c6d602dd.tar.bz2 |
hwmon: (lm90) Add SMBus alert support
Tested successfully with an ADM1032 chip on its evaluation board. It
should work fine with all other chips as well.
At this point this is more of a proof-of-concept, we don't do anything
terribly useful on SMBus alert: we simply log the event. But this could
later evolve into libsensors signaling so that user-space applications
can take an appropriate action.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Trent Piepho <tpiepho@freescale.com>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/lm90 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/hwmon/lm90 b/Documentation/hwmon/lm90 index 08106ad..6a03dd4 100644 --- a/Documentation/hwmon/lm90 +++ b/Documentation/hwmon/lm90 @@ -173,6 +173,18 @@ The lm90 driver will not update its values more frequently than every other second; reading them more often will do no harm, but will return 'old' values. +SMBus Alert Support +------------------- + +This driver has basic support for SMBus alert. When an alert is received, +the status register is read and the faulty temperature channel is logged. + +The Analog Devices chips (ADM1032 and ADT7461) do not implement the SMBus +alert protocol properly so additional care is needed: the ALERT output is +disabled when an alert is received, and is re-enabled only when the alarm +is gone. Otherwise the chip would block alerts from other chips in the bus +as long as the alarm is active. + PEC Support ----------- |