Lines Matching +full:level +full:- +full:high

1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf
22 - adi,ad7605-4
23 - adi,ad7606-4
24 - adi,ad7606-6
25 - adi,ad7606-8 # Referred to as AD7606 (without -8) in the datasheet
26 - adi,ad7606b
27 - adi,ad7616
32 spi-cpha: true
34 spi-cpol: true
36 avcc-supply: true
38 vdrive-supply:
40 Determines the voltage level at which the interface logic pins will
43 refin-supply:
53 adi,conversion-start-gpios:
57 is active high, it should be marked GPIO_ACTIVE_HIGH.
61 reset-gpios:
65 high, it should be marked GPIO_ACTIVE_HIGH. On the AD7616, as the line is
69 standby-gpios:
72 place the AD7606 into one of two power-down modes, Standby mode or
77 adi,first-data-gpios:
81 the parallel, byte or serial interface. As the line is active high, it
85 adi,range-gpios:
89 is tied to a logic high, the analog input range is ±10V for all channels.
91 is ±5V for all channels. As the line is active high, it should be marked
93 tied to a logic high, software mode is enabled, otherwise one of the 3
98 adi,oversampling-ratio-gpios:
100 Must be the device tree identifier of the over-sampling mode pins. As the
101 line is active high, it should be marked GPIO_ACTIVE_HIGH. On the AD7606X
102 parts that support it, if all 3 pins are tied to a logic high, software
106 adi,sw-mode:
109 It is enabled when all three oversampling mode pins are connected to high
110 level for the AD7606B, or both the range selection are connected to high
111 level for the AD7616. The device is configured by the corresponding
112 registers. If the adi,oversampling-ratio-gpios property is defined, then
113 the driver will set the oversampling gpios to high. Otherwise, it is
118 - compatible
119 - reg
120 - spi-cpha
121 - avcc-supply
122 - vdrive-supply
123 - interrupts
124 - adi,conversion-start-gpios
127 - $ref: /schemas/spi/spi-peripheral-props.yaml#
129 - if:
136 adi,first-data-gpios: false
137 standby-gpios: false
138 adi,range-gpios:
142 adi,range-gpios:
145 - if:
150 - adi,ad7605-4
151 - adi,ad7616
154 adi,oversampling-ratio-gpios: false
156 - if:
161 - adi,ad7605-4
162 - adi,ad7606-4
163 - adi,ad7606-6
164 - adi,ad7606-8
167 adi,sw-mode: false
170 adi,conversion-start-gpios:
176 - |
177 #include <dt-bindings/gpio/gpio.h>
178 #include <dt-bindings/interrupt-controller/irq.h>
180 #address-cells = <1>;
181 #size-cells = <0>;
184 compatible = "adi,ad7606-8";
186 spi-max-frequency = <1000000>;
187 spi-cpol;
188 spi-cpha;
190 avcc-supply = <&adc_vref>;
191 vdrive-supply = <&vdd_supply>;
194 interrupt-parent = <&gpio>;
196 adi,conversion-start-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
197 reset-gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
198 adi,first-data-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
199 adi,oversampling-ratio-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>,
202 standby-gpios = <&gpio 24 GPIO_ACTIVE_LOW>;