linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] iio: accel: add support for Memsic MXC4005
@ 2015-08-13 17:31 Teodora Baluta
  2015-08-13 17:31 ` [PATCH v2 1/3] iio: accel: add support for mxc4005 accelerometer Teodora Baluta
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Teodora Baluta @ 2015-08-13 17:31 UTC (permalink / raw)
  To: jic23
  Cc: knaack.h, lars, pmeerw, daniel.baluta, teodora.baluta, linux-iio,
	linux-kernel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-08-19 12:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-13 17:31 [PATCH v2 0/3] iio: accel: add support for Memsic MXC4005 Teodora Baluta
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

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).