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

2014-10-27 Thread Octavian Purdila
On Thu, Oct 23, 2014 at 6:19 PM, Johan Hovold wrote: > > On Wed, Oct 15, 2014 at 05:48:09PM +0300, Octavian Purdila wrote: > > > +static int dln2_i2c_xfer(struct i2c_adapter *adapter, > > + struct i2c_msg *msgs, int num) > > +{ > > + struct dln2_i2c *dln2 = i2c_get_adapdat

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

2014-10-23 Thread Johan Hovold
On Wed, Oct 15, 2014 at 05:48:09PM +0300, Octavian Purdila wrote: > +static int dln2_i2c_xfer(struct i2c_adapter *adapter, > + struct i2c_msg *msgs, int num) > +{ > + struct dln2_i2c *dln2 = i2c_get_adapdata(adapter); > + struct i2c_msg *pmsg; > + struct device *de

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

2014-10-15 Thread Wolfram Sang
On Wed, Oct 15, 2014 at 05:48:09PM +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

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

2014-10-15 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