From: Octavian Purdila <octavian.purdila@intel.com>
To: gregkh@linuxfoundation.org, linus.walleij@linaro.org,
gnurou@gmail.com, wsa@the-dreams.de, sameo@linux.intel.com,
lee.jones@linaro.org
Cc: arnd@arndb.de, johan@kernel.org, daniel.baluta@intel.com,
laurentiu.palcu@intel.com, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-i2c@vger.kernel.org,
Octavian Purdila <octavian.purdila@intel.com>
Subject: [PATCH v8 0/4] mfd: add support for Diolan DLN-2
Date: Wed, 15 Oct 2014 17:48:07 +0300 [thread overview]
Message-ID: <1413384491-23703-1-git-send-email-octavian.purdila@intel.com> (raw)
This patch series adds support for Diolan USB-I2C/GPIO Master Adapter
DLN-2. Details about device can be found here:
https://www.diolan.com/i2c/i2c_interface.html.
Changes since v7:
* MFD: add results parameter to dln2_transfer to allow receiving the
hardware result code; also fix dln2_transfer to return error only
if the result code is > 0x80;
* GPIO: update to the new dln2_transfer API
* I2C: update to the new dln2_transfer API, use DECLARE_BITMAP, use
new_cb as a variable name instead of new, update the Kconfig help
to mentioned DLN2_I2C and DLN2_GPIO, remove i2c_setup as it is not
useful anymore after removing the frequency code
Changes since v6:
* MFD: make sure DLN2_HANDLE_EVENT stays 0, move a few operations out
of the lock block, renamed one missed _rx_callback function to
_event_callback, speed-up disconnect by checking for it in
find_free_slot, remove the URB submit helper and simplify URB
resubmit code, use mfd_add_hotplug_devices, change the driver name
to dln2 (from usb-dln2), initialize disconnect_lock
* GPIO: no changes
* I2C: keep sorting in Kconfig and Makefile, add warning for transfers
bigger then DLN2_I2C_MAX_XFER_SIZE, remove frequency code - I will
send a separate patch that moves this to i2c core, revert to using
tx structures for dln2_i2c_enable
Daniel Baluta (1):
gpio: add support for the Diolan DLN-2 USB GPIO driver
Laurentiu Palcu (1):
i2c: add support for Diolan DLN-2 USB-I2C adapter
Octavian Purdila (2):
mfd: add support for Diolan DLN-2 devices
gpiolib: add irq_not_threaded flag to gpio_chip
drivers/gpio/Kconfig | 12 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-dln2.c | 557 +++++++++++++++++++++++++++++++
drivers/gpio/gpiolib.c | 2 +-
drivers/i2c/busses/Kconfig | 10 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-dln2.c | 270 +++++++++++++++
drivers/mfd/Kconfig | 11 +
drivers/mfd/Makefile | 1 +
drivers/mfd/dln2.c | 756 ++++++++++++++++++++++++++++++++++++++++++
include/linux/gpio/driver.h | 3 +
include/linux/mfd/dln2.h | 69 ++++
12 files changed, 1692 insertions(+), 1 deletion(-)
create mode 100644 drivers/gpio/gpio-dln2.c
create mode 100644 drivers/i2c/busses/i2c-dln2.c
create mode 100644 drivers/mfd/dln2.c
create mode 100644 include/linux/mfd/dln2.h
--
1.9.1
next reply other threads:[~2014-10-15 14:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 14:48 Octavian Purdila [this message]
2014-10-15 14:48 ` [PATCH v8 1/4] mfd: add support for Diolan DLN-2 devices Octavian Purdila
2014-10-23 15:16 ` Johan Hovold
2014-10-27 13:21 ` Octavian Purdila
2014-10-27 14:36 ` Johan Hovold
2014-10-15 14:48 ` [PATCH v8 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter Octavian Purdila
[not found] ` <1413384491-23703-3-git-send-email-octavian.purdila-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-10-16 6:58 ` Wolfram Sang
2014-10-23 15:19 ` Johan Hovold
2014-10-27 12:42 ` Octavian Purdila
2014-10-15 14:48 ` [PATCH v8 3/4] gpiolib: add irq_not_threaded flag to gpio_chip Octavian Purdila
2014-10-20 5:08 ` Alexandre Courbot
[not found] ` <CAAVeFuJ4B37YgvTBctXqmtWJtg3b19PDt1EEZF5Rc6KVXZzUtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-20 10:19 ` Octavian Purdila
[not found] ` <CAE1zot+FL54r3a6-qJwDti3D2dGCSwN=a0g0ki28cy1ToXgSfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-23 5:10 ` Alexandre Courbot
2014-10-15 14:48 ` [PATCH v8 4/4] gpio: add support for the Diolan DLN-2 USB GPIO driver Octavian Purdila
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=1413384491-23703-1-git-send-email-octavian.purdila@intel.com \
--to=octavian.purdila@intel.com \
--cc=arnd@arndb.de \
--cc=daniel.baluta@intel.com \
--cc=gnurou@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=laurentiu.palcu@intel.com \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=wsa@the-dreams.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).