Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1738765

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

From Martin Kepplinger <martink@posteo.de>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event detection feature for fxls8471.
Date 2017-09-25 08:40 +0200
Message-ID <utvdD-2CX-3@gated-at.bofh.it> (permalink)
References <uts65-zR-1@gated-at.bofh.it> <uts66-zR-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] This patchset refactors event related functions  Harinath Nampally <harinath922@gmail.com> - 2017-09-25 05:20 +0200
  [PATCH 2/3] iio: accel: mma8452: Rename read/write event value callbacks to generic function name. Harinath Nampally <harinath922@gmail.com> - 2017-09-25 05:20 +0200
  [PATCH 1/3] iio: accel: mma8452: Rename time step look up struct to generic name as the values are same for all the events. Harinath Nampally <harinath922@gmail.com> - 2017-09-25 05:20 +0200
  [PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event detection feature for fxls8471. Harinath Nampally <harinath922@gmail.com> - 2017-09-25 05:20 +0200
    Re: [PATCH 3/3] iio: accel: mma8452: Add single pulse/tap event  detection feature for fxls8471. Martin Kepplinger <martink@posteo.de> - 2017-09-25 08:40 +0200
  Re: [PATCH 0/3] This patchset refactors event related functions Martin Kepplinger <martink@posteo.de> - 2017-09-25 08:30 +0200

csiph-web