[U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions
Timur Tabi
timur at freescale.com
Tue Dec 16 00:42:28 CET 2008
ksi at koi8.net wrote:
> On Mon, 15 Dec 2008, Wolfgang Denk wrote:
>
> Are you going to implement support for multiple I2C busses on some boards?
> I'm working on something like this now so it would be nice to coordinate our
> efforts somehow...
Yes, my goal is to add low-level i2c functions that take an i2c bus as a
parameter. So instead of
i2c_set_bus_num(1);
i2c_read(...);
you can do
i2c_read(1, ...)
or something like that. My goal is to eliminate i2c_set_bus_num() and
everything related to it.
It sounds like we're working on something very similar. This is very
low-priority for me, though.
--
Timur Tabi
Linux kernel developer at Freescale
More information about the U-Boot
mailing list