linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Octavian Purdila <octavian.purdila@intel.com>
To: jic23@kernel.org
Cc: lars@metafoo.de, pmeerw@pmeerw.net, knaack.h@gmx.de,
	linux-iio@vger.kernel.org,
	Octavian Purdila <octavian.purdila@intel.com>
Subject: [PATCH v6 0/3] iio: add support for hardware fifo
Date: Sun, 22 Mar 2015 20:33:37 +0200	[thread overview]
Message-ID: <1427049220-2876-1-git-send-email-octavian.purdila@intel.com> (raw)


Changes since v5:

 * remove hwfifo_get_watermark operation from iio_info operations; the
   driver can expose it dirrectly as a read-only buffer attribute and
   there is not much gain from do it in the core

 * in the case of non-blocking read flush with the full to read amount

 * fix a few spelling errors

 * add hwfifo_watermark_min, hwfifo_watermark_max,
   hwfifo_watermark_available, hwfifo_enabled attributes to give
   userspace more information of how to select a watermark that can
   used to enable the hardware fifo

 * rename hwfifo_flush to hwfifo_flush_to_buffer

 * bmc150: avoid changing the iio_info to keep it constant

 * bmc150: rename irq and threaded irq handlers


Josselin Costanzi (1):
  iio: add watermark logic to iio read and poll

Octavian Purdila (2):
  iio: add support for hardware fifo
  iio: bmc150_accel: add support for hardware fifo

 Documentation/ABI/testing/sysfs-bus-iio  |  84 +++++++
 drivers/iio/accel/bmc150-accel.c         | 407 +++++++++++++++++++++++++++++--
 drivers/iio/industrialio-buffer.c        | 164 +++++++++++--
 drivers/iio/kfifo_buf.c                  |  11 +-
 drivers/staging/iio/accel/sca3000_ring.c |   4 +-
 include/linux/iio/buffer.h               |   8 +-
 include/linux/iio/iio.h                  |  13 +
 7 files changed, 641 insertions(+), 50 deletions(-)

-- 
1.9.1


             reply	other threads:[~2015-03-22 18:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-22 18:33 Octavian Purdila [this message]
2015-03-22 18:33 ` [PATCH v6 1/3] iio: add watermark logic to iio read and poll Octavian Purdila
2015-03-28 12:24   ` Jonathan Cameron
2015-03-29 15:15     ` Jonathan Cameron
2015-03-22 18:33 ` [PATCH v6 2/3] iio: add support for hardware fifo Octavian Purdila
2015-03-28 12:33   ` Jonathan Cameron
2015-03-22 18:33 ` [PATCH v6 3/3] iio: bmc150_accel: " Octavian Purdila
2015-03-28 12:36   ` Jonathan Cameron
2015-03-24 12:27 ` [PATCH v6 0/3] iio: " Lars-Peter Clausen

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=1427049220-2876-1-git-send-email-octavian.purdila@intel.com \
    --to=octavian.purdila@intel.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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).