[i2c] [lm-sensors] I2C for uCLinux on ARM926EJ (with AMBA bus)
Drasko Draskovic
drasko.draskovic at gmail.com
Wed Aug 2 14:14:42 CEST 2006
On 8/2/06, Mark M. Hoffman <mhoffman at lightlink.com> wrote:
>
> Hi:
>
> * Drasko Draskovic <drasko.draskovic at gmail.com> [2006-08-02 10:30:34
> +0200]:
> > So, it looks like I'll have to investigate bus/adapter for ApI2c. As I
> > understand, since AMBA is supported in kernel, if adapter part of i2c
> driver
> > code is writen for ApI2c, than I2C on this architecture would be
> functional
> > (if I for example use eeprom as a pripheral, which is already supposrtd
> chip
> > by lm code). Is this right?
>
> Yes.
>
> > Also, I wanted to ask the question what about algos? Do I have to worry
> > about that? I mean - is just writing adapter part enogh, so I can
> transmit
> > and receive messages?
>
> You will not have to add a file in the "algos" directory. You'll probably
> just implement a trivial little 'struct i2c_algorithm' like many of the
> drivers in drivers/i2c/busses do. E.g. take a look at i2c-sis96x.
>
> > I am wondering -- how come that so popular architecture as ARM (adn AMBA
> > ApI2c interface) is not already supported by lm code...
>
> Two answers, you pick:
>
> 1) There's always a first.
>
> 2) Embedded guys rarely contribute their stuff back to main line.
>
> Regards,
>
> --
> Mark M. Hoffman
> mhoffman at lightlink.com
>
>
Mark,
thanks again. Things are startinig to clear a bit. Your instructions really
helped.
Two answers, you pick:
>
> 1) There's always a first.
>
> 2) Embedded guys rarely contribute their stuff back to main line.
I'd rather pick the first :). If I do anything useful, I'll sure contribute.
Cheers,
--
Drasko DRASKOVIC
Software Developer
Elsys-DESIGN
Belgrade, Serbia
Tel. +381.11.311.5252
Fax. +381.11.311.5251
www.elsys-design.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/i2c/attachments/20060802/bc3d31d1/attachment.html
More information about the i2c
mailing list