Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-19 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: > On Wed, 18 Feb 2009 09:14:05 +0100 > Heiko Schocher wrote: [...] >> But I was wondering why the DTTs are initialized so early. Is this >> necessary? If not, I don;t need this ... > > I searched and didn't find out why. If there's no reason then maybe we > don't

Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-18 Thread Kim Phillips
On Wed, 18 Feb 2009 09:14:05 +0100 Heiko Schocher wrote: > >>> between boots? If not, what's the reason the value isn't specified as > >>> a CONFIG_SYS_DTT_BUS_NUM? > >> It changes not between boots, but between different hardware. > > > > so why not make it a CONFIG_SYS_DTT_BUS_NUM instead of

Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-18 Thread Heiko Schocher
Hello Kim Kim Phillips wrote: > On Tue, 17 Feb 2009 07:03:23 +0100 > Heiko Schocher wrote: > >> Hello Kim, > > Hello Heiko, > >> Kim Phillips wrote: >>> On Wed, 11 Feb 2009 19:25:49 +0100 >>> Heiko Schocher wrote: /* switch to correct I2C bus */ old_bus = I2C_GET_BUS(); -

Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-17 Thread Kim Phillips
On Tue, 17 Feb 2009 07:03:23 +0100 Heiko Schocher wrote: > Hello Kim, Hello Heiko, > Kim Phillips wrote: > > On Wed, 11 Feb 2009 19:25:49 +0100 > > Heiko Schocher wrote: > >>/* switch to correct I2C bus */ > >>old_bus = I2C_GET_BUS(); > >> - I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM); > >> +

Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-16 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: > On Wed, 11 Feb 2009 19:25:49 +0100 > Heiko Schocher wrote: > >> diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c >> index 8119821..ecfc345 100644 >> --- a/drivers/hwmon/lm75.c >> +++ b/drivers/hwmon/lm75.c >> @@ -42,6 +42,8 @@ >> #define DTT_TEMP_HYST

Re: [U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-16 Thread Kim Phillips
On Wed, 11 Feb 2009 19:25:49 +0100 Heiko Schocher wrote: > diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c > index 8119821..ecfc345 100644 > --- a/drivers/hwmon/lm75.c > +++ b/drivers/hwmon/lm75.c > @@ -42,6 +42,8 @@ > #define DTT_TEMP_HYST0x2 > #define DTT_TEMP_SET

[U-Boot] [PATCH 03/12] 83xx, kmeter1: add I2C, dtt, eeprom support

2009-02-11 Thread Heiko Schocher
This patch adds I2C support for the Keymile kmeter1 board. It uses the First I2C Controller from the CPU, for accessing 4 temperature sensors, an eeprom with IVM data and the booteeprom over a pca9547 mux. Signed-off-by: Heiko Schocher --- board/keymile/common/common.c |2 +- board/keymile