linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] iio: accel: adxl372: Add support for FIFO peak mode
@ 2020-08-10  9:32 alexandru.tachici
  2020-08-10  9:32 ` [PATCH v5 1/2] " alexandru.tachici
  2020-08-10  9:32 ` [PATCH v5 2/2] iio: accel: adxl372: Add additional trigger ABI docs alexandru.tachici
  0 siblings, 2 replies; 7+ messages in thread
From: alexandru.tachici @ 2020-08-10  9:32 UTC (permalink / raw)
  To: linux-iio, linux-kernel; +Cc: jic23

From: Alexandru Tachici <alexandru.tachici@analog.com>

This series adds the possibility to configure
the device, from sysfs, to work in peak mode. This enables
adxl372 to capture only over threshold accelerations.

1. Create sysfs files for falling_period/rising_period
and thresh_falling_value/thresh_rising_value in events/ dir.
Set INT1 reg for activity/inactivity and push
event code in events fifo on irq.

2. Document use of iio events sysfs files.

Alexandru Tachici (1):
  iio: accel: adxl372: Add additional trigger ABI docs

Stefan Popa (1):
  iio: accel: adxl372: Add support for FIFO peak mode

Changelog v4 -> v5:
  - squash iio event interface patch into peak mode patch
  - move patch to 100 lines length
  - use((x) & BIT(0)) construct for define ADXL372_Y_AXIS_EN(x)
  - add ABI docs to explain the use of the additional trigger

 .../ABI/testing/sysfs-bus-iio-accel-adxl372   |   7 +
 drivers/iio/accel/adxl372.c                   | 302 +++++++++++++++++-
 2 files changed, 301 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-accel-adxl372

-- 
2.20.1


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

end of thread, other threads:[~2020-09-03 18:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10  9:32 [PATCH v5 0/2] iio: accel: adxl372: Add support for FIFO peak mode alexandru.tachici
2020-08-10  9:32 ` [PATCH v5 1/2] " alexandru.tachici
2020-08-29 17:43   ` Jonathan Cameron
2020-09-01 18:40     ` Jonathan Cameron
2020-09-03 18:29       ` Jonathan Cameron
2020-08-10  9:32 ` [PATCH v5 2/2] iio: accel: adxl372: Add additional trigger ABI docs alexandru.tachici
2020-08-29 17:34   ` Jonathan Cameron

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