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

Add a channel for enabling/disabling the step counter, reading the
number of steps and resetting the counter.

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