Lines Matching +full:hw +full:- +full:channels

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]+$":
61 Represents the external channels which are connected to the ADC.
62 For compatible property "qcom,spmi-vadc" following channels, also known as
63 reference point channels, are used for result calibration and their channel
73 See include/dt-bindings/iio/qcom,spmi-vadc.h
75 in the PMIC-specific files in include/dt-bindings/iio/.
90 qcom,pre-scaling:
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
111 - For compatible property "qcom,spmi-vadc", if this property is
114 calibrated with 0.625V and 1.25V reference channels, also
116 - For compatible property "qcom,spmi-adc5", "qcom,spmi-adc7" and
117 "qcom,spmi-adc-rev2", if this property is specified VADC will use
120 reference channels, also known as absolute calibration.
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:
161 qcom,avg-samples:
165 - if:
169 const: qcom,spmi-adc-rev2
173 "^channel@[0-9a-f]+$":
179 qcom,hw-settle-time:
184 qcom,avg-samples:
188 - if:
192 const: qcom,spmi-adc5
196 "^channel@[0-9a-f]+$":
202 qcom,hw-settle-time:
207 qcom,avg-samples:
211 - if:
215 const: qcom,spmi-adc7
219 "^channel@[0-9a-f]+$":
225 qcom,hw-settle-time:
230 qcom,avg-samples:
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>;
255 qcom,hw-settle-time = <200>;
256 qcom,avg-samples = <1>;
257 qcom,pre-scaling = <1 3>;
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>;
298 qcom,hw-settle-time = <200>;
305 qcom,hw-settle-time = <200>;