Lines Matching +full:gain +full:- +full:offset

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/ad3541r.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf
24 - adi,ad3541r
25 - adi,ad3542r
26 - adi,ad3551r
27 - adi,ad3552r
32 spi-max-frequency:
35 reset-gpios:
38 ldac-gpios:
43 vref-supply:
48 adi,vref-out-en:
53 adi,sdo-drive-strength:
56 - 0: low SDO drive strength.
57 - 1: medium low SDO drive strength.
58 - 2: medium high SDO drive strength.
59 - 3: high SDO drive strength
63 '#address-cells':
66 '#size-cells':
70 "^channel@([0-1])$":
81 adi,output-range-microvolt: true
83 custom-output-range-config:
87 adi,output-range-microvolt is not present.
89 Vout_fs = 2.5 + [(GainN + Offset/1024) * 2.5 * Rfbx * 1.03]
90 Vout_zs = 2.5 - [(GainP + Offset/1024) * 2.5 * Rfbx * 1.03]
93 adi,gain-offset:
94 description: Gain offset used in the above formula
97 minimum: -511
99 adi,gain-scaling-p:
100 description: GainP = 1 / ( 2 ^ adi,gain-scaling-p)
104 adi,gain-scaling-n:
105 description: GainN = 1 / ( 2 ^ adi,gain-scaling-n)
109 adi,rfb-ohms:
113 - adi,gain-offset
114 - adi,gain-scaling-p
115 - adi,gain-scaling-n
116 - adi,rfb-ohms
119 - reg
122 # If adi,output-range-microvolt is missing,
123 # custom-output-range-config must be used
124 - required:
125 - adi,output-range-microvolt
127 - required:
128 - custom-output-range-config
131 - if:
136 - adi,ad3541r
137 - adi,ad3542r
140 "^channel@([0-1])$":
143 adi,output-range-microvolt:
148 Rfb2x for: 0 to 10 V; -2.5 to 7.5V; -5 to 5 V;
150 - items:
151 - const: 0
152 - enum: [2500000, 3000000, 5000000, 10000000]
153 - items:
154 - const: -2500000
155 - const: 7500000
156 - items:
157 - const: -5000000
158 - const: 5000000
161 - adi,output-range-microvolt
163 - if:
168 - adi,ad3551r
169 - adi,ad3552r
172 "^channel@([0-1])$":
175 adi,output-range-microvolt:
180 Rfb2x for: 0 to 10 V; -5 to 5 V;
181 Rfb4x for: -10 to 10V
183 - items:
184 - const: 0
185 - enum: [2500000, 5000000, 10000000]
186 - items:
187 - const: -5000000
188 - const: 5000000
189 - items:
190 - const: -10000000
191 - const: 10000000
193 - if:
198 - adi,ad3541r
199 - adi,ad3551r
209 - compatible
210 - reg
211 - spi-max-frequency
216 - |
218 #address-cells = <1>;
219 #size-cells = <0>;
223 spi-max-frequency = <20000000>;
224 #address-cells = <1>;
225 #size-cells = <0>;
228 adi,output-range-microvolt = <0 10000000>;
232 custom-output-range-config {
233 adi,gain-offset = <5>;
234 adi,gain-scaling-p = <1>;
235 adi,gain-scaling-n = <2>;
236 adi,rfb-ohms = <1>;