]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: imu: adis16480.c: Add delta angle and delta velocity channels
authorRamona Gradinariu <ramona.bolboaca13@gmail.com>
Tue, 28 May 2024 14:24:05 +0000 (17:24 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Jun 2024 18:53:09 +0000 (19:53 +0100)
commit196f5406baa55c05746c4b3733c7d80a91ecdeeb
tree96e5a137ea79eff426505085f91152c5a27153ca
parent8c0a438fa037fde88eeeb415e1ac77e133ee6930
iio: imu: adis16480.c: Add delta angle and delta velocity channels

Add support for delta angle and delta velocity raw readings to
adis16480 driver.
The following devices do not support delta readings in burst mode:
ADIS16375, ADIS16480, ADIS16485, ADIS16488, ADIS16490, ADIS16495-1,
ADIS16495-2, ADIS16495-3, ADIS16497-1, ADIS16497-2, ADIS16497-3, thus
they cannot be retrieved via the buffer interface.
For these devices, the delta measurements are retrieved by performing
normal register readings and are made available through the raw
attributes of the specific channels.

Signed-off-by: Ramona Gradinariu <ramona.gradinariu@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240528142409.239187-3-ramona.gradinariu@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16480.c