[PATCH 2/2] dt-bindings: iio: light: vcnl4000: Add near-level

From: Guido GÃnther
Date: Mon Feb 17 2020 - 08:45:02 EST


This value indicates when userspace should consider an object
near to the sensor/device.

Signed-off-by: Guido GÃnther <agx@xxxxxxxxxxx>
---
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