mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jan Luebbe <jluebbe@debian.org>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2 0/6] i2c: add bus recovery infrastructure
Date: Fri, 31 Jul 2015 09:29:21 +0200	[thread overview]
Message-ID: <20150731072921.GS18700@pengutronix.de> (raw)
In-Reply-To: <1438267931-22374-1-git-send-email-jluebbe@debian.org>

On Thu, Jul 30, 2015 at 04:52:05PM +0200, Jan Luebbe wrote:
> This series ports the kernel's i2c bus recovery support to barebox.
> 
> Bus recovery is necessary when a slave device pulls the SDA line low because it
> is in a wrong state. The fix is to toggle the SCL line, which move the slaves
> into the idle state. Using the same structure and callbacks as the kernel makes
> it easy to port the per-driver code to barebox.
> 
> Changes from v1:
>   - Let the driver configure the function pointers to avoid linking in
>     i2c_generic_gpio_recovery when it is not actually needed.
>   - Add recovery support to i2c-gpio.
> 
> Jan Luebbe (6):
>   i2c: add bus recovery infrastructure
>   i2c-omap: clear ARDY twice
>   i2c-omap: add bus recovery support
>   i2c: algo-bit: fix debug code
>   i2c: algo-bit: check if the bus is busy
>   i2c: gpio: add bus recovery support

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-07-31  7:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 14:52 Jan Luebbe
2015-07-30 14:52 ` [PATCH v2 1/6] " Jan Luebbe
2015-07-30 14:52 ` [PATCH v2 2/6] i2c-omap: clear ARDY twice Jan Luebbe
2015-07-30 14:52 ` [PATCH v2 3/6] i2c-omap: add bus recovery support Jan Luebbe
2015-07-30 14:52 ` [PATCH v2 4/6] i2c: algo-bit: fix debug code Jan Luebbe
2015-07-30 14:52 ` [PATCH v2 5/6] i2c: algo-bit: check if the bus is busy Jan Luebbe
2015-07-30 14:52 ` [PATCH v2 6/6] i2c: gpio: add bus recovery support Jan Luebbe
2015-07-31  7:29 ` Sascha Hauer [this message]
2015-08-03  9:20   ` [PATCH v2 0/6] i2c: add bus recovery infrastructure Sascha Hauer

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=20150731072921.GS18700@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=jluebbe@debian.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