iio: Add relative hysteresis in ABI documentation
authorYe Xiang <xiang.ye@intel.com>
Sun, 7 Feb 2021 07:00:48 +0000 (15:00 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:47:10 +0000 (20:47 +0000)
Add relative hysteresis in ABI documentation for als sensor.

Signed-off-by: Ye Xiang <xiang.ye@intel.com>
Link: https://lore.kernel.org/r/20210207070048.23935-4-xiang.ye@intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio

index d957f5da5c046b2b07f0b096e693e51022c39c3a..0890bd113eeaad12f6e4b4eedd9fc3928c897f17 100644 (file)
@@ -1823,3 +1823,12 @@ Description:
                hinge, keyboard, screen. It means the three channels
                each correspond respectively to hinge angle, keyboard angle,
                and screen angle.
+
+What:          /sys/bus/iio/devices/iio:deviceX/in_illuminance_hysteresis_relative
+What:          /sys/bus/iio/devices/iio:deviceX/in_intensity_hysteresis_relative
+KernelVersion: 5.12
+Contact:       linux-iio@vger.kernel.org
+Description:
+               Specify the percent for light sensor relative to the channel
+               absolute value that a data field should change before an event
+               is generated. Units are a percentage of the prior reading.