iio: accel: adxl355: Add triggered buffer support
authorPuranjay Mohan <puranjay12@gmail.com>
Fri, 3 Sep 2021 18:43:12 +0000 (00:13 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Sep 2021 11:00:35 +0000 (12:00 +0100)
commit327a0eaf19d53efc77f7073a43b2b0712bc6364d
treef0e0ee43a64351edb81dc1121faa3f11dcc5c0fd
parent86ff6cb15f46310a8f88f36f4c5e3b6a9ca32efd
iio: accel: adxl355: Add triggered buffer support

Provide a way for continuous data capture by setting up buffer support. The
data ready signal exposed at the DRDY pin of the ADXL355 is exploited as
a hardware interrupt which triggers to fill the buffer.

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Link: https://lore.kernel.org/r/20210903184312.21009-3-puranjay12@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/Kconfig
drivers/iio/accel/adxl355_core.c