Lines Matching +full:gpio3 +full:- +full:monitor +full:- +full:enable

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
33 spi-cpol: true
35 reset-gpios:
42 interrupt-names:
47 - adc_rdy
48 - alert
50 avdd-supply: true
51 avcc-supply: true
52 dvcc-supply: true
53 dovdd-supply: true
54 refin-supply: true
56 adi,ch-func:
60 0 - High impedance
61 1 - Voltage output
62 2 - Current output
63 3 - Voltage input
64 4 - Current input, externally-powered
65 5 - Current input, loop-powered
66 6 - Resistance input
67 7 - RTD measure
68 8 - Digital input logic
69 9 - Digital input, loop-powered
70 10 - Current output with HART
71 11 - Current input, externally-powered, with HART
72 12 - Current input, loop-powered, with HART
77 adi,conv2-mux:
81 0 - SENSE_EXT1 to AGND_SENSE
82 1 - SENSE_EXT2 to AGND_SENSE
83 2 - SENSE_EXT2 to SENSE_EXT1
84 3 - AGND to AGND
89 adi,conv2-range-microvolt:
92 - items:
93 - enum: [-2500000, 0]
94 - const: 2500000
95 - items:
96 - enum: [-12000000, 0]
97 - const: 12000000
98 - items:
99 - const: -2500000
100 - const: 0
101 - items:
102 - const: -104000
103 - const: 104000
104 - items:
105 - const: 0
106 - const: 625000
108 adi,sense-agnd-buffer-low-power:
111 Whether to enable low-power buffered mode for the AGND sense pin.
113 adi,lf-buffer-low-power:
116 Whether to enable low-power buffered mode for the low-side filtered
119 adi,hf-buffer-low-power:
122 Whether to enable low-power buffered mode for the high-side filtered
125 adi,ext2-buffer-low-power:
127 description: Whether to enable low-power buffered mode for the EXT2 pin.
129 adi,ext1-buffer-low-power:
131 description: Whether to enable low-power buffered mode for the EXT1 pin.
133 adi,comparator-invert:
137 adi,digital-input-sink-range-high:
145 adi,digital-input-sink-microamp:
151 adi,digital-input-debounce-mode-counter-reset:
155 and decrements when the signal is de-asserted.
157 resets when the signal de-asserts
159 adi,digital-input-unbuffered:
163 adi,digital-input-short-circuit-detection:
167 adi,digital-input-open-circuit-detection:
171 adi,digital-input-threshold-mode-fixed:
174 When not present, the digital input threshold range is -0.96 * AVDD
176 When present, the threshold range is fixed from -19V to 30V.
178 adi,dac-bipolar:
182 When present, the DAC operates in the -12V to 12V range.
184 adi,charge-pump:
186 description: Whether to enable the internal charge pump.
188 adi,dac-hart-slew:
190 description: Whether to use a HART-compatible slew rate.
192 adi,dac-current-limit-low:
195 When not present, the DAC short-circuit current limit is 32mA in
200 adi,4-wire-rtd:
203 When not present, the ADC should be used for measuring 3-wire RTDs.
204 When present, the ADC should be used for measuring 4-wire RTDs.
206 adi,3-wire-rtd-excitation-swap:
208 description: Whether to swap the excitation for 3-wire RTD.
210 adi,rtd-excitation-current-microamp:
215 adi,ext1-burnout:
217 description: Whether to enable burnout current for EXT1.
219 adi,ext1-burnout-current-nanoamp:
225 adi,ext1-burnout-current-polarity-sourcing:
231 adi,ext2-burnout:
233 description: Whether to enable burnout current for EXT2.
235 adi,ext2-burnout-current-nanoamp:
240 adi,ext2-burnout-current-polarity-sourcing:
246 adi,viout-burnout:
248 description: Whether to enable burnout current for VIOUT.
250 adi,viout-burnout-current-nanoamp:
255 adi,viout-burnout-current-polarity-sourcing:
261 adi,gpio0-mode:
265 0 - Disabled
266 1 - Logic I/O
267 2 - Comparator output
268 3 - Control HART CD
269 4 - Monitor HART CD
270 5 - Monitor HART EOM status
275 adi,gpio1-mode:
279 0 - Disabled
280 1 - Logic I/O
281 2 - Drive external digital output FET
282 3 - Control HART RXD
283 4 - Monitor HART RXD
284 5 - Monitor HART SOM status
289 adi,gpio2-mode:
293 0 - Disabled
294 1 - Logic I/O
295 2 - Drive internal digital output FET
296 3 - Control HART TXD
297 4 - Monitor HART TXD
298 5 - Monitor HART TX complete status
303 adi,gpio3-mode:
307 0 - Disabled
308 1 - Logic I/O
309 2 - High impedance
310 3 - Control HART RTS
311 4 - Monitor HART RTS
312 5 - Monitor HART CD complete status
318 - compatible
319 - reg
320 - spi-cpol
321 - avdd-supply
324 - $ref: /schemas/spi/spi-peripheral-props.yaml#
325 - if:
327 - adi,digital-input-sink-range-high
330 adi,digital-input-sink-microamp:
336 - |
337 #include <dt-bindings/gpio/gpio.h>
338 #include <dt-bindings/interrupt-controller/irq.h>
341 #address-cells = <1>;
342 #size-cells = <0>;
348 spi-max-frequency = <12000000>;
349 spi-cpol;
351 reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
353 interrupt-parent = <&gpio>;
355 interrupt-names = "adc_rdy";
357 avdd-supply = <&ad74115_avdd>;
359 adi,ch-func = <1>;
360 adi,conv2-mux = <2>;
361 adi,conv2-range-microvolt = <(-12000000) 12000000>;
363 adi,gpio0-mode = <1>;
364 adi,gpio1-mode = <1>;
365 adi,gpio2-mode = <1>;
366 adi,gpio3-mode = <1>;
368 adi,dac-bipolar;