From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f67.google.com ([209.85.220.67]:34017 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933111AbcIXGEL (ORCPT ); Sat, 24 Sep 2016 02:04:11 -0400 Received: by mail-pa0-f67.google.com with SMTP id i5so2786399pad.1 for ; Fri, 23 Sep 2016 23:04:11 -0700 (PDT) From: Matt Ranostay To: linux-iio@vger.kernel.org Cc: jic23@kernel.org, Matt Ranostay Subject: [PATCH v6 0/2] iio: potentiostat: add LMP91000 support Date: Fri, 23 Sep 2016 23:04:06 -0700 Message-Id: <1474697048-22355-1-git-send-email-matt@ranostay.consulting> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org Changes from v1: * Rename ti-adc1x1s.c driver to ti-adc161s626.c * Switch from iio_channel_read() to using the industrialio-buffer-cb interface * Process data in ADC trigger handler for buffer callbacks * Set the mux trigger to the ADC referenced by io-channels by default Changes from v2: * Fix configuration index shifting values * Switch from wait_for_completion_interruptible to wait_for_completion_timeout Changes from v3: * Fix order of probe function error rollback Changes from v4: * Report back scale + offset from adc * Switch temperature channel from IIO_VOLTAGE to IIO_TEMP with processing * Add iio_read_channel_offset helper Changes from v5: * making IIO_CHAN_INFO_SCALE consumer access have less duplicate code * fixed race condition with trigger getting registered before immutable trigger being set to the ADC consumer Matt Ranostay (2): iio: inkern: add iio_read_channel_offset helper iio: potentiostat: add LMP91000 support .../bindings/iio/potentiostat/lmp91000.txt | 30 ++ drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + drivers/iio/inkern.c | 39 +- drivers/iio/potentiostat/Kconfig | 22 + drivers/iio/potentiostat/Makefile | 6 + drivers/iio/potentiostat/lmp91000.c | 445 +++++++++++++++++++++ include/linux/iio/consumer.h | 13 + 8 files changed, 544 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/potentiostat/lmp91000.txt create mode 100644 drivers/iio/potentiostat/Kconfig create mode 100644 drivers/iio/potentiostat/Makefile create mode 100644 drivers/iio/potentiostat/lmp91000.c -- 2.7.4