0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/adi,ad7291.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: AD7291 8-Channel, I2C, 12-Bit SAR ADC with Temperature Sensor
0008
0009 maintainers:
0010 - Michael Auchter <michael.auchter@ni.com>
0011
0012 description: |
0013 Analog Devices AD7291 8-Channel I2C 12-Bit SAR ADC with Temperature Sensor
0014 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf
0015
0016 properties:
0017 compatible:
0018 enum:
0019 - adi,ad7291
0020
0021 reg:
0022 maxItems: 1
0023
0024 vref-supply:
0025 description: |
0026 The regulator supply for ADC reference voltage.
0027
0028 required:
0029 - compatible
0030 - reg
0031
0032 additionalProperties: false
0033
0034 examples:
0035 - |
0036 i2c {
0037 #address-cells = <1>;
0038 #size-cells = <0>;
0039
0040 ad7291: adc@0 {
0041 compatible = "adi,ad7291";
0042 reg = <0>;
0043 vref-supply = <&adc_vref>;
0044 };
0045 };
0046 ...