lkml.org 
[lkml]   [2014]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/2] Add SPI support for Diolan DLN2
Date
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



\
 
 \ /
  Last update: 2014-11-18 13:41    [W:0.137 / U:2.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site