[PATCH v4 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-09 Thread Octavian Purdila
From: Laurentiu Palcu This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 6.2.2 for the I2C master mod

Re: [PATCH v4 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-17 Thread Johan Hovold
On Tue, Sep 09, 2014 at 10:24:45PM +0300, Octavian Purdila wrote: > From: Laurentiu Palcu > > This patch adds support for the Diolan DLN-2 I2C master module. Due > to hardware limitations it does not support SMBUS quick commands. > > Information about the USB protocol interface can be found in t

Re: [PATCH v4 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-17 Thread Octavian Purdila
On Wed, Sep 17, 2014 at 12:44 PM, Johan Hovold wrote: >> + /* >> + * Buffer to hold the packet for read or write transfers. One >> + * is enough since we can't have multiple transfers in >> + * parallel on the i2c adapter. >> + */ >> + union { >> + struct

Re: [PATCH v4 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-18 Thread Johan Hovold
On Wed, Sep 17, 2014 at 01:07:51PM +0300, Octavian Purdila wrote: > On Wed, Sep 17, 2014 at 12:44 PM, Johan Hovold wrote: > > > > >> + /* > >> + * Buffer to hold the packet for read or write transfers. One > >> + * is enough since we can't have multiple transfers in > >> + *

Re: [PATCH v4 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-18 Thread Octavian Purdila
On Thu, Sep 18, 2014 at 11:19 AM, Johan Hovold wrote: > On Wed, Sep 17, 2014 at 01:07:51PM +0300, Octavian Purdila wrote: >> On Wed, Sep 17, 2014 at 12:44 PM, Johan Hovold wrote: >> >> >> >> >> + /* >> >> + * Buffer to hold the packet for read or write transfers. One >> >> + * is e

Re: [PATCH v4 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-18 Thread Johan Hovold
On Thu, Sep 18, 2014 at 11:49:19AM +0300, Octavian Purdila wrote: > On Thu, Sep 18, 2014 at 11:19 AM, Johan Hovold wrote: > > On Wed, Sep 17, 2014 at 01:07:51PM +0300, Octavian Purdila wrote: > >> On Wed, Sep 17, 2014 at 12:44 PM, Johan Hovold wrote: > >> > >> > >> > >> >> + /* > >> >> +