linux/drivers/iio/gyro
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
..
adis16080.c iio: gyro: adis16080: replace mlock with own lock 2019-10-05 15:54:58 +01:00
adis16130.c iio: gyro: adis16130: remove mlock usage 2019-10-05 13:45:03 +01:00
adis16136.c iio: adis: Introduce timeouts structure 2020-01-12 11:34:12 +00:00
adis16260.c iio: adis: Introduce timeouts structure 2020-01-12 11:34:12 +00:00
adxrs450.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177 2019-05-30 11:29:19 -07:00
bmg160_core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
bmg160_i2c.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
bmg160_spi.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
bmg160.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fxas21002c_core.c iio: gyro: add core driver for fxas21002c 2019-04-22 11:34:09 +01:00
fxas21002c_i2c.c iio: gyro: fxas21002c: add i2c driver 2019-04-22 11:34:12 +01:00
fxas21002c_spi.c iio: gyro: fxas21002c: add spi driver 2019-04-22 11:34:12 +01:00
fxas21002c.h iio: gyro: add core driver for fxas21002c 2019-04-22 11:34:09 +01:00
hid-sensor-gyro-3d.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
itg3200_buffer.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
itg3200_core.c iio: itg3200: Drop GPIO include 2019-12-15 11:42:15 +00:00
Kconfig iio: Fix Kconfig indentation 2019-12-01 10:20:20 +00:00
Makefile iio: gyro: fxas21002c: add spi driver 2019-04-22 11:34:12 +01:00
mpu3050-core.c iio: gyro: mpu3050: Explicity make a 'poison' value big endian 2019-10-18 19:55:05 +01:00
mpu3050-i2c.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
mpu3050.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ssp_gyro_sensor.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
st_gyro_buffer.c iio:st_sensors: remove buffer allocation at each buffer enable 2019-08-11 09:26:04 +01:00
st_gyro_core.c iio: st: Drop GPIO include 2019-10-27 15:55:45 +00:00
st_gyro_i2c.c iio: make st_sensors drivers use regmap 2019-07-27 22:52:06 +01:00
st_gyro_spi.c iio: move 3-wire spi initialization to st_sensors_spi 2019-07-27 22:52:06 +01:00
st_gyro.h iio: gyro: st_gyro: Mark gyro_pdata with __maybe_unused 2019-12-29 15:20:05 +00:00