On Thu, Sep 10, 2015 at 03:50:00PM +0100, Sifan Naeem wrote:
> The following patches are required to fix the existing driver to
> support i2c on pistachio.
> 
> Tested on Pistachio bub using an Adafruit I2C Non-Volatile FRAM Breakout
> (256Kbit / 32KByte) eeprom.
> 
> Used i2c buildroot tools to test the eeprom and the other i2c blocks.
> Also used dd commands to copy data to and then to dump data from the
> eeprom. i2ctransfer was used to test repeated starts and verified
> using a scope.
> 
> Odeally these fixes should go in to Stable kernel (v3.19+).
> 
> Changes from v2:
>       5/7: Remove start bit detected not required, use line_status instead of 
> i2c->line_status
>       7/7: use %u instead if %d for unsigned
> 
> Sifan Naeem (7):
>   i2c: img-scb: enable fencing for all versions of the ip
>   i2c: img-scb: do dummy writes before fifo access
>   i2c: img-scb: use DIV_ROUND_UP to round divisor values
>   i2c: img-scb: fix LOW and HIGH period values for the SCL clock
>   i2c: img-scb: use line_status instead of i2c->line_status
>   i2c: img-scb: Clear line and interrupt status before starting a
>     transfer
>   i2c: img-scb: verify support for requested bit rate
> 
>  drivers/i2c/busses/i2c-img-scb.c |   73 
> ++++++++++++++++++++++----------------
>  1 file changed, 43 insertions(+), 30 deletions(-)

Series applied to for-next. Thanks to both James for the review!

Attachment: signature.asc
Description: Digital signature

Reply via email to