iio: accel: bma400: Add step change event
authorJagath Jog J <jagathjog1996@gmail.com>
Thu, 5 May 2022 13:30:17 +0000 (19:00 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 11 Jun 2022 13:35:26 +0000 (14:35 +0100)
commitd024af5b3970b9a9e7ae01629edf2e36827462e4
treee7542003921f843738374b2a1218c4e62082e3e1
parentd221de60eee374f00ede8a182ae4b3db7427c19c
iio: accel: bma400: Add step change event

Added support for event when there is a detection of step change.
INT1 pin is used to interrupt and event is pushed to userspace.

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