Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for WoM (Wake-on-Motion) feature
@ 2025-02-20 20:52 Jean-Baptiste Maneyrol via B4 Relay
  2025-02-20 20:52 ` [PATCH 1/2] iio: imu: inv_icm42600: add WoM support Jean-Baptiste Maneyrol via B4 Relay
  2025-02-20 20:52 ` [PATCH 2/2] iio: imu: inv_icm42600: add wakeup functionality for Wake-on-Motion Jean-Baptiste Maneyrol via B4 Relay
  0 siblings, 2 replies; 10+ messages in thread
From: Jean-Baptiste Maneyrol via B4 Relay @ 2025-02-20 20:52 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen
  Cc: linux-iio, linux-kernel, Jean-Baptiste Maneyrol

Similar to feature present in older chip, it compares the magnitude of
the last 2 accel samples against a threshold and returns an interrupt
even if the value is higher.

WoM maps best to accel x|y|z ROC event. This series add system wakeup
functionality if WoM is on and wakeup is enabled when system suspends.

This series also prepare the driver for supporting further APEX
features like pedometer, tilt, ... It introduces an apex structure that
will hold all APEX settings and track the enable state.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
---
Jean-Baptiste Maneyrol (2):
      iio: imu: inv_icm42600: add WoM support
      iio: imu: inv_icm42600: add wakeup functionality for Wake-on-Motion

 drivers/iio/imu/inv_icm42600/inv_icm42600.h        |  49 +++-
 drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c  | 267 ++++++++++++++++++++-
 drivers/iio/imu/inv_icm42600/inv_icm42600_buffer.c |   2 +-
 drivers/iio/imu/inv_icm42600/inv_icm42600_core.c   | 125 ++++++++--
 4 files changed, 416 insertions(+), 27 deletions(-)
---
base-commit: c0f115a8d97599623294c8e9ec28530e19c1e85b
change-id: 20250220-losd-3-inv-icm42600-add-wom-support-0620fef9db23

Best regards,
-- 
Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>



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

end of thread, other threads:[~2025-03-31 11:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 20:52 [PATCH 0/2] Add support for WoM (Wake-on-Motion) feature Jean-Baptiste Maneyrol via B4 Relay
2025-02-20 20:52 ` [PATCH 1/2] iio: imu: inv_icm42600: add WoM support Jean-Baptiste Maneyrol via B4 Relay
2025-02-22 16:14   ` Jonathan Cameron
2025-03-11 15:28     ` Jean-Baptiste Maneyrol
2025-02-20 20:52 ` [PATCH 2/2] iio: imu: inv_icm42600: add wakeup functionality for Wake-on-Motion Jean-Baptiste Maneyrol via B4 Relay
2025-02-22 16:22   ` Jonathan Cameron
2025-03-11 15:31     ` Jean-Baptiste Maneyrol
2025-03-15 18:17       ` Jonathan Cameron
2025-03-19 21:06         ` Jean-Baptiste Maneyrol
2025-03-31 11:26           ` Jonathan Cameron

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