# \[PATCH 3/3\] iio: Add relative hysteresis in ABI documentation

- From: Ye Xiang \<hidden\>
- Date: 2021-02-01 07:44:29 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/02/6253291
- Thread: https://ratatoskr.run/linux-input/2021/02/6253288/t.md

```text
Add relative hysteresis in ABI documentation.

Signed-off-by: Ye Xiang <redacted>
---
 Documentation/ABI/testing/sysfs-bus-iio | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index d957f5da5c04..1c51db7eb8ef 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1823,3 +1823,11 @@ 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_Y_hysteresis_relative
+KernelVersion:	5.12
+Contact:	linux-iio@vger.kernel.org
+Description:
+		Specify the percent relative to the current sensor channel
+		Y absolute value that a data field should change before an event
+		is generated. Units are a percentage of the prior reading.
-- 
2.17.1

```
