Message ID | bffa50e16f64df2a97913d9a9e87481c6e7e4852.1585134362.git.agx@sigxcpu.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iio: vcnl4000: Export near level property for proximity sensor | expand |
On Wed, 25 Mar 2020 12:09:08 +0100 Guido Günther <agx@sigxcpu.org> 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 <agx@sigxcpu.org> > --- > 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: 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.
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: 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.
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 <agx@sigxcpu.org> --- Documentation/ABI/testing/sysfs-bus-iio-proximity | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-proximity