1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*8cc087a1SEmmanuel Vadot%YAML 1.2
3*8cc087a1SEmmanuel Vadot---
4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/adi,ad799x.yaml#
5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8cc087a1SEmmanuel Vadot
7*8cc087a1SEmmanuel Vadottitle: Analog Devices AD799x analog to digital converters
8*8cc087a1SEmmanuel Vadot
9*8cc087a1SEmmanuel Vadotmaintainers:
10*8cc087a1SEmmanuel Vadot  - Michael Hennerich <Michael.Hennerich@analog.com>
11*8cc087a1SEmmanuel Vadot
12*8cc087a1SEmmanuel Vadotdescription: |
13*8cc087a1SEmmanuel Vadot    Support for Analog Devices AD7991, AD7992, AD7993, AD7994, AD7995, AD7997, AD7998,
14*8cc087a1SEmmanuel Vadot    AD7999 and similar analog to digital converters.
15*8cc087a1SEmmanuel Vadot    Specifications on the converters can be found at:
16*8cc087a1SEmmanuel Vadot    AD7991, AD7995, AD7999:
17*8cc087a1SEmmanuel Vadot      https://www.analog.com/media/en/technical-documentation/data-sheets/AD7991_7995_7999.pdf
18*8cc087a1SEmmanuel Vadot    AD7992:
19*8cc087a1SEmmanuel Vadot      https://www.analog.com/media/en/technical-documentation/data-sheets/AD7992.pdf
20*8cc087a1SEmmanuel Vadot    AD7993, AD7994:
21*8cc087a1SEmmanuel Vadot      https://www.analog.com/media/en/technical-documentation/data-sheets/AD7993_7994.pdf
22*8cc087a1SEmmanuel Vadot    AD7997, AD7998:
23*8cc087a1SEmmanuel Vadot      https://www.analog.com/media/en/technical-documentation/data-sheets/AD7997_7998.pdf
24*8cc087a1SEmmanuel Vadot
25*8cc087a1SEmmanuel Vadotproperties:
26*8cc087a1SEmmanuel Vadot  compatible:
27*8cc087a1SEmmanuel Vadot    enum:
28*8cc087a1SEmmanuel Vadot      - adi,ad7991
29*8cc087a1SEmmanuel Vadot      - adi,ad7992
30*8cc087a1SEmmanuel Vadot      - adi,ad7993
31*8cc087a1SEmmanuel Vadot      - adi,ad7994
32*8cc087a1SEmmanuel Vadot      - adi,ad7995
33*8cc087a1SEmmanuel Vadot      - adi,ad7997
34*8cc087a1SEmmanuel Vadot      - adi,ad7998
35*8cc087a1SEmmanuel Vadot      - adi,ad7999
36*8cc087a1SEmmanuel Vadot
37*8cc087a1SEmmanuel Vadot  reg:
38*8cc087a1SEmmanuel Vadot    maxItems: 1
39*8cc087a1SEmmanuel Vadot
40*8cc087a1SEmmanuel Vadot  interrupts:
41*8cc087a1SEmmanuel Vadot    maxItems: 1
42*8cc087a1SEmmanuel Vadot
43*8cc087a1SEmmanuel Vadot  vcc-supply:
44*8cc087a1SEmmanuel Vadot    description:
45*8cc087a1SEmmanuel Vadot      ADC power supply
46*8cc087a1SEmmanuel Vadot
47*8cc087a1SEmmanuel Vadot  vref-supply:
48*8cc087a1SEmmanuel Vadot    description:
49*8cc087a1SEmmanuel Vadot      ADC reference voltage supply, optional for AD7991, AD7995 and AD7999
50*8cc087a1SEmmanuel Vadot
51*8cc087a1SEmmanuel Vadotrequired:
52*8cc087a1SEmmanuel Vadot  - compatible
53*8cc087a1SEmmanuel Vadot  - reg
54*8cc087a1SEmmanuel Vadot
55*8cc087a1SEmmanuel VadotadditionalProperties: false
56*8cc087a1SEmmanuel Vadot
57*8cc087a1SEmmanuel Vadotexamples:
58*8cc087a1SEmmanuel Vadot  - |
59*8cc087a1SEmmanuel Vadot    i2c {
60*8cc087a1SEmmanuel Vadot        #address-cells = <1>;
61*8cc087a1SEmmanuel Vadot        #size-cells = <0>;
62*8cc087a1SEmmanuel Vadot
63*8cc087a1SEmmanuel Vadot        adc1: adc@28 {
64*8cc087a1SEmmanuel Vadot            reg = <0x28>;
65*8cc087a1SEmmanuel Vadot            compatible = "adi,ad7991";
66*8cc087a1SEmmanuel Vadot            interrupts = <13 2>;
67*8cc087a1SEmmanuel Vadot            interrupt-parent = <&gpio6>;
68*8cc087a1SEmmanuel Vadot
69*8cc087a1SEmmanuel Vadot            vcc-supply = <&vcc_3v3>;
70*8cc087a1SEmmanuel Vadot            vref-supply = <&adc_vref>;
71*8cc087a1SEmmanuel Vadot        };
72*8cc087a1SEmmanuel Vadot    };
73*8cc087a1SEmmanuel Vadot...
74