public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [POWERPC] muas3001: added support for the LM75 sensor.
@ 2008-09-08  8:21 Heiko Schocher
  2008-09-10  8:53 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Schocher @ 2008-09-08  8:21 UTC (permalink / raw)
  To: u-boot

[POWERPC] 82xx: added support for the LM75 Temp.
                 sensor on the muas3001 board.

Signed-off-by: Heiko Schocher <hs@denx.de>
---
 include/configs/muas3001.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/configs/muas3001.h b/include/configs/muas3001.h
index 55f7b1e..bc085b8 100644
--- a/include/configs/muas3001.h
+++ b/include/configs/muas3001.h
@@ -127,6 +127,7 @@
  */
 #include <config_cmd_default.h>

+#define CONFIG_CMD_DTT
 #define CONFIG_CMD_ECHO
 #define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_MII
@@ -240,6 +241,15 @@
 #define CFG_I2C_SPEED		100000	/* I2C speed and slave address	*/
 #define CFG_I2C_SLAVE		0x7F

+#define	CFG_EEPROM_PAGE_WRITE_ENABLE
+#define	CFG_EEPROM_PAGE_WRITE_BITS 3
+/* I2C SYSMON (LM75, AD7414 is almost compatible)                       */
+#define	CONFIG_DTT_LM75		1	/* ON Semi's LM75               */
+#define	CONFIG_DTT_SENSORS	{0}	/* Sensor addresses             */
+#define	CFG_DTT_MAX_TEMP	70
+#define	CFG_DTT_LOW_TEMP	-30
+#define	CFG_DTT_HYSTERESIS	3
+
 #define CFG_IMMR		0xF0000000
 #define CFG_DEFAULT_IMMR	0x0F010000

-- 
1.5.6.1

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [POWERPC] muas3001: added support for the LM75 sensor.
  2008-09-08  8:21 [U-Boot] [POWERPC] muas3001: added support for the LM75 sensor Heiko Schocher
@ 2008-09-10  8:53 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-09-10  8:53 UTC (permalink / raw)
  To: u-boot

Dear Heiko Schocher,

In message <48C4E077.7060305@denx.de> you wrote:
> [POWERPC] 82xx: added support for the LM75 Temp.
>                  sensor on the muas3001 board.
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>  include/configs/muas3001.h |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Monday is an awful way to spend one seventh of your life.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-10  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08  8:21 [U-Boot] [POWERPC] muas3001: added support for the LM75 sensor Heiko Schocher
2008-09-10  8:53 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox