Lines Matching +full:8 +full:- +full:channel
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Ceclan Dumitru <dumitru.ceclan@analog.com>
15 The AD717x family offer a complete integrated Sigma-Delta ADC solution which
16 can be used in high precision, low noise single channel applications
18 (Factory Automation PLC Input modules). The Sigma-Delta ADC is intended
23 The AD411X family encompasses a series of low power, low noise, 24-bit,
24 sigma-delta analog-to-digital converters that offer a versatile range of
26 fully differential/single-ended and bipolar voltage inputs.
29 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4111.pdf
30 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4112.pdf
31 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4114.pdf
32 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4115.pdf
33 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4116.pdf
34 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7172-2.pdf
35 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7172-4.pdf
36 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7173-8.pdf
37 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7175-2.pdf
38 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7175-8.pdf
39 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7176-2.pdf
40 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7177-2.pdf
45 - adi,ad4111
46 - adi,ad4112
47 - adi,ad4114
48 - adi,ad4115
49 - adi,ad4116
50 - adi,ad7172-2
51 - adi,ad7172-4
52 - adi,ad7173-8
53 - adi,ad7175-2
54 - adi,ad7175-8
55 - adi,ad7176-2
56 - adi,ad7177-2
64 - description: |
68 - description: |
73 interrupt-names:
76 - const: rdy
77 - const: err
79 '#address-cells':
82 '#size-cells':
85 spi-max-frequency:
88 gpio-controller:
91 '#gpio-cells':
95 GPIO flags, as defined in <dt-bindings/gpio/gpio.h>.
97 vref-supply:
101 REF+ and REF- pins: Vref = (REF+) - (REF-).
103 vref2-supply:
107 REF2+ and REF2- pins: Vref2 = (REF2+) - (REF2-).
109 avdd-supply:
112 represents (AVDD1 - AVSS).
114 avdd2-supply:
117 represents (AVDD2 - AVSS).
119 iovdd-supply:
128 clock-names:
130 - ext-clk
131 - xtal
133 '#clock-cells':
137 "^channel@[0-9a-f]$":
147 diff-channels:
150 voltage channel. The first value is the positive input and the second
151 value is the negative input of the channel.
154 To select it set the second channel to 16.
155 (VIN2, VINCOM) -> diff-channels = <2 16>
162 Supported only by AD7172-2, AD7172-4, AD7175-2, AD7175-8, AD7177-2,
172 single-channel:
174 This property is used for defining a current channel or the positive
175 input of a voltage channel (single-ended or pseudo-differential).
178 Example: (IIN2+, IIN2−) -> single-channel = <2>
179 To correctly configure a current channel set the "adi,current-channel"
182 To configure a single-ended/pseudo-differential channel set the
183 "common-mode-channel" property to the desired negative voltage input.
185 When used as a voltage channel, special inputs are valid as well.
189 common-mode-channel:
192 single-ended or pseudo-differential voltage channel.
198 adi,reference-select:
201 the specific channel. Valid values are:
204 refout-avss: REFOUT/AVSS (Internal reference)
207 External reference ref2 only available on ad7173-8 and ad7172-4.
208 Internal reference refout-avss not available on ad7172-4.
213 - vref
214 - vref2
215 - refout-avss
216 - avdd
217 default: refout-avss
219 adi,current-channel:
226 - reg
229 - oneOf:
230 - required: [single-channel]
232 diff-channels: false
233 - required: [diff-channels]
235 single-channel: false
236 adi,current-channel: false
237 common-mode-channel: false
239 - if:
240 required: [common-mode-channel]
243 adi,current-channel: false
246 - compatible
247 - reg
250 - $ref: /schemas/spi/spi-peripheral-props.yaml#
252 # Only ad7172-4, ad7173-8 and ad7175-8 support vref2
253 - if:
259 - adi,ad7172-4
260 - adi,ad7173-8
261 - adi,ad7175-8
264 vref2-supply: false
266 "^channel@[0-9a-f]$":
268 adi,reference-select:
270 - vref
271 - refout-avss
272 - avdd
274 - if:
279 - adi,ad4114
280 - adi,ad4115
281 - adi,ad4116
282 - adi,ad7173-8
283 - adi,ad7175-8
286 "^channel@[0-9a-f]$":
291 - if:
296 - adi,ad7172-2
297 - adi,ad7175-2
298 - adi,ad7176-2
299 - adi,ad7177-2
302 "^channel@[0-9a-f]$":
307 # Model ad7172-4 does not support internal reference
308 - if:
312 const: adi,ad7172-4
315 "^channel@[0-9a-f]$":
319 adi,reference-select:
321 - vref
322 - vref2
323 - avdd
325 - adi,reference-select
327 - if:
332 - adi,ad4111
333 - adi,ad4112
334 - adi,ad4114
335 - adi,ad4115
336 - adi,ad4116
339 avdd2-supply: false
341 - if:
347 - adi,ad4111
348 - adi,ad4112
351 "^channel@[0-9a-f]$":
353 adi,current-channel: false
355 - if:
357 - required: [clock-names]
358 - required: [clocks]
361 '#clock-cells': false
366 # Example AD7173-8 with external reference connected to REF+/REF-:
367 - |
368 #include <dt-bindings/gpio/gpio.h>
369 #include <dt-bindings/interrupt-controller/irq.h>
372 #address-cells = <1>;
373 #size-cells = <0>;
376 compatible = "adi,ad7173-8";
379 #address-cells = <1>;
380 #size-cells = <0>;
383 interrupt-names = "rdy";
384 interrupt-parent = <&gpio>;
385 spi-max-frequency = <5000000>;
386 gpio-controller;
387 #gpio-cells = <2>;
388 #clock-cells = <0>;
390 vref-supply = <&dummy_regulator>;
392 channel@0 {
395 diff-channels = <0 1>;
396 adi,reference-select = "vref";
399 channel@1 {
401 diff-channels = <2 3>;
404 channel@2 {
407 diff-channels = <4 5>;
410 channel@3 {
413 diff-channels = <6 7>;
416 channel@4 {
418 diff-channels = <8 9>;
419 adi,reference-select = "avdd";
424 # Example AD4111 with current channel and single-ended channel:
425 - |
426 #include <dt-bindings/gpio/gpio.h>
427 #include <dt-bindings/interrupt-controller/irq.h>
430 #address-cells = <1>;
431 #size-cells = <0>;
437 #address-cells = <1>;
438 #size-cells = <0>;
441 interrupt-names = "rdy";
442 interrupt-parent = <&gpio>;
443 spi-max-frequency = <5000000>;
444 gpio-controller;
445 #gpio-cells = <2>;
446 #clock-cells = <0>;
448 channel@0 {
451 diff-channels = <4 5>;
454 // Single ended channel VIN2/VINCOM
455 channel@1 {
458 single-channel = <2>;
459 common-mode-channel = <16>;
462 // Current channel IN2+/IN2-
463 channel@2 {
465 single-channel = <2>;
466 adi,current-channel;