Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / adc / adi,ad7298.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 Analog Devices Inc.
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/iio/adc/adi,ad7298.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Analog Devices AD7298 ADC
9
10 maintainers:
11   - Michael Hennerich <michael.hennerich@analog.com>
12
13 description: |
14   Bindings for the Analog Devices AD7298 ADC device. Datasheet can be
15   found here:
16     https://www.analog.com/en/products/ad7298.html
17
18 properties:
19   compatible:
20     const: adi,ad7298
21
22   reg:
23     maxItems: 1
24
25   vref-supply: true
26   vdd-supply: true
27   spi-max-frequency: true
28
29 required:
30   - compatible
31   - reg
32
33 additionalProperties: false
34
35 examples:
36   - |
37     spi {
38       #address-cells = <1>;
39       #size-cells = <0>;
40
41       adc@0 {
42         compatible = "adi,ad7298";
43         reg = <0>;
44         spi-max-frequency = <5000000>;
45         vref-supply = <&adc_vref>;
46       };
47     };
48 ...