Lines Matching +full:ch +full:- +full:func

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 AD74412R and AD74413R are quad-channel software configurable input/output
18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide
20 The AD74413R differentiates itself from the AD74412R by being HART-compatible.
27 - adi,ad74412r
28 - adi,ad74413r
33 '#address-cells':
36 '#size-cells':
39 spi-max-frequency:
42 spi-cpol: true
47 refin-supply: true
49 shunt-resistor-micro-ohms:
51 Shunt (sense) resistor value in micro-Ohms.
54 reset-gpios:
58 - compatible
59 - reg
60 - spi-max-frequency
61 - spi-cpol
62 - refin-supply
65 "^channel@[0-3]$":
77 adi,ch-func:
82 0 - CH_FUNC_HIGH_IMPEDANCE
83 1 - CH_FUNC_VOLTAGE_OUTPUT
84 2 - CH_FUNC_CURRENT_OUTPUT
85 3 - CH_FUNC_VOLTAGE_INPUT
86 4 - CH_FUNC_CURRENT_INPUT_EXT_POWER
87 5 - CH_FUNC_CURRENT_INPUT_LOOP_POWER
88 6 - CH_FUNC_RESISTANCE_INPUT
89 7 - CH_FUNC_DIGITAL_INPUT_LOGIC
90 8 - CH_FUNC_DIGITAL_INPUT_LOOP_POWER
91 9 - CH_FUNC_CURRENT_INPUT_EXT_POWER_HART
92 10 - CH_FUNC_CURRENT_INPUT_LOOP_POWER_HART
97 adi,gpo-comparator:
102 output-only GPIO.
104 drive-strength-microamp:
114 - reg
117 - $ref: /schemas/spi/spi-peripheral-props.yaml#
122 - |
123 #include <dt-bindings/gpio/gpio.h>
124 #include <dt-bindings/interrupt-controller/irq.h>
125 #include <dt-bindings/iio/addac/adi,ad74413r.h>
128 #address-cells = <1>;
129 #size-cells = <0>;
134 spi-max-frequency = <1000000>;
135 spi-cpol;
137 #address-cells = <1>;
138 #size-cells = <0>;
140 interrupt-parent = <&gpio>;
143 refin-supply = <&ad74413r_refin>;
144 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
149 adi,ch-func = <CH_FUNC_VOLTAGE_OUTPUT>;
155 adi,ch-func = <CH_FUNC_CURRENT_OUTPUT>;
161 adi,ch-func = <CH_FUNC_DIGITAL_INPUT_LOGIC>;
162 adi,gpo-comparator;
168 adi,ch-func = <CH_FUNC_CURRENT_INPUT_EXT_POWER>;