iio: accel: bma400: Add triggered buffer support

[ Upstream commit ffe0ab6a96 ]

Added trigger buffer support to read continuous acceleration
and temperature data from device with data ready interrupt which
is mapped to INT1 pin.

Signed-off-by: Jagath Jog J <jagathjog1996@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220505133021.22362-5-jagathjog1996@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jagath Jog J 2022-05-05 19:00:15 +05:30 • committed by Greg Kroah-Hartman
commit 0b2a557a13
5 changed files with 185 additions and 8 deletions