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 (2): Documentation: ABI: iio: Use What: consistently Documentation: ABI: iio: Add event when offset changes Documentation/ABI/testing/sysfs-bus-iio | 81 +++++++++++++++++-------- 1 file changed, 57 insertions(+), 24 deletions(-) -- 2.28.0.402.g5ffc5be6b7-goog