From: Viresh Kumar <viresh.kumar-qxv4g6HH51o@public.gmane.org>
To: "w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org"
<w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: "khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org"
<khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>,
"ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org"
<ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
"linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org"
<baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org>,
"ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org"
<ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
"omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"ml.lawnick-Mmb7MZpHnFY@public.gmane.org"
<ml.lawnick-Mmb7MZpHnFY@public.gmane.org>,
spear-devel <spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org>,
"viresh.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<viresh.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH V4 1/2] i2c/adapter: Add bus recovery infrastructure
Date: Tue, 15 May 2012 12:28:39 +0530 [thread overview]
Message-ID: <4FB1FE9F.7030700@st.com> (raw)
In-Reply-To: <3484bf49a423bd55daa6a45e68c2c31dce46eb32.1336124143.git.viresh.kumar-qxv4g6HH51o@public.gmane.org>
On 5/4/2012 3:10 PM, Viresh KUMAR wrote:
> Add i2c bus recovery infrastructure to i2c adapters as specified in the i2c
> protocol Rev. 03 section 3.16 titled "Bus clear".
>
> http://www.nxp.com/documents/user_manual/UM10204.pdf
>
> Sometimes during operation i2c bus hangs and we need to give dummy clocks to
> slave device to start the transfer again. Now we may have capability in the bus
> controller to generate these clocks or platform may have gpio pins which can be
> toggled to generate dummy clocks. This patch supports both.
>
> This patch also adds in generic bus recovery routines gpio or scl line based
> which can be used by bus controller. In addition controller driver may provide
> its own version of the bus recovery routine.
>
> Signed-off-by: Viresh Kumar <viresh.kumar-qxv4g6HH51o@public.gmane.org>
> ---
> Documentation/i2c/bus-recovery | 87 ++++++++++++++++++++++
> drivers/i2c/i2c-core.c | 160 ++++++++++++++++++++++++++++++++++++++++
> drivers/i2c/i2c-mux.c | 9 ++-
> include/linux/i2c.h | 58 ++++++++++++++
> 4 files changed, 313 insertions(+), 1 deletions(-)
> create mode 100644 Documentation/i2c/bus-recovery
Hi Wolfram,
Any inputs on this patch.
--
viresh
next prev parent reply other threads:[~2012-05-15 6:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 9:40 [PATCH V4 0/2] I2C: Add bus recovery infrastructure Viresh Kumar
[not found] ` <cover.1336124143.git.viresh.kumar-qxv4g6HH51o@public.gmane.org>
2012-05-04 9:40 ` [PATCH V4 1/2] i2c/adapter: " Viresh Kumar
[not found] ` <3484bf49a423bd55daa6a45e68c2c31dce46eb32.1336124143.git.viresh.kumar-qxv4g6HH51o@public.gmane.org>
2012-05-15 6:58 ` Viresh Kumar [this message]
[not found] ` <4FB1FE9F.7030700-qxv4g6HH51o@public.gmane.org>
2012-06-13 9:03 ` viresh kumar
[not found] ` <CAOh2x=m1XFLpunpTPUW7ozT3cExXNHyLwF7sDy4MxyjuK2uNwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-02 11:08 ` Shiraz Hashim
[not found] ` <20120702110818.GP1978-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2012-07-16 11:35 ` viresh kumar
2012-07-18 13:57 ` Shubhrajyoti Datta
2012-07-27 14:39 ` Shubhrajyoti Datta
2012-05-04 9:41 ` [PATCH V4 2/2] i2c/designware: Provide i2c bus recovery support Viresh Kumar
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=4FB1FE9F.7030700@st.com \
--to=viresh.kumar-qxv4g6hh51o@public.gmane.org \
--cc=baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ml.lawnick-Mmb7MZpHnFY@public.gmane.org \
--cc=omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=spear-devel-nkJGhpqTU55BDgjK7y7TUQ@public.gmane.org \
--cc=viresh.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=w.sang-bIcnvbaLZ9MEGnE8C9+IrQ@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).