linux/drivers/iio/accel
Octavian Purdila 3bbec97733 iio: bmc150_accel: add support for hardware fifo
We only advertise hardware fifo support if the I2C bus supports full
I2C or smbus I2C block data reads since it is mandatory to read the
full frame in one read (otherwise the rest of the frame is discarded).

The hardware fifo is enabled only when triggers are not active because:

(a) when using the any-motion trigger the user expects to see samples
based on ROC events, but the fifo stores samples based on the sample
frequency

(b) the data-ready trigger is waking the CPU for for every sample, so
using the hardware fifo does not have any benefit

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-03-29 16:17:11 +01:00
..
bma180.c staging: iio: fix up merge error 2014-09-22 07:54:10 -07:00
bmc150-accel.c iio: bmc150_accel: add support for hardware fifo 2015-03-29 16:17:11 +01:00
hid-sensor-accel-3d.c iio: hid-sensor-accel-3d: Introduce PM 2015-01-25 22:55:42 +00:00
Kconfig iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
kxcjk-1013.c iio: improve usage of gpiod API 2015-02-22 09:49:22 +00:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
mma8452.c iio: accel: mma8452: Remove trailing whitespace 2015-01-01 12:12:09 +00:00
mma9551_core.c iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
mma9551_core.h iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
mma9551.c iio: accel: mma9551: Check gpiod_to_irq return value 2015-03-09 13:27:49 +00:00
mma9553.c iio: improve usage of gpiod API 2015-02-22 09:49:22 +00:00
ssp_accel_sensor.c iio: common: ssp_sensors: Add sensorhub accelerometer sensor 2015-01-29 18:49:56 +00:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio: st-sensors: add support for lis3lv02d accelerometer 2015-03-28 10:55:36 +00:00
st_accel_i2c.c iio: st-sensors: add support for lis3lv02d accelerometer 2015-03-28 10:55:36 +00:00
st_accel_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_accel.h iio: st-sensors: add support for lis3lv02d accelerometer 2015-03-28 10:55:36 +00:00