linux_dsm_epyc7002/drivers/iio/imu
Nuno Sá 3e04cb60e8 iio: adis: Support different burst sizes
Add burst_max_len to `adis_burst`. This is useful for devices which
support different burst modes with different sizes. The buffer to be
used in the spi transfer is allocated with this variable making sure
that has space for all burst modes. The spi transfer length should hold
the "real" burst length depending on the current burst mode configured
in the device.

Moreover, `extra_len` in `adis_burst` is made const and it should
contain the smallest extra length necessary for a burst transfer. In
`struct adis` was added a new `burst_extra_len` that should hold the
extra bytes needed depending on the device instance being used.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-04-25 16:11:56 +01:00
..
bmi160 iio: imu: bmi160_spi: Use vsprintf extension %pe for symbolic error name 2020-04-19 16:56:17 +01:00
inv_mpu6050 iio:imu:mpu6050: Tidy up parameters to regmap_bulk functions. 2020-04-19 16:56:39 +01:00
st_lsm6dsx iio: imu: st_lsm6dsx: drop huge include in sensor-hub driver 2020-04-19 16:56:38 +01:00
adis16400.c iio: adis: Support different burst sizes 2020-04-25 16:11:56 +01:00
adis16460.c iio: imu: adis16460: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE 2020-04-19 16:56:25 +01:00
adis16480.c iio: adis16480: Make use of __adis_initial_startup 2020-03-08 17:28:31 +00:00
adis_buffer.c iio: adis: Support different burst sizes 2020-04-25 16:11:56 +01:00
adis_trigger.c iio: imu: adis: Add irq flag variable 2020-04-25 16:09:30 +01:00
adis.c iio: adis: Add adis_update_bits() APIs 2020-04-25 16:10:44 +01:00
fxos8700_core.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_i2c.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700_spi.c iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
Kconfig iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
kmx61.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 330 2019-06-05 17:37:06 +02:00
Makefile iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00