xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/adi,ad7298.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25956d97fSEmmanuel Vadot# Copyright 2019 Analog Devices Inc.
35956d97fSEmmanuel Vadot%YAML 1.2
45956d97fSEmmanuel Vadot---
55956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/adi,ad7298.yaml#
65956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
75956d97fSEmmanuel Vadot
85956d97fSEmmanuel Vadottitle: Analog Devices AD7298 ADC
95956d97fSEmmanuel Vadot
105956d97fSEmmanuel Vadotmaintainers:
115956d97fSEmmanuel Vadot  - Michael Hennerich <michael.hennerich@analog.com>
125956d97fSEmmanuel Vadot
135956d97fSEmmanuel Vadotdescription: |
145956d97fSEmmanuel Vadot  Bindings for the Analog Devices AD7298 ADC device. Datasheet can be
155956d97fSEmmanuel Vadot  found here:
165956d97fSEmmanuel Vadot    https://www.analog.com/en/products/ad7298.html
175956d97fSEmmanuel Vadot
185956d97fSEmmanuel Vadotproperties:
195956d97fSEmmanuel Vadot  compatible:
205956d97fSEmmanuel Vadot    const: adi,ad7298
215956d97fSEmmanuel Vadot
225956d97fSEmmanuel Vadot  reg:
235956d97fSEmmanuel Vadot    maxItems: 1
245956d97fSEmmanuel Vadot
255956d97fSEmmanuel Vadot  vref-supply: true
265956d97fSEmmanuel Vadot  vdd-supply: true
275956d97fSEmmanuel Vadot
285956d97fSEmmanuel Vadotrequired:
295956d97fSEmmanuel Vadot  - compatible
305956d97fSEmmanuel Vadot  - reg
315956d97fSEmmanuel Vadot
32*7ef62cebSEmmanuel VadotallOf:
33*7ef62cebSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
34*7ef62cebSEmmanuel Vadot
35*7ef62cebSEmmanuel VadotunevaluatedProperties: false
365956d97fSEmmanuel Vadot
375956d97fSEmmanuel Vadotexamples:
385956d97fSEmmanuel Vadot  - |
395956d97fSEmmanuel Vadot    spi {
405956d97fSEmmanuel Vadot      #address-cells = <1>;
415956d97fSEmmanuel Vadot      #size-cells = <0>;
425956d97fSEmmanuel Vadot
435956d97fSEmmanuel Vadot      adc@0 {
445956d97fSEmmanuel Vadot        compatible = "adi,ad7298";
455956d97fSEmmanuel Vadot        reg = <0>;
465956d97fSEmmanuel Vadot        spi-max-frequency = <5000000>;
475956d97fSEmmanuel Vadot        vref-supply = <&adc_vref>;
485956d97fSEmmanuel Vadot      };
495956d97fSEmmanuel Vadot    };
505956d97fSEmmanuel Vadot...
51