Lines Matching +full:reset +full:- +full:active +full:- +full:low

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:
43 refin-supply:
53 adi,conversion-start-gpios:
57 is active high, it should be marked GPIO_ACTIVE_HIGH.
61 reset-gpios:
63 Must be the device tree identifier of the RESET pin. If specified, it will
64 be asserted during driver probe. On the AD7606x, as the line is active
66 active low, it should be marked GPIO_ACTIVE_LOW.
69 standby-gpios:
72 place the AD7606 into one of two power-down modes, Standby mode or
73 Shutdown mode. As the line is active low, it should be marked
77 adi,first-data-gpios:
81 the parallel, byte or serial interface. As the line is active high, it
85 adi,range-gpios:
90 On the AD760X, if this pin is tied to a logic low, the analog input range
91 is ±5V for all channels. As the line is active high, it should be marked
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
106 adi,sw-mode:
112 registers. If the adi,oversampling-ratio-gpios property is defined, then
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>;