2020-03-25 11:10:02

by Guido Günther

[permalink] [raw]
Subject: [PATCH v3 4/4] Documentation: ABI: document IIO in_proximity_near_level file

The vcnl4000 IIO driver introduced a new attribute
"in_proximity_near_level". 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-03-29 09:28:32

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH v3 4/4] Documentation: ABI: document IIO in_proximity_near_level file

On Wed, 25 Mar 2020 12:09:08 +0100
Guido Günther <[email protected]> wrote:

> The vcnl4000 IIO driver introduced a new attribute
> "in_proximity_near_level". This adds it to the list of documented ABI
> for sysfs-bus-iio.

Description and patch title are now wrong due to dropping the _

I can fix that up whilst applying if nothing else comes up.

The rest of the series looks good to me, just giving time
for others to comment before taking this.

Thanks,

Jonathan

>
> 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.