Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6cf41405 authored by Puneet yatnala's avatar Puneet yatnala Committed by Gerrit - the friendly Code Review server
Browse files

driver: iio: imu: IAM20680 early buff implemented



This patch allows to buffer IAM20680 accel and gyro samples from driver
up to time till user space services are up and running
(or upto nth second). Buffered samples can be retrived at any time via
input subsystem by writing to below sysfs entry.

echo 1 > /sys/bus/iio/devices/iio:device0/read_acc_boot_sample
echo 1 > /sys/bus/iio/devices/iio:device0/read_gyro_boot_sample

Use config option to enable buffering feature.

Change-Id: Ic13cd2032a2f7bad3f1cde0f0b01eae88e6f819f
Signed-off-by: default avatarPuneet Yatnal <puneet@codeaurora.org>
parent 80857e70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment