[i2c] USB to I2C interface

Till Harbaum (Lists) lists at harbaum.org
Sat Oct 28 21:03:47 CEST 2006


Hi,

On Saturday 28 October 2006 15:39, Mark M. Hoffman wrote:
> This would be quite welcome.
We'll see, it looks quite promising and is nearly done.

> The algorithm portion of most I2C bus drivers is trivial.  Have a look at
> drivers/i2c/i2c-sis96x, or any of the other "south bridge" bus drivers for
> an example.
In the meantime i figured out, that i can omit plenty parts. Since i e.g. 
don't need/use a algorithm driver (all master_xmit messages are basically 
directly forwarded to the device) and since i don't need something like a 
file operations interface the whole thing is quite simple and short.

> IMHO it belongs in drivers/i2c.  The name is pretty generic though.  I
> would prefer if you give your hardware a name (e.g. harbaum-usb) and then
> name the driver appropriately (i2c-harbaum-usb).
Hmm, i agree that i2c-usb is probably too generic. But i2c-harbaum-usb isn't 
that beautiful either. Perhaps i2c-avr-usb, since it's based on an avr cpu.

Thanks,
  Till

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



More information about the i2c mailing list