Currently, hid sensor als are using the relative hysteresis. This patch series add the relative hysteresis for hid sensors.
--- v2: - (1/3) fix the formatting issue in hid_sensor_read_raw_hyst_rel_value. - (3/3) add documentation just for light sensor. Ye Xiang (3): iio: Add relative sensitivity support iio: hid-sensor-als: Add relative hysteresis support iio: Add relative hysteresis in ABI documentation Documentation/ABI/testing/sysfs-bus-iio | 9 +++ .../hid-sensors/hid-sensor-attributes.c | 74 ++++++++++++++++++- drivers/iio/industrialio-core.c | 1 + drivers/iio/light/hid-sensor-als.c | 14 +++- include/linux/hid-sensor-hub.h | 5 ++ include/linux/hid-sensor-ids.h | 1 + include/linux/iio/types.h | 1 + 7 files changed, 99 insertions(+), 6 deletions(-) -- 2.17.1