[i2c] AT91 bus driver loses data

Mark M. Hoffman mhoffman at lightlink.com
Mon Feb 19 03:05:54 CET 2007


Hi Ronny:

* Ronny Nilsson <rln-i2c at arbetsmyra.dyndns.org> [2007-02-19 00:57:33 +0100]:
> > Large transfers still do not necessarily imply that you need maximum
> > bandwidth. I don't know the specific requirements of your
> > application, nor do we know the requirements of any other users.
> >
> > With all of the above in mind, I suggest:
> >
> > 1) The I2C bus speed should be tunable, by a sysfs file *and* a
> > module param.
> 
> 
> That's good. A question though, can/should the sysfs support be made 
> "generic", as a part of the core I2C layer? Or should each bussdriver 

No, I don't think so.  A single device attribute for this driver is OK.

> handle it on its own? I guess many bussdrivers would like the same type 
> of tunables (clockspeed, timeouts, delays).

It's all very hardware dependent.  Most PC/SMBus devices have one or two
speeds at most.

Regards,

-- 
Mark M. Hoffman
mhoffman at lightlink.com




More information about the i2c mailing list