1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/adi,ad7949.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Analog Devices AD7949/AD7682/AD7689 analog to digital converters
8
9maintainers:
10  - Charles-Antoine Couret <charles-antoine.couret@essensium.com>
11
12description: |
13  Specifications on the converters can be found at:
14    AD7949:
15      https://www.analog.com/media/en/technical-documentation/data-sheets/AD7949.pdf
16    AD7682/AD7698:
17      https://www.analog.com/media/en/technical-documentation/data-sheets/AD7682_7689.pdf
18
19properties:
20  compatible:
21    enum:
22      - adi,ad7682
23      - adi,ad7689
24      - adi,ad7949
25
26  reg:
27    maxItems: 1
28
29  vref-supply:
30    description:
31      ADC reference voltage supply
32
33  spi-max-frequency: true
34
35  "#io-channel-cells":
36    const: 1
37
38required:
39  - compatible
40  - reg
41  - vref-supply
42
43additionalProperties: false
44
45examples:
46  - |
47    spi {
48        #address-cells = <1>;
49        #size-cells = <0>;
50
51        adc@0 {
52            compatible = "adi,ad7949";
53            reg = <0>;
54            vref-supply = <&vdd_supply>;
55        };
56    };
57...
58