brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · b750096 Raw
55 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/avago,apds9300.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Avago Gesture/RGB/ALS/Proximity sensors8 9maintainers:10  - Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>11 12description: |13  Datasheet: https://www.avagotech.com/docs/AV02-1077EN14  Datasheet: https://www.avagotech.com/docs/AV02-4191EN15  Datasheet: https://www.avagotech.com/docs/AV02-4755EN16 17properties:18  compatible:19    enum:20      - avago,apds930021      - avago,apds930622      - avago,apds996023 24  reg:25    maxItems: 126 27  interrupts:28    maxItems: 129 30  vdd-supply: true31 32additionalProperties: false33 34required:35  - compatible36  - reg37 38examples:39  - |40    #include <dt-bindings/interrupt-controller/irq.h>41 42    i2c {43        #address-cells = <1>;44        #size-cells = <0>;45 46        light-sensor@39 {47            compatible = "avago,apds9300";48            reg = <0x39>;49            interrupt-parent = <&gpio2>;50            interrupts = <29 IRQ_TYPE_LEVEL_LOW>;51            vdd-supply = <&regulator_3v3>;52        };53    };54...55