[PATCH v2 0/6] i2c: add bus recovery infrastructure

Sascha Hauer s.hauer at pengutronix.de
Fri Jul 31 00:29:21 PDT 2015


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 |



More information about the barebox mailing list