[PATCH v5 4/6] iio:adxl372: Add FIFO and interrupts support

2018-08-07 Thread Stefan Popa
This patch adds support for the adxl372 FIFO. In order to accomplish this, triggered buffers were used. The number of FIFO samples which trigger the watermark interrupt can be configured by using the buffer watermark. The FIFO format is determined by configuring the scan elements for each axis.

[PATCH v5 4/6] iio:adxl372: Add FIFO and interrupts support

2018-08-07 Thread Stefan Popa
This patch adds support for the adxl372 FIFO. In order to accomplish this, triggered buffers were used. The number of FIFO samples which trigger the watermark interrupt can be configured by using the buffer watermark. The FIFO format is determined by configuring the scan elements for each axis.