Lines Matching +full:io +full:- +full:channel +full:- +full:ranges
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
26 - items:
27 - enum:
28 - qcom,spmi-vadc
29 - qcom,spmi-adc5
30 - qcom,spmi-adc-rev2
31 - qcom,spmi-adc7
37 '#address-cells':
40 '#size-cells':
43 '#io-channel-cells':
51 io-channel-ranges: true
54 - compatible
55 - reg
56 - '#address-cells'
57 - '#size-cells'
58 - '#io-channel-cells'
61 "^.*@[0-9a-f]+$":
65 For compatible property "qcom,spmi-vadc" following channels, also known as
66 reference point channels, are used for result calibration and their channel
74 ADC channel number.
75 See include/dt-bindings/iio/qcom,spmi-vadc.h
76 For PMIC7 ADC, the channel numbers are specified separately per PMIC
77 in the PMIC-specific files in include/dt-bindings/iio/.
85 the platform schematics name for this channel.
93 qcom,pre-scaling:
95 Used for scaling the channel input signal before the signal is
97 pre-determined ratio and use it for post scaling. It is a pair of
102 $ref: /schemas/types.yaml#/definitions/uint32-array
104 - items:
105 - const: 1
106 - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
107 - items:
108 - const: 10
109 - const: 81
113 Channel calibration type.
114 - For compatible property "qcom,spmi-vadc", if this property is
116 channel calibration. If property is not found, channel will be
119 - For compatible property "qcom,spmi-adc5", "qcom,spmi-adc7" and
120 "qcom,spmi-adc-rev2", if this property is specified VADC will use
121 the VDD reference (1.875V) and GND for channel calibration. If
122 property is not found, channel will be calibrated with 0V and 1.25V
126 qcom,hw-settle-time:
133 qcom,avg-samples:
142 - reg
145 - if:
149 const: qcom,spmi-vadc
153 "^.*@[0-9a-f]+$":
159 qcom,hw-settle-time:
164 qcom,avg-samples:
168 - if:
172 const: qcom,spmi-adc-rev2
176 "^.*@[0-9a-f]+$":
182 qcom,hw-settle-time:
187 qcom,avg-samples:
191 - if:
195 const: qcom,spmi-adc5
199 "^.*@[0-9a-f]+$":
205 qcom,hw-settle-time:
210 qcom,avg-samples:
214 - if:
218 const: qcom,spmi-adc7
222 "^.*@[0-9a-f]+$":
228 qcom,hw-settle-time:
233 qcom,avg-samples:
240 - |
242 #address-cells = <1>;
243 #size-cells = <0>;
246 compatible = "qcom,spmi-vadc";
249 #address-cells = <1>;
250 #size-cells = <0>;
251 #io-channel-cells = <1>;
252 io-channel-ranges;
254 /* Channel node */
255 adc-chan@39 {
259 qcom,hw-settle-time = <200>;
260 qcom,avg-samples = <1>;
261 qcom,pre-scaling = <1 3>;
264 adc-chan@9 {
268 adc-chan@a {
272 adc-chan@e {
276 adc-chan@f {