0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 Analog Devices Inc.
0003 %YAML 1.2
0004 ---
0005 $id: http://devicetree.org/schemas/iio/adc/adi,ad7298.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007
0008 title: Analog Devices AD7298 ADC
0009
0010 maintainers:
0011 - Michael Hennerich <michael.hennerich@analog.com>
0012
0013 description: |
0014 Bindings for the Analog Devices AD7298 ADC device. Datasheet can be
0015 found here:
0016 https://www.analog.com/en/products/ad7298.html
0017
0018 properties:
0019 compatible:
0020 const: adi,ad7298
0021
0022 reg:
0023 maxItems: 1
0024
0025 vref-supply: true
0026 vdd-supply: true
0027 spi-max-frequency: true
0028
0029 required:
0030 - compatible
0031 - reg
0032
0033 additionalProperties: false
0034
0035 examples:
0036 - |
0037 spi {
0038 #address-cells = <1>;
0039 #size-cells = <0>;
0040
0041 adc@0 {
0042 compatible = "adi,ad7298";
0043 reg = <0>;
0044 spi-max-frequency = <5000000>;
0045 vref-supply = <&adc_vref>;
0046 };
0047 };
0048 ...