[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251030072752.349633-1-flavra@baylibre.com>
Date: Thu, 30 Oct 2025 08:27:43 +0100
From: Francesco Lavra <flavra@...libre.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/9] st_lsm6dsx: add tap event detection
The bulk of this patch set consists of reworking the existing code for event
detection (which supports IIO_EV_TYPE_THRESH events only) in order to make it
generic to accommodate different event types. Actual support for tap events is
implemented in the last patch.
Tested on LSMDSV16X.
Francesco Lavra (9):
iio: imu: st_lsm6dsx: dynamically initialize iio_chan_spec data
iio: imu: st_lsm6dsx: make event_settings more generic
iio: imu: st_lsm6dsx: move wakeup event enable mask to event_src
iio: imu: st_lsm6dsx: dynamically allocate iio_event_spec structs
iio: imu: st_lsm6dsx: rework code to check for enabled events
iio: imu: st_lsm6dsx: remove event_threshold field from hw struct
iio: imu: st_lsm6dsx: make event management functions generic
iio: imu: st_lsm6dsx: add event configurability on a per axis basis
iio: imu: stm_lsm6dsx: add tap event detection
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 73 +--
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 653 +++++++++++--------
2 files changed, 422 insertions(+), 304 deletions(-)
--
2.39.5
Powered by blists - more mailing lists