public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/3] iio: mma8452: cleanup and freefall mode
@ 2015-12-15 16:44 Martin Kepplinger
  2015-12-15 16:44 ` [PATCH 1/3] iio: mma8452: remove unused register description Martin Kepplinger
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Martin Kepplinger @ 2015-12-15 16:44 UTC (permalink / raw)
  To: jic23, knaack.h, lars, pmeerw, christoph.muellner, mfuzzey
  Cc: linux-iio, linux-kernel

This is v2 of cleanup and freefall detection for mma8452 devices.

[PATCH 1/3] iio: mma8452: remove unused register description
[PATCH 2/3] iio: mma8452: use enum for channel index
[PATCH 3/3] iio: mma8452: add freefall detection for Freescale's

If freefall mode (x&y&z falling event) is enabled, changes to individual
(rising) axis events have no effect, keeping the state consistent to
what values the user reads.

Other combinations (x&y, y&z, x&z) could be added later. x&y&z is
by far the most useful one for freefall detection.

Of course this doesn't change anything for existing users.

revision history
----------------
v2: freefall channel idx -1, seperate enum patch, cleanup and fixes
    thanks to Jonathan's review.


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

end of thread, other threads:[~2015-12-19 16:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 16:44 [PATCHv2 0/3] iio: mma8452: cleanup and freefall mode Martin Kepplinger
2015-12-15 16:44 ` [PATCH 1/3] iio: mma8452: remove unused register description Martin Kepplinger
2015-12-19 16:45   ` Jonathan Cameron
2015-12-15 16:45 ` [PATCH 2/3] iio: mma8452: use enum for channel index Martin Kepplinger
2015-12-19 16:46   ` Jonathan Cameron
2015-12-15 16:45 ` [PATCH 3/3] iio: mma8452: add freefall detection for Freescale's accelerometers Martin Kepplinger
2015-12-19 16:59   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox