Lines Matching +full:9 +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/.
83 the platform schematics name for this channel.
91 qcom,pre-scaling:
93 Used for scaling the channel input signal before the signal is
95 pre-determined ratio and use it for post scaling. It is a pair of
100 $ref: /schemas/types.yaml#/definitions/uint32-array
102 - items:
103 - const: 1
104 - enum: [ 1, 3, 4, 6, 20, 8, 10, 16 ]
105 - items:
106 - const: 10
107 - const: 81
111 Channel calibration type.
112 - For compatible property "qcom,spmi-vadc", if this property is
114 channel calibration. If property is not found, channel will be
117 - For compatible property "qcom,spmi-adc5", "qcom,spmi-adc7" and
118 "qcom,spmi-adc-rev2", if this property is specified VADC will use
119 the VDD reference (1.875V) and GND for channel calibration. If
120 property is not found, channel will be calibrated with 0V and 1.25V
124 qcom,hw-settle-time:
131 qcom,avg-samples:
140 - reg
143 - if:
147 const: qcom,spmi-vadc
151 "^channel@[0-9a-f]+$":
157 qcom,hw-settle-time:
162 qcom,avg-samples:
166 - if:
170 const: qcom,spmi-adc-rev2
174 "^channel@[0-9a-f]+$":
180 qcom,hw-settle-time:
185 qcom,avg-samples:
189 - if:
193 const: qcom,spmi-adc5
197 "^channel@[0-9a-f]+$":
203 qcom,hw-settle-time:
208 qcom,avg-samples:
212 - if:
216 const: qcom,spmi-adc7
220 "^channel@[0-9a-f]+$":
226 qcom,hw-settle-time:
231 qcom,avg-samples:
238 - |
240 #address-cells = <1>;
241 #size-cells = <0>;
244 compatible = "qcom,spmi-vadc";
247 #address-cells = <1>;
248 #size-cells = <0>;
249 #io-channel-cells = <1>;
251 /* Channel node */
252 channel@39 {
256 qcom,hw-settle-time = <200>;
257 qcom,avg-samples = <1>;
258 qcom,pre-scaling = <1 3>;
261 channel@9 {
265 channel@a {
269 channel@e {
273 channel@f {
279 - |
280 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
281 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
282 #include <dt-bindings/interrupt-controller/irq.h>
285 #address-cells = <1>;
286 #size-cells = <0>;
290 compatible = "qcom,spmi-adc7";
291 #address-cells = <1>;
292 #size-cells = <0>;
293 #io-channel-cells = <1>;
296 channel@44 {
299 qcom,hw-settle-time = <200>;
303 channel@47 {
306 qcom,hw-settle-time = <200>;