]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: imu: bmi270: add step counter watermark event
authorGustavo Silva <gustavograzs@gmail.com>
Mon, 16 Jun 2025 23:53:10 +0000 (20:53 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Jul 2025 09:37:51 +0000 (10:37 +0100)
commite602ee39986a3500762f8c05db84e931492293d4
tree63e33cec82001fca0a4283f06be2af1e968ac503
parent7c62cd9c796a4e1b38a23cb70e56275cf7c7ac77
iio: imu: bmi270: add step counter watermark event

Add support for generating events when the step counter reaches the
configurable watermark.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Gustavo Silva <gustavograzs@gmail.com>
Link: https://patch.msgid.link/20250616-bmi270-events-v3-2-16e37588604f@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bmi270/bmi270_core.c