Hi Matthias,
I remember Viresh was working on this support sometimes ago where he
added gpio based arbitration recovery on i2c-core.
http://lwn.net/Articles/485046/
I am also looking to use the gpio based arb recovery mechanism for the
i2c-tegra.c.
As this recovery will be generic, better to have this in common place so
that many driver can use this. Also the provision should be there to
configure pin as gpio and non-gpio mode.
Thanks,
Laxman
On Monday 16 July 2012 08:45 PM, Matthias Urlichs wrote:
Hello people,
I'd like to ask whether anybody is working on adding arbitration support to
i2c_algo_bit.c. The code still has the old "FIXME do arbitration here" comments,
added five years ago when the I²C was imported into Linux 2.3.34pre1. :-/
If not, and I'm going to have to do that myself … my main question is, even
before I get to that -- how do I even detect that the bus is idle? Turn
interrupts off and busy-loop-check that both SCL and SDA stay high for at least
one and a half clock periods?
Ugh.
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html