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 spi-max-frequency: true
71 adi,conversion-start-gpios:
72 description: A GPIO used to trigger the start of a conversion
79 additionalProperties: false
82 # Devices where reference is vcc
103 # Devices with a vref
120 # Devices with a vref where it is not optional
155 adi,conversion-start-gpios: true
158 adi,conversion-start-gpios: false
163 #address-cells = <1>;
167 compatible = "adi,ad7091r";
169 spi-max-frequency = <5000000>;
170 vcc-supply = <&adc_vcc>;
171 vref-supply = <&adc_vref>;