lm_sensors-2.10.0/kernel/include/i2c-dev.h
Thanks,
Paul
On 4/23/06, Christoph Scheurer <[EMAIL PROTECTED]> wrote:
This is a nice discussion of the interoperatbility:
http://www.maxim-ic.com/appnotes.cfm/appnote_number/476
I'll also attach the i2c header file I was refering to earlier.
Christoph
On Sun, Apr 23, 2006 at 08:23:57AM +0200, Christoph Scheurer wrote:
> Hi,
>
> Besides more restrictive electrical specifications and timeouts to prevent the
> bus to be locked, SMBus is a subset of I2C, i.e. for the protocol every I2C
> master device can send all commands a SMBus slave is able to understand while
> this is not true the other way around. Because of this it would be better to
> stick to SMBus commands. If the PXA board is truely I2C it should be no
> problem for it to issue all the SMBus commands. That it is not SMBus compliant
> can only mean that it has other electrical characteristics or does not support
> the timeouts required by SMBus.
>
> Christoph
>
> On Sat, Apr 22, 2006 at 03:37:04PM -0400, Paul Alfille wrote:
> > That's OK. There is so little actual i2c code, I can use the raw i2c commands.
> >
> > Near as I can tell, there are only a few primatives:
> > DeviceReset
> > 1W reset
> > 1W channel select
> > 1W read/write byte
> > 1W triplet
> > 1W powerbyte
> >
> > Some things, like selecting i2c address, and distinguishing between -100 and
> > -800 aren't so clear. Testing will be useful.
> >
> > Paul
