Skip to content

Bring in new I2C framework

Tom Rini u-boot 1 version New

Get series with b4
b4 am 20121026184445.GF31793@bill-the-cat

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/3] Bring in new I2C framework

On Thu, Oct 25, 2012 at 02:37:08PM -0700, Simon Glass wrote:

[snip]

Quoted 6 lines

Later, I wonder whether the concept of a 'current' i2c bus should be maintained by the command line interpreter, rather than the i2c system. Because to be honest, most of the drivers I see have to save the current bus number, set the current bus, do the operation, then set the bus back how they found it (to preserve whatever the user things is the current bus).

I agree. Lets move the notion of "current" to cmd_i2c and make everything internally pass around the bus to operate on. Or try going down this path and find a fatal problem :)

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121026/f80ee320/attachment.pgp>