iio: accel: bma400: Add separate channel for step counter
authorJagath Jog J <jagathjog1996@gmail.com>
Thu, 5 May 2022 13:30:16 +0000 (19:00 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 11 Jun 2022 13:35:26 +0000 (14:35 +0100)
commitd221de60eee374f00ede8a182ae4b3db7427c19c
treed33240485d114c8141d6a1a9e3452bd39d373159
parentffe0ab6a96988daa8b316290c15e1c7bbb9d4211
iio: accel: bma400: Add separate channel for step counter

Added channel for step counter which can be enable or disable
through the sysfs interface.

Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com>
Link: https://lore.kernel.org/r/20220505133021.22362-6-jagathjog1996@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/bma400.h
drivers/iio/accel/bma400_core.c