linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] iio: accel: kxcjk1013 3-axis accelerometer driver
@ 2014-06-11 22:06 Srinivas Pandruvada
  2014-06-11 22:07 ` Srinivas Pandruvada
  0 siblings, 1 reply; 4+ messages in thread
From: Srinivas Pandruvada @ 2014-06-11 22:06 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio, Srinivas Pandruvada

v3
Addressed issues raised by Jonathan:
- validate trigger
- Resume implementation for cases where user space doesn't issue close before
putting system to suspend
- probe fn:  trigger path: Instead of goto use client->irq >= 0
- probe fn: Use if (data->trig_mode) to cleanup triggers
- probe fn: Call kxcjk1013_acpi_gpio_probe only if the i2c irq < 0
- raw interface for SAMP_FREQ: Pre-multiply to micros
- Removed separate function to adjust polarity
- Add platform data interface to get interrupt polarity
- Still kxcjk1013_get_acc_reg as it is called from multiple places, to keep clean
- ODR change after buffer enable: The chip is set back to operation mode
- Some alignment issue

v1 and v2
Addressed formatting and endianess issue 
identified by Peter Meerwald

v0
base version

Srinivas Pandruvada (1):
  iio: accel: kxcjk1013 3-axis accelerometer driver

 drivers/iio/accel/Kconfig            |  12 +
 drivers/iio/accel/Makefile           |   1 +
 drivers/iio/accel/kxcjk-1013.c       | 762 +++++++++++++++++++++++++++++++++++
 include/linux/iio/accel/kxcjk_1013.h |  22 +
 4 files changed, 797 insertions(+)
 create mode 100644 drivers/iio/accel/kxcjk-1013.c
 create mode 100644 include/linux/iio/accel/kxcjk_1013.h

-- 
1.7.11.7

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

end of thread, other threads:[~2014-06-14 23:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 22:06 [PATCH v3] iio: accel: kxcjk1013 3-axis accelerometer driver Srinivas Pandruvada
2014-06-11 22:07 ` Srinivas Pandruvada
2014-06-14 16:20   ` Jonathan Cameron
2014-06-14 23:10     ` Srinivas Pandruvada

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