|
|
Log in / Subscribe / Register

iio: accel: bma220: add events

From:  Petre Rodan <petre.rodan-AT-subdimension.ro>
To:  Jonathan Cameron <jic23-AT-kernel.org>, David Lechner <dlechner-AT-baylibre.com>, Nuno Sá <nuno.sa-AT-analog.com>, Andy Shevchenko <andy-AT-kernel.org>
Subject:  [PATCH 0/6] iio: accel: bma220: add events
Date:  Tue, 14 Oct 2025 19:42:56 +0300
Message-ID:  <20251014-bma220_events-v1-0-153424d7ea08@subdimension.ro>
Cc:  linux-iio-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

Series of patches that add tap/double-tap, high-g, low-g and slope
event detection to the bma220 driver.

The first two patches also do a bit of cleanup after the previous series.

The latch functionality is skipped for now since I'm unsure at this time
on how to implement a new API for it within iio.

To be applied to the iio testing branch.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
---
Petre Rodan (6):
      iio: accel: bma220: white space cleanup
      iio: accel: bma220: remove useless include
      iio: accel: bma220: add tap detection
      iio: accel: bma220: add low-g event detection
      iio: accel: bma220: add high-g event detection
      iio: accel: bma220: add any-motion detection

 drivers/iio/accel/bma220_core.c | 647 +++++++++++++++++++++++++++++++++++++++-
 drivers/iio/accel/bma220_i2c.c  |   1 -
 drivers/iio/accel/bma220_spi.c  |   4 +-
 3 files changed, 647 insertions(+), 5 deletions(-)
---
base-commit: 4b17a60d1e1c2d9d2ccbd58642f6f4ac2fa364ba
change-id: 20251014-bma220_events-6c36acb4a7c1

Best regards,
-- 
Petre Rodan <petre.rodan@subdimension.ro>




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds