summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ltc2632.c
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-08-20 17:54:27 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-08-25 09:18:35 +0100
commit5e605a4df6f18dc4e2e529f5f2e01f76441cece5 (patch)
treeacdb1d6951af205fab1fb7a522bbbc967b3bfbcb /drivers/iio/dac/ltc2632.c
parent1c412a321590d4a01698b85710e29b1e575de1a7 (diff)
iio:adxl372: Add sampling frequency support
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 and ensured that it is constrained to at most half of the sampling frequency. Also, the activity and inactivity timers have to be updated because they depend on the selected ODR. Signed-off-by: Stefan Popa <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ltc2632.c')
0 files changed, 0 insertions, 0 deletions