xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/adi,ad7298.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5956d97fSEmmanuel Vadot# Copyright 2019 Analog Devices Inc.
3*5956d97fSEmmanuel Vadot%YAML 1.2
4*5956d97fSEmmanuel Vadot---
5*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/adi,ad7298.yaml#
6*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7*5956d97fSEmmanuel Vadot
8*5956d97fSEmmanuel Vadottitle: Analog Devices AD7298 ADC
9*5956d97fSEmmanuel Vadot
10*5956d97fSEmmanuel Vadotmaintainers:
11*5956d97fSEmmanuel Vadot  - Michael Hennerich <michael.hennerich@analog.com>
12*5956d97fSEmmanuel Vadot
13*5956d97fSEmmanuel Vadotdescription: |
14*5956d97fSEmmanuel Vadot  Bindings for the Analog Devices AD7298 ADC device. Datasheet can be
15*5956d97fSEmmanuel Vadot  found here:
16*5956d97fSEmmanuel Vadot    https://www.analog.com/en/products/ad7298.html
17*5956d97fSEmmanuel Vadot
18*5956d97fSEmmanuel Vadotproperties:
19*5956d97fSEmmanuel Vadot  compatible:
20*5956d97fSEmmanuel Vadot    const: adi,ad7298
21*5956d97fSEmmanuel Vadot
22*5956d97fSEmmanuel Vadot  reg:
23*5956d97fSEmmanuel Vadot    maxItems: 1
24*5956d97fSEmmanuel Vadot
25*5956d97fSEmmanuel Vadot  vref-supply: true
26*5956d97fSEmmanuel Vadot  vdd-supply: true
27*5956d97fSEmmanuel Vadot  spi-max-frequency: true
28*5956d97fSEmmanuel Vadot
29*5956d97fSEmmanuel Vadotrequired:
30*5956d97fSEmmanuel Vadot  - compatible
31*5956d97fSEmmanuel Vadot  - reg
32*5956d97fSEmmanuel Vadot
33*5956d97fSEmmanuel VadotadditionalProperties: false
34*5956d97fSEmmanuel Vadot
35*5956d97fSEmmanuel Vadotexamples:
36*5956d97fSEmmanuel Vadot  - |
37*5956d97fSEmmanuel Vadot    spi {
38*5956d97fSEmmanuel Vadot      #address-cells = <1>;
39*5956d97fSEmmanuel Vadot      #size-cells = <0>;
40*5956d97fSEmmanuel Vadot
41*5956d97fSEmmanuel Vadot      adc@0 {
42*5956d97fSEmmanuel Vadot        compatible = "adi,ad7298";
43*5956d97fSEmmanuel Vadot        reg = <0>;
44*5956d97fSEmmanuel Vadot        spi-max-frequency = <5000000>;
45*5956d97fSEmmanuel Vadot        vref-supply = <&adc_vref>;
46*5956d97fSEmmanuel Vadot      };
47*5956d97fSEmmanuel Vadot    };
48*5956d97fSEmmanuel Vadot...
49