2020-04-05 13:51:28

by Guido Günther

[permalink] [raw]
Subject: [PATCH v4 5/5] Documentation: ABI: document IIO in_proximity_nearlevel file

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 <[email protected]>
---
Documentation/ABI/testing/sysfs-bus-iio-proximity | 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-proximity

diff --git a/Documentation/ABI/testing/sysfs-bus-iio-proximity b/Documentation/ABI/testing/sysfs-bus-iio-proximity
new file mode 100644
index 000000000000..2172f3bb9c64
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-proximity
@@ -0,0 +1,10 @@
+What: /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel
+Date: March 2020
+KernelVersion: 5.7
+Contact: [email protected]
+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.
--
2.23.0


2020-04-18 18:08:30

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v4 5/5] Documentation: ABI: document IIO in_proximity_nearlevel file

On Sun, 5 Apr 2020 15:50:32 +0200
Guido Günther <[email protected]> wrote:

> 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 <[email protected]>

Applied to the togreg branch of iio.git and pushed out as testing for the
autobuilders to play with it.

Thanks,

Jonathan

> ---
> Documentation/ABI/testing/sysfs-bus-iio-proximity | 10 ++++++++++
> 1 file changed, 10 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-proximity
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-proximity b/Documentation/ABI/testing/sysfs-bus-iio-proximity
> new file mode 100644
> index 000000000000..2172f3bb9c64
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-proximity
> @@ -0,0 +1,10 @@
> +What: /sys/bus/iio/devices/iio:deviceX/in_proximity_nearlevel
> +Date: March 2020
> +KernelVersion: 5.7
> +Contact: [email protected]
> +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.