]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: st_lsm6dsx: add motion events
authorSean Nyekjaer <sean@geanix.com>
Mon, 16 Sep 2019 13:56:27 +0000 (15:56 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 5 Oct 2019 11:30:56 +0000 (12:30 +0100)
commit9355c795e60c1f602d497b943490a79c64192ff3
tree2958e18e0ed413e86797446009445a84b86a65d9
parent867aac3e360d3514c4c5684c80d201a8f3569e49
iio: imu: st_lsm6dsx: add motion events

Add event channels that controls the creation of motion events.
Tested on ISM330DLC

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c