X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdtt.h;h=4e8aaad87fef82140f416b6ccb956b710e3ca3bb;hb=06c428bcd4413014b43236e77765022071424fa6;hp=2e8c690158f16e4e86bf25d4f197d62b9e455d79;hpb=19909edb97140a5ea3139705589bb90e023ab5e1;p=u-boot diff --git a/include/dtt.h b/include/dtt.h index 2e8c690158..4e8aaad87f 100644 --- a/include/dtt.h +++ b/include/dtt.h @@ -31,7 +31,8 @@ defined(CONFIG_DTT_DS1621) || \ defined(CONFIG_DTT_DS1775) || \ defined(CONFIG_DTT_LM81) || \ - defined(CONFIG_DTT_ADM1021) + defined(CONFIG_DTT_ADM1021) || \ + defined(CONFIG_DTT_LM73) #define CONFIG_DTT /* We have a DTT */ @@ -119,4 +120,13 @@ extern int dtt_get_temp(int sensor); #define DTT_ADM1021_DEVID 0x41 #endif +#if defined(CONFIG_DTT_LM73) +#define DTT_READ_TEMP 0x0 +#define DTT_CONFIG 0x1 +#define DTT_TEMP_HIGH 0x2 +#define DTT_TEMP_LOW 0x3 +#define DTT_CONTROL 0x4 +#define DTT_ID 0x7 +#endif + #endif /* _DTT_H_ */