Lines Matching +full:adc +full:- +full:chan

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#
7 title: Qualcomm's SPMI PMIC ADC
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
14 SPMI PMIC voltage ADC (VADC) provides interface to clients to read
15 voltage. The VADC is a 15-bit sigma-delta ADC.
16 SPMI PMIC5/PMIC7 voltage ADC (ADC) provides interface to clients to read
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]+$":
64 Represents the external channels which are connected to the ADC.
65 For compatible property "qcom,spmi-vadc" following channels, also known as
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/.
82 ADC input of the platform as seen in the schematics.
90 This parameter is used to decrease ADC sampling rate.
93 qcom,pre-scaling:
97 pre-determined ratio and use it for post scaling. It is a pair of
100 down to 1/3 of its value before ADC measurement.
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
114 - For compatible property "qcom,spmi-vadc", if this property is
119 - For compatible property "qcom,spmi-adc5", "qcom,spmi-adc7" and
120 "qcom,spmi-adc-rev2", if this property is specified VADC will use
126 qcom,hw-settle-time:
129 Time between AMUX getting configured and the ADC starting
133 qcom,avg-samples:
138 from the ADC that is an average of multiple samples. The value
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>;
245 pmic_vadc: adc@3100 {
246 compatible = "qcom,spmi-vadc";
249 #address-cells = <1>;
250 #size-cells = <0>;
251 #io-channel-cells = <1>;
252 io-channel-ranges;
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 {