mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 17:42:27 -04:00
Document the vishay VCNL4040 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>
25 lines
490 B
Plaintext
25 lines
490 B
Plaintext
VISHAY VCNL4000 - Ambient Light and proximity sensor
|
|
|
|
This driver supports the VCNL4000/10/20/40 and VCNL4200 chips
|
|
|
|
Required properties:
|
|
|
|
-compatible: must be one of :
|
|
vishay,vcnl4000
|
|
vishay,vcnl4010
|
|
vishay,vcnl4020
|
|
vishay,vcnl4040
|
|
vishay,vcnl4200
|
|
|
|
-reg: I2C address of the sensor, should be one from below based on the model:
|
|
0x13
|
|
0x51
|
|
0x60
|
|
|
|
Example:
|
|
|
|
light-sensor@51 {
|
|
compatible = "vishay,vcnl4200";
|
|
reg = <0x51>;
|
|
};
|