Re: [PATCH v7 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-10 Thread Johan Hovold
On Thu, Oct 09, 2014 at 11:27:12PM +0300, Octavian Purdila wrote: > On Thu, Oct 9, 2014 at 10:44 PM, Joe Perches wrote: > > On Thu, 2014-10-09 at 22:22 +0300, Octavian Purdila wrote: > >> diff --git a/drivers/mfd/dln2.c b/drivers/mfd/dln2.c > > [] > > +struct dln2_mod_rx_slots { > > + /* RX

Re: [PATCH v7 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-09 Thread Octavian Purdila
On Thu, Oct 9, 2014 at 10:44 PM, Joe Perches wrote: > On Thu, 2014-10-09 at 22:22 +0300, Octavian Purdila wrote: >> This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO >> Master Adapter DLN-2. Details about the device can be found here: > > trivia: > >> diff --git a/drivers/mfd/Kconf

Re: [PATCH v7 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-09 Thread Joe Perches
On Thu, 2014-10-09 at 22:22 +0300, Octavian Purdila wrote: > This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO > Master Adapter DLN-2. Details about the device can be found here: trivia: > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig [] > +config MFD_DLN2 > + tristat

[PATCH v7 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-09 Thread Octavian Purdila
This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be found in the Programmer's Reference Manual [1], see section 1.7. Because th