]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: adis: Add support for SPI transfer cs_change_delay
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 23 Jul 2019 07:36:38 +0000 (10:36 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 21:52:06 +0000 (22:52 +0100)
commit83206040d46f26603f12a849f4c243d279ef0e43
tree78f1ea03259aa7db1078ee4262cc1e1ab1e1a313
parent2fba2f1eb9fab5e58fc01219fce51c2ad9bdf126
iio: imu: adis: Add support for SPI transfer cs_change_delay

The ADIS16460 requires a higher delay before the next transfer. Since the
SPI framework supports configuring the delay before the next transfer, this
driver will become the first user of it.

The support for this functionality in ADIS16460 requires an addition to the
ADIS lib to support the `cs_change_delay` functionality from the SPI
subsystem.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c
include/linux/iio/imu/adis.h