dt-bindings: iio: light: add vcnl4000 devicetree bindings

Document the vishay VCNL4000 devicetree bindings.

Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Angus Ainslie (Purism) 2019-03-21 08:40:45 -07:00 committed by Jonathan Cameron
parent ebd457d559
commit 5da8affed2
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
VISHAY VCNL4000 - Ambient Light and proximity sensor
This driver supports the VCNL4000/10/20 and VCNL4200 chips
Required properties:
-compatible: must be one of :
vishay,vcnl4000
vishay,vcnl4010
vishay,vcnl4020
vishay,vcnl4200
-reg: I2C address of the sensor, should be one from below based on the model:
0x13
0x51
Example:
light-sensor@51 {
compatible = "vishay,vcnl4200";
reg = <0x51>;
};