brintos

brintos / linux-shallow public Read only

0
0
Text · 903 B · 2c57ff0 Raw
46 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/light/vishay,vcnl4035.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: VISHAY VCNL4035 ambient Light and proximity sensor8 9maintainers:10  - Jonathan Cameron <jic23@kernel.org>11 12description: |13  Datasheet at https://www.vishay.com/docs/84251/vcnl4035x01.pdf14 15properties:16  compatible:17    const: vishay,vcnl403518 19  reg:20    maxItems: 121 22  interrupts:23    maxItems: 124 25additionalProperties: false26 27required:28  - compatible29  - reg30 31examples: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...46