linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Teodora Baluta <teodora.baluta@intel.com>
To: jic23@kernel.org
Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
	daniel.baluta@intel.com, teodora.baluta@intel.com,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] iio: accel: add support for Memsic MXC4005
Date: Thu, 13 Aug 2015 20:31:38 +0300	[thread overview]
Message-ID: <1439487101-13085-1-git-send-email-teodora.baluta@intel.com> (raw)

This patch set adds support for Memsic MXC4005XC 3-axis accelerometer
sensor. The first patch adds basic support for the accelerometer, with
raw readings, the second patch adds support for buffer mode and the last
one adds the data ready trigger.

---
Changes since v1:
- fixes for the comments (coding style, proper buffer length,
  available_scan_masks)
- remove unnecessary locking for regmap operations since regmap has an
  internal locking mechanism
- keep the mutex for set_trigger_state operation to protect the state
  variable trigger_enabled

Teodora Baluta (3):
  iio: accel: add support for mxc4005 accelerometer
  iio: mxc4005: add triggered buffer mode for mxc4005
  iio: mxc4005: add data ready trigger for mxc4005

 drivers/iio/accel/Kconfig   |  13 +
 drivers/iio/accel/Makefile  |   2 +
 drivers/iio/accel/mxc4005.c | 586 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 601 insertions(+)
 create mode 100644 drivers/iio/accel/mxc4005.c

-- 
1.9.1


             reply	other threads:[~2015-08-13 17:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13 17:31 Teodora Baluta [this message]
2015-08-13 17:31 ` [PATCH v2 1/3] iio: accel: add support for mxc4005 accelerometer Teodora Baluta
2015-08-16  7:31   ` Jonathan Cameron
2015-08-19 12:09     ` Teodora Baluta
2015-08-13 17:31 ` [PATCH v2 2/3] iio: mxc4005: add triggered buffer mode for mxc4005 Teodora Baluta
2015-08-16  7:37   ` Jonathan Cameron
2015-08-19 12:09     ` Teodora Baluta
2015-08-13 17:31 ` [PATCH v2 3/3] iio: mxc4005: add data ready trigger " Teodora Baluta
2015-08-16  8:01   ` Jonathan Cameron
2015-08-19 12:31     ` Teodora Baluta

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=1439487101-13085-1-git-send-email-teodora.baluta@intel.com \
    --to=teodora.baluta@intel.com \
    --cc=daniel.baluta@intel.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@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).