]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Documentation: ABI: document IIO in_proximity_nearlevel file
authorGuido Günther <agx@sigxcpu.org>
Sun, 5 Apr 2020 13:50:32 +0000 (15:50 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:43 +0000 (16:56 +0100)
The vcnl4000 IIO driver introduced a new attribute
"in_proximity_nearlevel".  This adds it to the list of documented ABI
for sysfs-bus-iio.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio-proximity [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-proximity b/Documentation/ABI/testing/sysfs-bus-iio-proximity
new file mode 100644 (file)
index 0000000..2172f3b
--- /dev/null
@@ -0,0 +1,10 @@
+What:          /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel
+Date:          March 2020
+KernelVersion: 5.7
+Contact:       linux-iio@vger.kernel.org
+Description:
+               Near level for proximity sensors. This is a single integer
+               value that tells user space when an object should be
+               considered close to the device. If the value read from the
+               sensor is above or equal to the value in this file an object
+               should typically be considered near.