summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/adc/adi,ad7091r5.yaml
blob: b97559f23b3acab618dbef6fe488c19bd6a65b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/adi,ad7091r5.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Analog Devices AD7091R5 4-Channel 12-Bit ADC

maintainers:
  - Michael Hennerich <michael.hennerich@analog.com>

description: |
  Analog Devices AD7091R5 4-Channel 12-Bit ADC
  https://www.analog.com/media/en/technical-documentation/data-sheets/ad7091r-5.pdf

properties:
  compatible:
    enum:
      - adi,ad7091r5

  reg:
    maxItems: 1

  vref-supply:
    description:
      Phandle to the vref power supply

  interrupts:
    maxItems: 1


required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        adc@2f {
                compatible = "adi,ad7091r5";
                reg = <0x2f>;

                interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
                interrupt-parent = <&gpio>;
        };
    };
...