1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/adi,ad7291.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: AD7291 8-Channel, I2C, 12-Bit SAR ADC with Temperature Sensor
8
9maintainers:
10  - Michael Auchter <michael.auchter@ni.com>
11
12description: |
13  Analog Devices AD7291 8-Channel I2C 12-Bit SAR ADC with Temperature Sensor
14  https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf
15
16properties:
17  compatible:
18    enum:
19      - adi,ad7291
20
21  reg:
22    maxItems: 1
23
24  vref-supply:
25    description: |
26      The regulator supply for ADC reference voltage.
27
28required:
29  - compatible
30  - reg
31
32additionalProperties: false
33
34examples:
35  - |
36    i2c {
37      #address-cells = <1>;
38      #size-cells = <0>;
39
40      ad7291: adc@0 {
41        compatible = "adi,ad7291";
42        reg = <0>;
43        vref-supply = <&adc_vref>;
44      };
45    };
46...
47
48