linux-stable/drivers/iio/gyro
Nishant Malpani 672555807f iio: gyro: adxrs290: Add triggered buffer support
Provide a way for continuous data capture by setting up buffer support. The
data ready signal exposed at the SYNC pin of the ADXRS290 is exploited as
a hardware interrupt which triggers to fill the buffer.

Triggered buffer setup was tested with both hardware trigger (DATA_RDY) and
software triggers (sysfs-trig & hrtimer).

Signed-off-by: Nishant Malpani <nish.malpani25@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200910180450.29696-2-nish.malpani25@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-09-13 10:51:23 +01:00
..
adis16080.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
adis16130.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
adis16136.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
adis16260.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
adxrs290.c iio: gyro: adxrs290: Add triggered buffer support 2020-09-13 10:51:23 +01:00
adxrs450.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
bmg160.h
bmg160_core.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
bmg160_i2c.c iio: gyro: bmg160_i2c: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:15 +01:00
bmg160_spi.c iio: gyro: bmg160_spi: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:16 +01:00
fxas21002c.h iio: gyro: fxas21002c: Move 'fxas21002c_reg_fields' to the only file its used 2020-07-20 09:03:25 +01:00
fxas21002c_core.c iio: gyro: fxas21002c: Move 'fxas21002c_reg_fields' to the only file its used 2020-07-20 09:03:25 +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
hid-sensor-gyro-3d.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01: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: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
Kconfig iio: gyro: adxrs290: Add triggered buffer support 2020-09-13 10:51:23 +01:00
Makefile iio: gyro: Add driver support for ADXRS290 2020-08-22 10:53:20 +01:00
mpu3050-core.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
mpu3050-i2c.c iio: gyro: mpu3050: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:16 +01:00
mpu3050.h
ssp_gyro_sensor.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
st_gyro.h iio: gyro: st_gyro: Mark gyro_pdata with __maybe_unused 2019-12-29 15:20:05 +00:00
st_gyro_buffer.c iio: Move attach/detach of the poll func to the core 2020-06-20 17:34:44 +01:00
st_gyro_core.c iio: st_sensors: Drop unneeded explicit castings 2020-03-21 10:26:21 +00:00
st_gyro_i2c.c iio: st_sensors: Make use of device properties 2020-01-13 21:53:39 +00:00
st_gyro_spi.c iio: st_sensors: Make use of device properties 2020-01-13 21:53:39 +00:00