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)
commitdca39af8831e65adc13e0f9f8bdca3a746185072
tree78f1ea03259aa7db1078ee4262cc1e1ab1e1a313
parent6e4707ed3411d0cb3c1d9a0a093f77fbdf768fa5
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