1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7091r5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7091R-2/-4/-5/-8 Multi-Channel 12-Bit ADCs
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Marcelo Schmitt <marcelo.schmitt@analog.com>
14 Analog Devices AD7091R5 4-Channel 12-Bit ADC supporting I2C interface
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7091r-5.pdf
16 Analog Devices AD7091R-2/AD7091R-4/AD7091R-8 2-/4-/8-Channel 12-Bit ADCs
17 supporting SPI interface
18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7091R-2_7091R-4_7091R-8.pdf
33 Provide VDD power to the sensor (VDD range is from 2.7V to 5.25V).
37 Determines the voltage level at which the interface logic will operate.
38 The V_drive voltage range is from 1.8V to 5.25V and must not exceed VDD by
43 Phandle to the vref power supply
47 GPIO connected to the CONVST pin.
48 This logic input is used to initiate conversions on the analog
57 Interrupt for signaling when conversion results exceed the high limit for
58 ADC readings or fall below the low limit for them. Interrupt source must
59 be attached to ALERT/BUSY/GPO0 pin.
67 - $ref: /schemas/spi/spi-peripheral-props.yaml#
69 # AD7091R-2 does not have ALERT/BUSY/GPO pin
92 unevaluatedProperties: false
96 #include <dt-bindings/gpio/gpio.h>
97 #include <dt-bindings/interrupt-controller/irq.h>
103 compatible = "adi,ad7091r5";
106 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
107 interrupt-parent = <&gpio>;
111 #include <dt-bindings/gpio/gpio.h>
112 #include <dt-bindings/interrupt-controller/irq.h>
114 #address-cells = <1>;
118 compatible = "adi,ad7091r8";
120 spi-max-frequency = <1000000>;
121 vref-supply = <&adc_vref>;
122 convst-gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
123 reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
124 interrupts = <22 IRQ_TYPE_EDGE_FALLING>;
125 interrupt-parent = <&gpio>;