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,ad7923.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog Devices AD7923 and similars with 4 and 8 Channel ADCs.
0008
0009 maintainers:
0010 - Michael Hennerich <michael.hennerich@analog.com>
0011 - Patrick Vasseur <patrick.vasseur@c-s.fr>
0012
0013 description: |
0014 Analog Devices AD7904, AD7914, AD7923, AD7924 4 Channel ADCs, and AD7908,
0015 AD7918, AD7928 8 Channels ADCs.
0016
0017 Specifications about the part can be found at:
0018 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7923.pdf
0019 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7904_7914_7924.pdf
0020 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7908_7918_7928.pdf
0021
0022 properties:
0023 compatible:
0024 enum:
0025 - adi,ad7904
0026 - adi,ad7914
0027 - adi,ad7923
0028 - adi,ad7924
0029 - adi,ad7908
0030 - adi,ad7918
0031 - adi,ad7928
0032
0033 reg:
0034 maxItems: 1
0035
0036 refin-supply:
0037 description: |
0038 The regulator supply for ADC reference voltage.
0039
0040 '#address-cells':
0041 const: 1
0042
0043 '#size-cells':
0044 const: 0
0045
0046 spi-max-frequency: true
0047
0048 required:
0049 - compatible
0050 - reg
0051
0052 additionalProperties: false
0053
0054 examples:
0055 - |
0056 spi {
0057 #address-cells = <1>;
0058 #size-cells = <0>;
0059
0060 ad7928: adc@0 {
0061 compatible = "adi,ad7928";
0062 reg = <0>;
0063 spi-max-frequency = <25000000>;
0064 refin-supply = <&adc_vref>;
0065
0066 #address-cells = <1>;
0067 #size-cells = <0>;
0068 };
0069 };