linux_dsm_epyc7002/drivers/iio
Srinivas Pandruvada 138bc7969c iio: hid-sensor-hub: Implement batch mode
HID sensor hubs using Integrated Senor Hub (ISH) has added capability to
support batch mode. This allows host processor to go to sleep for extended
duration, while the sensor hub is storing samples in its internal buffers.

'Commit f4f4673b75 ("iio: add support for hardware fifo")' implements
feature in IIO core to implement such feature. This feature is used in
bmc150-accel-core.c to implement batch mode. This implementation allows
software device buffer watermark to be used as a hint to adjust hardware
FIFO.

But HID sensor hubs don't allow to change internal buffer size of FIFOs.
Instead an additional usage id to set "maximum report latency" is defined.
This allows host to go to sleep upto this latency period without getting
any report. Since there is no ABI to set this latency, a new attribute
"hwfifo_timeout" is added so that user mode can specify a latency.

This change checks presence of usage id to get/set maximum report latency
and if present, it will expose hwfifo_timeout.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-05-16 19:44:01 +01:00
..
accel iio: hid-sensor-accel-3d: Drop unnecessary static 2017-05-07 13:56:36 +01:00
adc iio: adc: add driver for the ti-adc084s021 chip 2017-05-14 16:34:11 +01:00
amplifiers
buffer
chemical drivers: iio: chemical: replace comma with a semicolon 2017-03-30 19:13:23 +01:00
common iio: hid-sensor-hub: Implement batch mode 2017-05-16 19:44:01 +01:00
counter iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option 2017-03-15 21:59:08 +00:00
dac iio:ad5064: Add support for ltc2633 and similar devices 2017-05-14 16:16:57 +01:00
dummy
frequency
gyro Fourth set of IIO new device support, features and cleanups for the 4.12 cycle 2017-04-18 17:13:31 +02:00
health
humidity iio: humidity: hts221: add power management support 2017-05-14 16:52:33 +01:00
imu iio: imu: st_lsm6dsx: add system power management support 2017-04-30 17:55:15 +01:00
light iio: tsl2583: add runtime power management support 2017-05-16 19:39:41 +01:00
magnetometer Merge 4.11-rc4 into staging-next 2017-03-27 09:11:25 +02:00
orientation iio: hid-sensor-rotation: Add "scale" and "offset" properties parse support 2017-05-07 12:22:36 +01:00
potentiometer
potentiostat
pressure iio: pressure: zpa2326: report interrupted case as failure 2017-05-14 15:28:14 +01:00
proximity iio: proximity: as3935: move storm out of range check 2017-04-27 07:22:46 +01:00
temperature iio: temperature: maxim_thermocouple: add MAX31856 part 2017-05-07 12:36:41 +01:00
trigger iio: stm32 trigger: Add support for TRGO2 triggers 2017-05-07 16:08:10 +01:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c iio: core: Fix suspicious sizeof usage 2017-04-27 06:30:52 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c iio: inkern: fix a static checker error 2017-04-26 06:04:06 +01:00
Kconfig
Makefile