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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux