lkml.org 
[lkml]   [2020]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v5 0/2] iio: accel: adxl372: Add support for FIFO peak mode
    Date
    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

    \
     
     \ /
      Last update: 2020-08-10 11:33    [W:8.207 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site