Skip to content

Commit 5da8aff

Browse files
nytowljic23
authored andcommitted
dt-bindings: iio: light: add vcnl4000 devicetree bindings
Document the vishay VCNL4000 devicetree bindings. Signed-off-by: Angus Ainslie (Purism) <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent ebd457d commit 5da8aff

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
VISHAY VCNL4000 - Ambient Light and proximity sensor
2+
3+
This driver supports the VCNL4000/10/20 and VCNL4200 chips
4+
5+
Required properties:
6+
7+
-compatible: must be one of :
8+
vishay,vcnl4000
9+
vishay,vcnl4010
10+
vishay,vcnl4020
11+
vishay,vcnl4200
12+
13+
-reg: I2C address of the sensor, should be one from below based on the model:
14+
0x13
15+
0x51
16+
17+
Example:
18+
19+
light-sensor@51 {
20+
compatible = "vishay,vcnl4200";
21+
reg = <0x51>;
22+
};

0 commit comments

Comments
 (0)