[PATCH v6 6/6] iio:adxl372: Add filter bandwidth support

2018-08-10 Thread Stefan Popa
This patch adds the option for the user to select the filter bandwidth. The user can also read the available bandwidths which are always adjusted to be at most half of the sampling frequency. Furthermore, the currently selected bandwidth can be read via the read_raw function, while the write_raw

[PATCH v6 6/6] iio:adxl372: Add filter bandwidth support

2018-08-10 Thread Stefan Popa
This patch adds the option for the user to select the filter bandwidth. The user can also read the available bandwidths which are always adjusted to be at most half of the sampling frequency. Furthermore, the currently selected bandwidth can be read via the read_raw function, while the write_raw