aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.h
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti@ti.com>2010-08-14 15:08:50 -0400
committerJean Delvare <khali@linux-fr.org>2010-08-14 15:08:50 -0400
commit9914518e79800c977e20eda1335d43a4df813e3d (patch)
tree48cc84975364ad67932b184722dce594a67650de /drivers/hwmon/lm75.h
parent960f12f4d1eb5ba3c76dc6b57a909a65dd59e1c2 (diff)
hwmon: (lm75) Add suspend/resume feature
There is a shutdown feature at suspend it can be enabled to reduce current consumption and resume it can be switched off. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti@ti.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/lm75.h')
-rw-r--r--drivers/hwmon/lm75.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/lm75.h b/drivers/hwmon/lm75.h
index 7c93454bb4e3..e547a3eb4de3 100644
--- a/drivers/hwmon/lm75.h
+++ b/drivers/hwmon/lm75.h
@@ -30,6 +30,7 @@
30/* straight from the datasheet */ 30/* straight from the datasheet */
31#define LM75_TEMP_MIN (-55000) 31#define LM75_TEMP_MIN (-55000)
32#define LM75_TEMP_MAX 125000 32#define LM75_TEMP_MAX 125000
33#define LM75_SHUTDOWN 0x01
33 34
34/* TEMP: 0.001C/bit (-55C to +125C) 35/* TEMP: 0.001C/bit (-55C to +125C)
35 REG: (0.5C/bit, two's complement) << 7 */ 36 REG: (0.5C/bit, two's complement) << 7 */