1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 Analog Devices Inc.
5 $id: http://devicetree.org/schemas/iio/adc/adi,ad7476.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: AD7476 and similar simple SPI ADCs from multiple manufacturers.
11 - Michael Hennerich <michael.hennerich@analog.com>
14 A lot of simple SPI ADCs have very straight forward interfaces.
15 They typically don't provide a MOSI pin, simply reading out data
16 on MISO when the clock toggles.
55 Main powersupply voltage for the chips, sometimes referred to as VDD on
56 datasheets. If there is no separate vref-supply, then this is needed
57 to establish channel scaling.
61 Some devices have separate supply for their digital control side.
65 Some devices have a specific reference voltage supplied on a different pin
66 to the other supplies. Needed to be able to establish channel scaling
67 unless there is also an internal reference available (e.g. ad7091r)
69 adi,conversion-start-gpios:
70 description: A GPIO used to trigger the start of a conversion
78 - $ref: /schemas/spi/spi-peripheral-props.yaml#
80 # Devices where reference is vcc
102 # Devices with a vref
119 # Devices with a vref where it is not optional
154 adi,conversion-start-gpios: true
157 adi,conversion-start-gpios: false
159 unevaluatedProperties: false
164 #address-cells = <1>;
168 compatible = "adi,ad7091r";
170 spi-max-frequency = <5000000>;
171 vcc-supply = <&adc_vcc>;
172 vref-supply = <&adc_vref>;