Some sensor hubs calculate offsets for some sensors, like hard or soft iron for magnetometer, or drift for gyroscope (in addition to factory calibration). However, the user space application is not aware when the sensorhub produces a new set of values. Instead of polling at regular interval, iio driver could send an event when a new offset vector is available. Gwendal Grignou (3): Documentation: ABI: iio: Use What: consistently Documentation: ABI: iio: Add offsets for some sensors Documentation: ABI: iio: Add event when offset/scale changes Documentation/ABI/testing/sysfs-bus-iio | 80 +++++++++++++++++-------- 1 file changed, 56 insertions(+), 24 deletions(-) -- 2.28.0.402.g5ffc5be6b7-goog