summaryrefslogtreecommitdiff
path: root/include/dtt.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2007-01-15 12:56:52 +0100
committerWolfgang Denk <wd@denx.de>2007-01-15 12:56:52 +0100
commitddd4123336aad881f50dc34892ac150cfa8143fe (patch)
tree6c0b21eca82e9f849fe3c098971d703f60d38b19 /include/dtt.h
parent9c3b365a88045c530b6b8b0f2e39b0437dc39b18 (diff)
parenta443d31410c571ee8f970da819a44d698fdd6b1f (diff)
downloadu-boot-imx-ddd4123336aad881f50dc34892ac150cfa8143fe.zip
u-boot-imx-ddd4123336aad881f50dc34892ac150cfa8143fe.tar.gz
u-boot-imx-ddd4123336aad881f50dc34892ac150cfa8143fe.tar.bz2
Merge with /home/hs/MAN/u-boot-dev
Diffstat (limited to 'include/dtt.h')
-rw-r--r--include/dtt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dtt.h b/include/dtt.h
index a17aa67..842a761 100644
--- a/include/dtt.h
+++ b/include/dtt.h
@@ -29,6 +29,7 @@
#if defined(CONFIG_DTT_LM75) || \
defined(CONFIG_DTT_DS1621) || \
+ defined(CONFIG_DTT_LM81) || \
defined(CONFIG_DTT_ADM1021)
#define CONFIG_DTT /* We have a DTT */
@@ -58,6 +59,14 @@ extern int dtt_get_temp(int sensor);
#define DTT_TEMP_SET 0x3
#endif
+#if defined(CONFIG_DTT_LM81)
+#define DTT_READ_TEMP 0x27
+#define DTT_CONFIG_TEMP 0x4b
+#define DTT_TEMP_MAX 0x39
+#define DTT_TEMP_HYST 0x3a
+#define DTT_CONFIG 0x40
+#endif
+
#if defined(CONFIG_DTT_DS1621)
#define DTT_READ_TEMP 0xAA
#define DTT_READ_COUNTER 0xA8