Lines Matching +full:spmi +full:- +full:adc5

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
25 - enum:
26 - qcom,spmi-vadc
27 - qcom,spmi-adc5
28 - qcom,spmi-adc-rev2
29 - qcom,spmi-adc7
32 description: VADC base address in the SPMI PMIC register map
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
73 See include/dt-bindings/iio/qcom,spmi-vadc.h
75 in the PMIC-specific files in include/dt-bindings/iio/.
91 qcom,pre-scaling:
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
112 - For compatible property "qcom,spmi-vadc", if this property is
117 - For compatible property "qcom,spmi-adc5", "qcom,spmi-adc7" and
118 "qcom,spmi-adc-rev2", if this property is specified VADC will use
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>;
256 qcom,hw-settle-time = <200>;
257 qcom,avg-samples = <1>;
258 qcom,pre-scaling = <1 3>;
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>;
299 qcom,hw-settle-time = <200>;
306 qcom,hw-settle-time = <200>;