0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/adi,ad799x.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog Devices AD799x analog to digital converters
0008
0009 maintainers:
0010 - Michael Hennerich <Michael.Hennerich@analog.com>
0011
0012 description: |
0013 Support for Analog Devices AD7991, AD7992, AD7993, AD7994, AD7995, AD7997, AD7998,
0014 AD7999 and similar analog to digital converters.
0015 Specifications on the converters can be found at:
0016 AD7991, AD7995, AD7999:
0017 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7991_7995_7999.pdf
0018 AD7992:
0019 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7992.pdf
0020 AD7993, AD7994:
0021 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7993_7994.pdf
0022 AD7997, AD7998:
0023 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7997_7998.pdf
0024
0025 properties:
0026 compatible:
0027 enum:
0028 - adi,ad7991
0029 - adi,ad7992
0030 - adi,ad7993
0031 - adi,ad7994
0032 - adi,ad7995
0033 - adi,ad7997
0034 - adi,ad7998
0035 - adi,ad7999
0036
0037 reg:
0038 maxItems: 1
0039
0040 interrupts:
0041 maxItems: 1
0042
0043 vcc-supply:
0044 description:
0045 ADC power supply
0046
0047 vref-supply:
0048 description:
0049 ADC reference voltage supply, optional for AD7991, AD7995 and AD7999
0050
0051 required:
0052 - compatible
0053 - reg
0054
0055 additionalProperties: false
0056
0057 examples:
0058 - |
0059 i2c {
0060 #address-cells = <1>;
0061 #size-cells = <0>;
0062
0063 adc1: adc@28 {
0064 reg = <0x28>;
0065 compatible = "adi,ad7991";
0066 interrupts = <13 2>;
0067 interrupt-parent = <&gpio6>;
0068
0069 vcc-supply = <&vcc_3v3>;
0070 vref-supply = <&adc_vref>;
0071 };
0072 };
0073 ...