summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2019-02-27 18:14:25 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:19:43 +0100
commite0e6398e1e4e27b06307457be8a85a7a5c0f9ef0 (patch)
tree31b941c7f515b6001713d90f778e9d83a320107e /kernel
parent6cf7b866bdd5cfbeb401cb65b928ebd46440490d (diff)
downloadlinux-e0e6398e1e4e27b06307457be8a85a7a5c0f9ef0.tar.bz2
iio: imu: adis16480: Calculate the sampling frequency in a generic way
The adis1648x devices have an internal clock of 2.46 kSPS. The sampling frequency is calculated by applying a decimation rate which can take the maximum value of 2047. Although all adis1648x devices are similar in this regard, devices that will use this feature will be added in the future. Signed-off-by: Stefan Popa <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions