19 lines
451 B
Plaintext
19 lines
451 B
Plaintext
VISHAY VCNL4035 - Ambient Light and proximity sensor
|
|
|
|
Link to datasheet: https://www.vishay.com/docs/84251/vcnl4035x01.pdf
|
|
|
|
Required properties:
|
|
|
|
-compatible: should be "vishay,vcnl4035"
|
|
-reg: I2C address of the sensor, should be 0x60
|
|
-interrupts: interrupt mapping for GPIO IRQ (level active low)
|
|
|
|
Example:
|
|
|
|
light-sensor@60 {
|
|
compatible = "vishay,vcnl4035";
|
|
reg = <0x60>;
|
|
interrupt-parent = <&gpio4>;
|
|
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
|
|
};
|