lkml.org 
[lkml]   [2020]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] dt-bindings: iio: light: vcnl4000: Add near-level
Date
This value indicates when userspace should consider an object
near to the sensor/device.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
Documentation/devicetree/bindings/iio/light/vcnl4000.txt | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt
index 955af4555c90..6f7dfe470553 100644
--- a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt
+++ b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt
@@ -16,9 +16,15 @@ Required properties:
0x51
0x60

+Optional properties:
+
+ - near-level: Raw proximity values above this level should be
+ considered 'near' to the device (an object is near to the sensor).
+
Example:

light-sensor@51 {
compatible = "vishay,vcnl4200";
reg = <0x51>;
+ nearl-leval = <200>;
};
--
2.23.0
\
 
 \ /
  Last update: 2020-02-17 14:45    [W:0.037 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site