Re: [PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event detection feature for fxls8471.

From: Martin Kepplinger
Date: Mon Sep 25 2017 - 02:37:26 EST


Am 25.09.2017 05:15 schrieb Harinath Nampally:
This patch adds following changes to support tap feature:
- defines pulse event related registers
- enables and handles single pulse interrupt for fxls8471
- handles IIO_EV_DIR_EITHER in read/write callbacks
because event direction for pulse is either rising or
falling.
- configures read/write event value for pulse latency register
using IIO_EV_INFO_HYSTERESIS.
- add multiple events like pulse and tranient event spec
as elements of event_spec array named 'mma8452_accel_events'

Except mma8653 chip all other chips like mma845x and
fxls8471 have single tap detection feature.
Tested thoroughly using iio_event_monitor application on
imx6ul-evk board.


Doesn't fit in your patchset. I'd like to review this (most likely as soon
as it applies to -next) so either post this seperately or rename your
cover letter.

thanks

martin