From: Laxman Dewangan <ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Matthias Urlichs <matthias-+qxcz+fHsVSELgA04lAiVw@public.gmane.org>
Cc: "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Viresh Kumar <viresh.kumar-qxv4g6HH51o@public.gmane.org>
Subject: Re: State of arbitration and i2c_gpio?
Date: Mon, 16 Jul 2012 21:35:38 +0530 [thread overview]
Message-ID: <50043BD2.9030505@nvidia.com> (raw)
In-Reply-To: <loom.20120710T223443-322-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
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.
-----------------------------------------------------------------------------------
next prev parent reply other threads:[~2012-07-16 16:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-16 15:15 State of arbitration and i2c_gpio? Matthias Urlichs
[not found] ` <loom.20120710T223443-322-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2012-07-16 16:05 ` Laxman Dewangan [this message]
2012-07-16 20:58 ` Jean Delvare
[not found] ` <20120716225827.3425f4f8-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-07-17 6:55 ` Matthias Urlichs
[not found] ` <20120717065544.GF11678-ci3XGGwdvIcvfNposrsB4g@public.gmane.org>
2012-07-17 7:11 ` Jean Delvare
[not found] ` <20120717091115.44e28fd0-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-07-17 8:46 ` Matthias Urlichs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50043BD2.9030505@nvidia.com \
--to=ldewangan-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=matthias-+qxcz+fHsVSELgA04lAiVw@public.gmane.org \
--cc=viresh.kumar-qxv4g6HH51o@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.