Lines Matching +full:feedback +full:- +full:pin
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Nuno Sá <nuno.sa@analog.com>
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf
22 - adi,ad3542r
23 - adi,ad3552r
28 spi-max-frequency:
31 reset-gpios:
34 ldac-gpios:
36 LDAC pin to be used as a hardware trigger to update the DAC channels.
39 vref-supply:
44 adi,vref-out-en:
45 description: Vref I/O driven by internal vref to 2.5V. If not set, Vref pin
49 adi,sdo-drive-strength:
52 - 0: low SDO drive strength.
53 - 1: medium low SDO drive strength.
54 - 2: medium high SDO drive strength.
55 - 3: high SDO drive strength
59 '#address-cells':
62 '#size-cells':
66 "^channel@([0-1])$":
77 adi,output-range-microvolt: true
79 custom-output-range-config:
83 adi,output-range-microvolt is not present.
86 Vout_zs = 2.5 - [(GainP + Offset/1024) * 2.5 * Rfbx * 1.03]
89 adi,gain-offset:
93 minimum: -511
95 adi,gain-scaling-p-inv-log2:
96 description: GainP = 1 / ( 2 ^ adi,gain-scaling-p-inv-log2)
100 adi,gain-scaling-n-inv-log2:
101 description: GainN = 1 / ( 2 ^ adi,gain-scaling-n-inv-log2)
105 adi,rfb-ohms:
106 description: Feedback Resistor
109 - adi,gain-offset
110 - adi,gain-scaling-p-inv-log2
111 - adi,gain-scaling-n-inv-log2
112 - adi,rfb-ohms
115 - reg
118 # If adi,output-range-microvolt is missing,
119 # custom-output-range-config must be used
120 - required:
121 - adi,output-range-microvolt
123 - required:
124 - custom-output-range-config
127 - if:
134 "^channel@([0-1])$":
137 adi,output-range-microvolt:
142 Rfb2x for: 0 to 10 V; 2.5 to 7.5V; -5 to 5 V;
144 - items:
145 - const: 0
146 - enum: [2500000, 3000000, 5000000, 10000000]
147 - items:
148 - const: -2500000
149 - const: 7500000
150 - items:
151 - const: -5000000
152 - const: 5000000
155 - adi,output-range-microvolt
157 - if:
164 "^channel@([0-1])$":
167 adi,output-range-microvolt:
172 Rfb2x for: 0 to 10 V; -5 to 5 V;
173 Rfb4x for: -10 to 10V
175 - items:
176 - const: 0
177 - enum: [2500000, 5000000, 10000000]
178 - items:
179 - const: -5000000
180 - const: 5000000
181 - items:
182 - const: -10000000
183 - const: 10000000
186 - compatible
187 - reg
188 - spi-max-frequency
193 - |
195 #address-cells = <1>;
196 #size-cells = <0>;
200 spi-max-frequency = <20000000>;
201 #address-cells = <1>;
202 #size-cells = <0>;
205 adi,output-range-microvolt = <0 10000000>;
209 custom-output-range-config {
210 adi,gain-offset = <5>;
211 adi,gain-scaling-p-inv-log2 = <1>;
212 adi,gain-scaling-n-inv-log2 = <2>;
213 adi,rfb-ohms = <1>;