linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matt Ranostay <mranostay@gmail.com>
To: linux-iio@vger.kernel.org
Cc: jic23@kernel.org, Matt Ranostay <matt@ranostay.consulting>
Subject: [PATCH v6 0/2] iio: potentiostat: add LMP91000 support
Date: Fri, 23 Sep 2016 23:04:06 -0700	[thread overview]
Message-ID: <1474697048-22355-1-git-send-email-matt@ranostay.consulting> (raw)

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


             reply	other threads:[~2016-09-24  6:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-24  6:04 Matt Ranostay [this message]
2016-09-24  6:04 ` [PATCH v6 1/2] iio: inkern: add iio_read_channel_offset helper Matt Ranostay
2016-09-24 16:52   ` Jonathan Cameron
2016-09-24  6:04 ` [PATCH v6 2/2] iio: potentiostat: add LMP91000 support Matt Ranostay
2016-09-24 16:59   ` Jonathan Cameron

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=1474697048-22355-1-git-send-email-matt@ranostay.consulting \
    --to=mranostay@gmail.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=matt@ranostay.consulting \
    /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).