From mboxrd@z Thu Jan 1 00:00:00 1970 From: Octavian Purdila Subject: [PATCH v9 0/4] mfd: add support for Diolan DLN-2 Date: Mon, 27 Oct 2014 18:31:08 +0200 Message-ID: <1414427472-4100-1-git-send-email-octavian.purdila@intel.com> Return-path: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org, sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org Cc: arnd-r2nGTMty4D4@public.gmane.org, johan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, daniel.baluta-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, laurentiu.palcu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Octavian Purdila List-Id: linux-gpio@vger.kernel.org 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. This patch series is against the MFD tree branch for-mfd-next-v3.19. It does include a gpiolib patch that was merged by Linus W but it was not yet pulled into Lee's tree. Changes since v8: * common: remove result parameter from dln2_transfer as it is not yet used in this patch set (we will add it later with the i2c change freq patches); fix comments to wrap to 80 columns instead of 70 * MFD: add two variants for dln2_transfer: dln2_trasfer_rx and dln2_transfer_tx; use entry instead of new_cb in dln2_register_event_cb; rename dln2_rx_transfer to dln2_transfer_complete and add comment about the URB completion, also move the warning about late/missing responses here; * GPIO: use dln2_transfer_rx and dln2_transfer_tx where possible * I2C: use dln2_transfer_rx and dln2_transfer_tx where possible; use adapter's device instead of platform's device for dev_err/dev_info/etc prints 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 | 553 ++++++++++++++++++++++++++++++ drivers/gpio/gpiolib.c | 2 +- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-dln2.c | 267 +++++++++++++++ drivers/mfd/Kconfig | 11 + drivers/mfd/Makefile | 1 + drivers/mfd/dln2.c | 761 ++++++++++++++++++++++++++++++++++++++++++ include/linux/gpio/driver.h | 3 + include/linux/mfd/dln2.h | 103 ++++++ 12 files changed, 1724 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