linux-stable/drivers/iio/imu
Stefan Popa e0e6398e1e 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>
2019-04-04 20:19:43 +01:00
..
bmi160 iio:bmi160: use if (ret) instead of if (ret < 0) 2019-02-09 15:25:25 +00:00
inv_mpu6050 First set of new device support, features and cleanup for IIO in the 5.1 cycle 2019-02-04 07:06:36 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: remove set but not used variable '' 2018-12-22 16:58:14 +00:00
adis.c iio:imu:adis: Mark expected switch fall-throughs 2018-07-07 18:01:05 +01:00
adis16400.h
adis16400_buffer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
adis16400_core.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00
adis16480.c iio: imu: adis16480: Calculate the sampling frequency in a generic way 2019-04-04 20:19:43 +01:00
adis_buffer.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
adis_trigger.c iio: adis_lib: Initialize trigger before requesting interrupt 2018-02-17 14:16:35 +00:00
Kconfig iio: imu: add support to lsm6dsx driver 2017-01-14 12:40:37 +00:00
kmx61.c iio:imu: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 21:31:01 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00