Lines Matching +full:adc +full:- +full:channels +full:- +full:used
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/iio/adc/adi,ad7124.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Analog Devices AD7124 ADC device driver
11 - Stefan Popa <[email protected]>
14 Bindings for the Analog Devices AD7124 ADC device. Datasheet can be
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf
21 - adi,ad7124-4
22 - adi,ad7124-8
32 clock-names:
34 - const: mclk
37 description: IRQ line for the ADC
40 rdy-gpios:
51 '#address-cells':
54 '#size-cells':
57 refin1-supply:
58 description: refin1 supply can be used as reference for conversion.
60 refin2-supply:
61 description: refin2 supply can be used as reference for conversion.
63 avdd-supply:
64 description: avdd supply can be used as reference for conversion.
67 - compatible
68 - reg
69 - clocks
70 - clock-names
71 - interrupts
74 "^channel@([0-9]|1[0-5])$":
75 $ref: adc.yaml
78 Represents the external channels which are connected to the ADC.
83 The channel number. It can have up to 8 channels on ad7124-4
84 and 16 channels on ad7124-8, numbered from 0 to 15.
89 adi,reference-select:
100 diff-channels: true
104 adi,buffered-positive:
108 adi,buffered-negative:
113 - reg
114 - diff-channels
119 - $ref: /schemas/spi/spi-peripheral-props.yaml#
124 - |
125 #include <dt-bindings/gpio/gpio.h>
127 #address-cells = <1>;
128 #size-cells = <0>;
130 adc@0 {
131 compatible = "adi,ad7124-4";
133 spi-max-frequency = <5000000>;
135 interrupt-parent = <&gpio>;
136 rdy-gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
137 refin1-supply = <&adc_vref>;
139 clock-names = "mclk";
141 #address-cells = <1>;
142 #size-cells = <0>;
146 diff-channels = <0 1>;
147 adi,reference-select = <0>;
148 adi,buffered-positive;
154 diff-channels = <2 3>;
155 adi,reference-select = <0>;
156 adi,buffered-positive;
157 adi,buffered-negative;
162 diff-channels = <4 5>;
167 diff-channels = <6 7>;