linux-stable/include/linux/iio
Alexandru Ardelean 5075e0720d iio: imu: adis: generalize burst mode support
Some variants in the ADIS16400 family support burst mode. This mechanism is
implemented in the `adis16400_buffer.c` file.

Some variants in ADIS16480 are also adding burst mode, which is
functionally similar to ADIS16400, but with different parameters. To get
there, a `adis_burst` struct is added to parametrize certain bits of the
SPI communication to setup: the register that triggers burst-mode, and the
extra-data-length that needs be accounted for when building the bust-length
buffer.

The trigger handler cannot be made generic, since it's very specific to
each ADIS164XX family.

A future enhancement of this `adis_burst` mode will be the possibility to
enable/disable burst-mode. For the ADIS16400 family it's hard-coded to on
by default. But for ADIS16480 there will be a need to disable this.

When that will be implemented, both ADIS16400 & ADIS16480 will have the
burst-mode enable-able/disable-able.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-04-04 20:20:24 +01:00
..
accel
adc iio: ad_sigma_delta: Allow to provide custom data register address 2018-11-17 16:30:00 +00:00
common iio: st_accel: use ACPI orientation data 2019-02-02 09:28:51 +00:00
dac
frequency
gyro iio: gyro: itg3200: add mount matrix support 2019-04-04 20:19:47 +01:00
imu iio: imu: adis: generalize burst mode support 2019-04-04 20:20:24 +01:00
magnetometer
timer
buffer-dma.h iio: buffer: fix the function signature to match implementation 2018-06-24 14:23:21 +01:00
buffer-dmaengine.h
buffer.h
buffer_impl.h iio:buffer: make length types match kfifo types 2018-03-30 11:14:32 +01:00
configfs.h
consumer.h
driver.h
events.h
hw-consumer.h
iio.h iio: Allow to read mount matrix from ACPI 2019-04-04 20:19:46 +01:00
kfifo_buf.h
machine.h
sw_device.h
sw_trigger.h
sysfs.h
trigger.h
trigger_consumer.h
triggered_buffer.h
triggered_event.h
types.h