[i2c] I2C functionality bits

Till Harbaum (Lists) lists at harbaum.org
Thu Nov 2 19:43:31 CET 2006


Hi,

On Thursday 02 November 2006 09:04, Jean Delvare wrote:
> If you are doing bit-banging, please don't reimplement it, just use
> i2c-algo-bit in your driver. It'll even export the right
> functionalities for you (check drivers/i2c/algos/i2c-algo-bit.c to find
> out which; it does indeed include I2C_FUNC_SMBUS_EMUL)
The bitbanging is done inside the device. Linux doesn't see that at all and 
you can easily build a device that uses the avrs hardware i2c. From the
linux point of view they are just the same.

> You can safely ignore 10-bit devices, we've never seen any.
Oh ...

Ciao,
  Till

-- 
Dr.Ing. Till Harbaum <till at harbaum.org>
http://www.harbaum.org/till



More information about the i2c mailing list