Re: [PATCH 1/2] i2c-core: Add gpio based bus arbitrationimplementation

From: Mark Brown
Date: Sat Dec 15 2012 - 09:21:31 EST


On Fri, Dec 14, 2012 at 09:06:49AM -0700, Stephen Warren wrote:
> On 12/13/2012 10:50 PM, Naveen Krishna Chatradhi wrote:

> > +The first should be an output, and is used to claim the I2C bus,
> > +the second should be an input, and signals that the other side (Client)
> > +wants to claim the bus. This allows two masters to share the same I2C bus.

> I'm confused why this is even needed; the I2C protocol itself defines
> how multi-master is supposed to work, just using the regular SCL/SDA lines.

Practically speaking essentially no systems actually do that - mostly
Linux will treat failure to get the bus as an error for example. You
also get things like read operations which appear as multiple
transactions on the I2C bus so require something higher level than what
multi-master provides.

Attachment: signature.asc
Description: Digital signature