1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/iio/light/vishay,vcnl4035.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: VISHAY VCNL4035 ambient Light and proximity sensor 8 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 11 12 description: | 13 Datasheet at https://www.vishay.com/docs/84251/vcnl4035x01.pdf 14 15 properties: 16 compatible: 17 const: vishay,vcnl4035 18 19 reg: 20 maxItems: 1 21 22 interrupts: 23 maxItems: 1 24 25 additionalProperties: false 26 27 required: 28 - compatible 29 - reg 30 31 examples: 32 - | 33 #include <dt-bindings/interrupt-controller/irq.h> 34 i2c { 35 #address-cells = <1>; 36 #size-cells = <0>; 37 38 light-sensor@60 { 39 compatible = "vishay,vcnl4035"; 40 reg = <0x60>; 41 interrupt-parent = <&gpio4>; 42 interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 43 }; 44 }; 45 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.