Lines Matching +full:in3 +full:- +full:supply

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <Michael.Hennerich@analog.com>
11 - Nuno Sá <nuno.sa@analog.com>
14 A family of similar multi-channel analog to digital converters with SPI bus.
21 $ref: /schemas/spi/spi-peripheral-props.yaml#
26 - adi,ad4695
27 - adi,ad4696
28 - adi,ad4697
29 - adi,ad4698
34 spi-max-frequency:
37 spi-cpol: true
38 spi-cpha: true
40 spi-rx-bus-width:
44 avdd-supply:
45 description: Analog power supply.
47 vio-supply:
48 description: I/O pin power supply.
50 ldo-in-supply:
51 description: Internal LDO Input. Mutually exclusive with vdd-supply.
53 vdd-supply:
54 description: Core power supply. Mutually exclusive with ldo-in-supply.
56 ref-supply:
58 External reference voltage. Mutually exclusive with refin-supply.
60 refin-supply:
62 Internal reference buffer input. Mutually exclusive with ref-supply.
64 com-supply:
65 description: Common voltage supply for pseudo-differential analog inputs.
67 adi,no-ref-current-limit:
73 adi,no-ref-high-z:
76 Enable this flag if the ref-supply requires Reference Input High-Z Mode
79 cnv-gpios:
83 reset-gpios:
90 - description: Signal coming from the BSY_ALT_GP0 pin (ALERT or BUSY).
91 - description: Signal coming from the GP2 pin (ALERT).
92 - description: Signal coming from the GP3 pin (BUSY).
94 interrupt-names:
97 - const: gp0
98 - const: gp2
99 - const: gp3
101 gpio-controller: true
103 "#gpio-cells":
109 "#address-cells":
112 "#size-cells":
116 "^in(?:[13579]|1[135])-supply$":
118 Optional voltage supply for odd numbered channels when they are used as
119 the negative input for a pseudo-differential channel.
121 "^channel@[0-9a-f]$":
133 common-mode-channel:
137 dt-bindings/iio/adc/adi,ad4695.h. Values 1 to 15 correspond to INx
143 adi,no-high-z:
146 Enable this flag if the input pin requires the Analog Input High-Z
150 - reg
154 - if:
156 common-mode-channel:
163 - compatible
164 - reg
165 - avdd-supply
166 - vio-supply
169 - oneOf:
170 - required:
171 - ldo-in-supply
172 - required:
173 - vdd-supply
175 - oneOf:
176 - required:
177 - ref-supply
178 - required:
179 - refin-supply
181 # the internal reference buffer always requires high-z mode
182 - if:
184 - refin-supply
187 adi,no-ref-high-z: false
189 # limit channels for 8-channel chips
190 - if:
195 - adi,ad4697
196 - adi,ad4698
199 "^in(?:9|1[135])-supply$": false
200 "^channel@[0-7]$":
204 common-mode-channel:
206 "^channel@[8-9a-f]$": false
211 - |
212 #include <dt-bindings/gpio/gpio.h>
213 #include <dt-bindings/iio/adc/adi,ad4695.h>
216 #address-cells = <1>;
217 #size-cells = <0>;
222 spi-cpol;
223 spi-cpha;
224 spi-max-frequency = <80000000>;
225 avdd-supply = <&power_supply>;
226 ldo-in-supply = <&power_supply>;
227 vio-supply = <&io_supply>;
228 refin-supply = <&supply_5V>;
229 com-supply = <&supply_2V5>;
230 in3-supply = <&supply_2V5>;
231 reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
233 #address-cells = <1>;
234 #size-cells = <0>;
236 /* Pseudo-differential channel between IN0 and REFGND. */
241 /* Pseudo-differential channel between IN1 and COM. */
244 common-mode-channel = <AD4695_COMMON_MODE_COM>;
248 /* Pseudo-differential channel between IN2 and IN3. */
251 common-mode-channel = <3>;