Message ID | ec3a79378e6fdaa8ed0430622d70a717d08022bd.1581947007.git.agx@sigxcpu.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | iio: vcnl4000: Export near level property for proximity sensor | expand |
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>; };
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(+)