Skip to content

Commit

Permalink
dt-bindings: iio: light: add vcnl4000 devicetree bindings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Angus Ainslie (Purism) authored and Jonathan Cameron committed Apr 4, 2019
1 parent ebd457d commit 5da8aff
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/iio/light/vcnl4000.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 5da8aff

Please sign in to comment.