All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: Mark Brown <broonie@kernel.org>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Lee Jones <lee.jones@linaro.org>, Johan Havold <johan@kernel.org>
Cc: Octavian Purdila <octavian.purdila@intel.com>,
	linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Laurentiu Palcu <laurentiu.palcu@intel.com>
Subject: [PATCH v3 0/2] Add SPI support for Diolan DLN2
Date: Tue, 18 Nov 2014 14:09:57 +0200	[thread overview]
Message-ID: <1416312599-5176-1-git-send-email-laurentiu.palcu@intel.com> (raw)

Short note: I couldn't see the 2nd patch applied in any mfd tree, so I
included it again.

Changes in v3:
 * fixed some coding style problems;
 * do not use dln2->buf for small commands, use the stack;
 * removed a bunch of __packed attributes that were not really needed;
 * change the copy from/to buffer routines to use put/get_unaligned
   macros to avoid potential buffer alignment issues;

Changes in v2:
 * fixed an indentation issue;
 * removed redundant call to spi_master_put() in _remove();

Hi,

This patchset adds support for the SPI module of the Diolan DLN2 USB to
I2C/SPI/GPIO bridge [1].

This patch depends on another patchset, [1], not yet merged, which adds support
for the other two modules: I2C and GPIO.

[1] http://www.diolan.com/products/dln2/features.html
[2] http://marc.info/?l=linux-kernel&m=141528172903850&w=2

laurentiu

Laurentiu Palcu (2):
  spi: add support for DLN-2 USB-SPI adapter
  mfd: dln2: add support for USB-SPI module

 drivers/mfd/dln2.c     |  12 +
 drivers/spi/Kconfig    |  10 +
 drivers/spi/Makefile   |   1 +
 drivers/spi/spi-dln2.c | 818 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 841 insertions(+)
 create mode 100644 drivers/spi/spi-dln2.c

-- 
1.9.1


WARNING: multiple messages have this Message-ID (diff)
From: Laurentiu Palcu <laurentiu.palcu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Johan Havold <johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Octavian Purdila
	<octavian.purdila-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Laurentiu Palcu
	<laurentiu.palcu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH v3 0/2] Add SPI support for Diolan DLN2
Date: Tue, 18 Nov 2014 14:09:57 +0200	[thread overview]
Message-ID: <1416312599-5176-1-git-send-email-laurentiu.palcu@intel.com> (raw)

Short note: I couldn't see the 2nd patch applied in any mfd tree, so I
included it again.

Changes in v3:
 * fixed some coding style problems;
 * do not use dln2->buf for small commands, use the stack;
 * removed a bunch of __packed attributes that were not really needed;
 * change the copy from/to buffer routines to use put/get_unaligned
   macros to avoid potential buffer alignment issues;

Changes in v2:
 * fixed an indentation issue;
 * removed redundant call to spi_master_put() in _remove();

Hi,

This patchset adds support for the SPI module of the Diolan DLN2 USB to
I2C/SPI/GPIO bridge [1].

This patch depends on another patchset, [1], not yet merged, which adds support
for the other two modules: I2C and GPIO.

[1] http://www.diolan.com/products/dln2/features.html
[2] http://marc.info/?l=linux-kernel&m=141528172903850&w=2

laurentiu

Laurentiu Palcu (2):
  spi: add support for DLN-2 USB-SPI adapter
  mfd: dln2: add support for USB-SPI module

 drivers/mfd/dln2.c     |  12 +
 drivers/spi/Kconfig    |  10 +
 drivers/spi/Makefile   |   1 +
 drivers/spi/spi-dln2.c | 818 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 841 insertions(+)
 create mode 100644 drivers/spi/spi-dln2.c

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2014-11-18 12:10 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 12:09 Laurentiu Palcu [this message]
2014-11-18 12:09 ` [PATCH v3 0/2] Add SPI support for Diolan DLN2 Laurentiu Palcu
2014-11-18 12:09 ` [PATCH v3 1/2] spi: add support for DLN-2 USB-SPI adapter Laurentiu Palcu
2014-11-18 17:06   ` Johan Hovold
2014-11-18 17:06     ` Johan Hovold
2014-11-19  9:53     ` Laurentiu Palcu
2014-11-19 10:09       ` Johan Hovold
2014-11-19 10:09         ` Johan Hovold
2014-11-19 10:47   ` [PATCH v4 " Laurentiu Palcu
2014-11-19 10:47     ` Laurentiu Palcu
2014-11-19 12:21     ` Johan Hovold
2014-11-19 12:21       ` Johan Hovold
2014-11-19 13:07     ` [PATCH v5 " Laurentiu Palcu
2014-11-19 13:07       ` Laurentiu Palcu
2014-11-19 13:51       ` Johan Hovold
2014-11-19 13:51         ` Johan Hovold
2014-11-19 14:12         ` Laurentiu Palcu
2014-11-19 14:12           ` Laurentiu Palcu
2014-11-26 10:09   ` [PATCH v6 " Laurentiu Palcu
2014-11-26 18:25     ` Mark Brown
2014-11-26 18:25       ` Mark Brown
2014-11-27 10:30       ` Laurentiu Palcu
2014-11-27 10:30         ` Laurentiu Palcu
2014-11-28 13:09   ` [PATCH v7 " Laurentiu Palcu
2014-11-28 14:10     ` Mark Brown
2014-11-28 14:57       ` Laurentiu Palcu
2014-11-28 14:57         ` Laurentiu Palcu
2014-11-28 15:14         ` Mark Brown
2014-11-28 15:14           ` Mark Brown
2014-11-28 15:31           ` Laurentiu Palcu
2014-11-28 15:31             ` Laurentiu Palcu
2014-11-28 16:01             ` Mark Brown
2014-11-28 18:13               ` Laurentiu Palcu
2014-11-28 18:13                 ` Laurentiu Palcu
2014-11-28 18:35                 ` Mark Brown
2014-11-28 18:35                   ` Mark Brown
2014-11-28 19:27                   ` Laurentiu Palcu
2014-11-28 19:27                     ` Laurentiu Palcu
2014-11-28 19:46                     ` Mark Brown
2014-11-28 19:46                       ` Mark Brown
2014-11-28 19:21                 ` Octavian Purdila
2014-11-28 19:21                   ` Octavian Purdila
2014-12-05 18:34     ` Mark Brown
2014-12-05 18:34       ` Mark Brown
2014-11-18 12:09 ` [PATCH v3 2/2] mfd: dln2: add support for USB-SPI module Laurentiu Palcu
2014-11-18 12:09   ` Laurentiu Palcu
2014-11-19 16:29   ` Lee Jones
2014-11-19 16:29     ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1416312599-5176-1-git-send-email-laurentiu.palcu@intel.com \
    --to=laurentiu.palcu@intel.com \
    --cc=broonie@kernel.org \
    --cc=johan@kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=octavian.purdila@intel.com \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.