linux/drivers/staging/iio
Nuno Sá 380b107bbf iio: adis: Introduce timeouts structure
The adis library only allows to define a `startup_delay` which for some
devices is enough. However, other devices define different timeouts with
significantly different timings which could lead to devices to not wait
enough time or to wait a lot more than necessary (which is not
efficient). This patch introduces a new timeout struct that must be
passed into `adis_init()`. There are mainly, for now, three timeouts
used. This is also an introductory patch with the goal of refactoring
`adis_initial_startup()`. New driver's (eg: adis16480, adis16460) are
replicating code for the device initial setup. With some changes (being
this the first one) we can pass this to `adis_initial_startup()`.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-01-12 11:34:12 +00:00
..
accel iio: adis: Introduce timeouts structure 2020-01-12 11:34:12 +00:00
adc staging: iio: adc: ad7192: Add system calibration support 2019-09-08 10:35:56 +01:00
addac Second set of IIO device support, features, cleanups and minor fixes for 5.3. 2019-07-01 10:58:13 +02:00
cdc Second set of IIO device support, features, cleanups and minor fixes for 5.3. 2019-07-01 10:58:13 +02:00
Documentation staging: iio: ad5933: add ABI documentation 2019-04-04 20:20:13 +01:00
frequency staging: iio: ad9834: add a check for devm_clk_get 2019-10-18 20:08:01 +01:00
impedance-analyzer First set of new device support, features and fixes for IIO in the 5.2 cycle 2019-04-04 22:25:29 +02:00
meter Merge 5.1-rc6 into staging-next 2019-04-21 23:18:44 +02:00
resolver staging: iio: ad2s1210: Use device-managed API 2019-07-27 22:52:06 +01:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: iio: Drop ADIS16060 driver from staging 2018-06-10 11:52:31 +01:00
TODO staging: iio: Augment TODO file with GPIO work item 2018-04-23 14:36:10 +02:00