[PATCH v6 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Stefan Popa
This patch adds the option for the user to select the sampling frequency. Also, the user can read the available frequencies and read the currently set frequency via the read_raw function. The frequency can be set via the write_raw function. When the frequency is set, the bandwidth is also checked

[PATCH v6 5/6] iio:adxl372: Add sampling frequency support

2018-08-10 Thread Stefan Popa
This patch adds the option for the user to select the sampling frequency. Also, the user can read the available frequencies and read the currently set frequency via the read_raw function. The frequency can be set via the write_raw function. When the frequency is set, the bandwidth is also checked