xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/adi,ad7298.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
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
8title: Analog Devices AD7298 ADC
9
10maintainers:
11  - Michael Hennerich <michael.hennerich@analog.com>
12
13description: |
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
18properties:
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
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
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...
49