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

2014-10-09 Thread Johan Hovold
On Wed, Oct 08, 2014 at 03:33:28PM +0300, Octavian Purdila wrote: On Wed, Oct 8, 2014 at 3:04 PM, Johan Hovold jo...@kernel.org wrote: On Wed, Oct 08, 2014 at 01:54:07PM +0300, Octavian Purdila wrote: On Wed, Oct 8, 2014 at 12:23 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25,

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

2014-10-08 Thread Johan Hovold
On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: +static void dln2_rx_transfer(struct dln2_dev *dln2, struct urb *urb, + u16 handle, u16 rx_slot) +{ + struct dln2_mod_rx_slots *rxs = dln2-mod_rx_slots[handle]; + struct dln2_rx_context *rxc;

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

2014-10-08 Thread Johan Hovold
On Tue, Oct 07, 2014 at 09:01:27PM +0300, Octavian Purdila wrote: On Tue, Oct 7, 2014 at 8:10 PM, Johan Hovold jo...@kernel.org wrote: On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25,

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

2014-10-08 Thread Octavian Purdila
On Wed, Oct 8, 2014 at 12:23 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: +static void dln2_rx_transfer(struct dln2_dev *dln2, struct urb *urb, + u16 handle, u16 rx_slot) +{ + struct dln2_mod_rx_slots

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

2014-10-08 Thread Johan Hovold
On Wed, Oct 08, 2014 at 01:54:07PM +0300, Octavian Purdila wrote: On Wed, Oct 8, 2014 at 12:23 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: +static void dln2_rx_transfer(struct dln2_dev *dln2, struct urb *urb, +

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

2014-10-08 Thread Octavian Purdila
On Wed, Oct 8, 2014 at 3:04 PM, Johan Hovold jo...@kernel.org wrote: On Wed, Oct 08, 2014 at 01:54:07PM +0300, Octavian Purdila wrote: On Wed, Oct 8, 2014 at 12:23 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: +static void

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

2014-10-07 Thread Johan Hovold
On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter

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

2014-10-07 Thread Octavian Purdila
On Tue, Oct 7, 2014 at 8:10 PM, Johan Hovold jo...@kernel.org wrote: On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: This patch

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

2014-10-06 Thread Octavian Purdila
On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +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: snip + +

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

2014-10-03 Thread Johan Hovold
On Thu, Sep 25, 2014 at 07:07:31PM +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: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be

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

2014-09-25 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