Lines Matching +full:8 +full:- +full:channel
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
22 - items:
23 - const: qcom,pms405-adc
24 - const: qcom,spmi-adc-rev2
25 - enum:
26 - qcom,spmi-vadc
27 - qcom,spmi-adc5
28 - qcom,spmi-adc-rev2
29 - qcom,spmi-adc7
35 '#address-cells':
38 '#size-cells':
41 '#io-channel-cells':
50 - compatible
51 - reg
52 - '#address-cells'
53 - '#size-cells'
54 - '#io-channel-cells'
57 "^channel@[0-9a-f]+$":
62 For compatible property "qcom,spmi-vadc" following channels, also known as
63 reference point channels, are used for result calibration and their channel
72 ADC channel number.
73 See include/dt-bindings/iio/qcom,spmi-vadc.h
74 For PMIC7 ADC, the channel numbers are specified separately per PMIC
75 in the PMIC-specific files in include/dt-bindings/iio/.
82 the platform schematics name for this channel.
90 qcom,pre-scaling:
92 Used for scaling the channel input signal before the signal is
94 pre-determined ratio and use it for post scaling. It is a pair of
99 $ref: /schemas/types.yaml#/definitions/uint32-array
101 - items:
102 - const: 1
103 - enum: [ 1, 3, 4, 6, 20, 8, 10, 16 ]
104 - items:
105 - const: 10
106 - const: 81
110 Channel calibration type.
111 - For compatible property "qcom,spmi-vadc", if this property is
113 channel calibration. If property is not found, channel will be
116 - For compatible property "qcom,spmi-adc5", "qcom,spmi-adc7" and
117 "qcom,spmi-adc-rev2", if this property is specified VADC will use
118 the VDD reference (1.875V) and GND for channel calibration. If
119 property is not found, channel will be calibrated with 0V and 1.25V
123 qcom,hw-settle-time:
130 qcom,avg-samples:
139 - reg
142 - if:
146 const: qcom,spmi-vadc
150 "^channel@[0-9a-f]+$":
156 qcom,hw-settle-time:
158 4, 6, 8, 10 ]
161 qcom,avg-samples:
162 enum: [ 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 ]
165 - if:
169 const: qcom,spmi-adc-rev2
173 "^channel@[0-9a-f]+$":
179 qcom,hw-settle-time:
181 4, 6, 8, 10 ]
184 qcom,avg-samples:
185 enum: [ 1, 2, 4, 8, 16 ]
188 - if:
192 const: qcom,spmi-adc5
196 "^channel@[0-9a-f]+$":
202 qcom,hw-settle-time:
204 4, 6, 8, 10, 16, 32, 64, 128 ]
207 qcom,avg-samples:
208 enum: [ 1, 2, 4, 8, 16 ]
211 - if:
215 const: qcom,spmi-adc7
219 "^channel@[0-9a-f]+$":
225 qcom,hw-settle-time:
230 qcom,avg-samples:
231 enum: [ 1, 2, 4, 8, 16 ]
237 - |
239 #address-cells = <1>;
240 #size-cells = <0>;
243 compatible = "qcom,spmi-vadc";
246 #address-cells = <1>;
247 #size-cells = <0>;
248 #io-channel-cells = <1>;
250 /* Channel node */
251 channel@39 {
255 qcom,hw-settle-time = <200>;
256 qcom,avg-samples = <1>;
257 qcom,pre-scaling = <1 3>;
260 channel@9 {
264 channel@a {
268 channel@e {
272 channel@f {
278 - |
279 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
280 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
281 #include <dt-bindings/interrupt-controller/irq.h>
284 #address-cells = <1>;
285 #size-cells = <0>;
289 compatible = "qcom,spmi-adc7";
290 #address-cells = <1>;
291 #size-cells = <0>;
292 #io-channel-cells = <1>;
295 channel@44 {
298 qcom,hw-settle-time = <200>;
302 channel@47 {
305 qcom,hw-settle-time = <200>;