brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 3d7074f Raw
70 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/cdc/adi,ad7150.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Analog device AD7150 and similar capacitance to digital converters.8 9maintainers:10  - Jonathan Cameron <jic23@kernel.org>11 12properties:13  compatible:14    enum:15      - adi,ad715016      - adi,ad715117      - adi,ad715618 19  reg:20    maxItems: 121 22  vdd-supply: true23 24  interrupts: true25 26allOf:27  - if:28      properties:29        compatible:30          contains:31            enum:32              - adi,ad715033              - adi,ad715634    then:35      properties:36        interrupts:37          minItems: 238          maxItems: 239  - if:40      properties:41        compatible:42          contains:43            const: adi,ad715144    then:45      properties:46        interrupts:47          minItems: 148          maxItems: 149 50required:51  - compatible52  - reg53 54additionalProperties: false55 56examples:57  - |58    i2c {59        #address-cells = <1>;60        #size-cells = <0>;61 62        cdc@48 {63            compatible = "adi,ad7150";64            reg = <0x48>;65            interrupts = <25 2>, <26 2>;66            interrupt-parent = <&gpio>;67        };68    };69...70