linux_dsm_epyc7002/drivers/iio/gyro
Irina Tirdea 7e3d1eb123 iio: accel: bmg160: optimize transfers in trigger handler
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to
enable/disable the bus at each i2c transfer and must wait for
the enable/disable to happen before sending the data.

When reading data in the trigger handler, the bmg160 gyro driver does
one bus transfer for each axis. This has an impact on the frequency
of the accelerometer at high sample rates due to additional delays
introduced by the bus at each transfer.

Reading all axis values in one bus transfer reduces the delays
introduced by the bus.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-04-03 10:27:45 +01:00
..
adis16080.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adis16130.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adis16136.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
adis16260.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
adxrs450.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
bmg160_core.c iio: accel: bmg160: optimize transfers in trigger handler 2016-04-03 10:27:45 +01:00
bmg160_i2c.c iio: bmg160: Separate i2c and core driver 2015-08-31 17:04:23 +01:00
bmg160_spi.c iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
bmg160.h iio: bmg160: Separate i2c and core driver 2015-08-31 17:04:23 +01:00
hid-sensor-gyro-3d.c iio: gyro: hid-sensor-gyro-3d: Fix memory leak in probe() 2015-05-17 09:09:49 +01:00
itg3200_buffer.c iio: gyro: itg3200: Fix indio_dev->trig assignment 2014-08-25 21:49:00 +01:00
itg3200_core.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
Kconfig iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
Makefile iio: bmg160: Add SPI driver 2015-08-31 17:06:11 +01:00
ssp_gyro_sensor.c iio: common: ssp_sensors: Add sensorhub gyroscope sensor 2015-01-29 18:49:56 +00:00
st_gyro_buffer.c iio:st_gyro: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:46 +01:00
st_gyro_core.c iio: st_sensors: support active-low interrupts 2016-01-10 12:35:32 +00:00
st_gyro_i2c.c iio: Drop owner assignment from i2c_driver 2015-07-11 18:50:07 +01:00
st_gyro_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
st_gyro.h iio:gyro: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:52 +01:00