Lines Matching +full:spmi +full:- +full:channel

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm's SPMI PMIC ADC Thermal Monitoring
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
14 - qcom,spmi-adc-tm5
15 - qcom,spmi-adc-tm5-gen2
23 "#thermal-sensor-cells":
29 "#address-cells":
32 "#size-cells":
35 qcom,avg-samples:
40 - 1
41 - 2
42 - 4
43 - 8
44 - 16
53 - 250
54 - 420
55 - 840
59 "^([-a-z0-9]*)@[0-7]$":
66 description: Specify the sensor channel. There are 8 channels in PMIC5's ADC TM
70 io-channels:
72 From common IIO binding. Used to pipe PMIC ADC channel to thermal monitor
77 Channel calibration type.
79 (1.875V) and GND for channel calibration. If property is not found,
80 channel will be calibrated with 0V and 1.25V reference channels,
83 qcom,hw-settle-time-us:
87 qcom,pre-scaling:
88 $ref: /schemas/types.yaml#/definitions/uint32-array
89 description: Used for scaling the channel input signal before the
91 pre-determined ratio and use it for post scaling. It is a pair of
97 - const: 1
98 - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
100 qcom,avg-samples:
105 - 1
106 - 2
107 - 4
108 - 8
109 - 16
118 - 85
119 - 340
120 - 1360
124 - reg
125 - io-channels
131 - if:
135 const: qcom,spmi-adc-tm5
139 "^([-a-z0-9]*)@[0-7]$":
142 qcom,avg-samples: false
144 - if:
148 const: qcom,spmi-adc-tm5-gen2
152 qcom,avg-samples: false
156 - compatible
157 - reg
158 - interrupts
159 - "#address-cells"
160 - "#size-cells"
161 - "#thermal-sensor-cells"
166 - |
167 #include <dt-bindings/iio/qcom,spmi-vadc.h>
168 #include <dt-bindings/interrupt-controller/irq.h>
170 #address-cells = <1>;
171 #size-cells = <0>;
174 compatible = "qcom,spmi-adc5";
175 #address-cells = <1>;
176 #size-cells = <0>;
177 #io-channel-cells = <1>;
180 conn-therm@4f {
183 qcom,hw-settle-time = <200>;
187 pm8150b_adc_tm: adc-tm@3500 {
188 compatible = "qcom,spmi-adc-tm5";
191 #thermal-sensor-cells = <1>;
192 #address-cells = <1>;
193 #size-cells = <0>;
195 conn-therm@0 {
197 io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>;
199 qcom,hw-settle-time-us = <200>;
204 - |
205 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
206 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
207 #include <dt-bindings/interrupt-controller/irq.h>
209 #address-cells = <1>;
210 #size-cells = <0>;
213 compatible = "qcom,spmi-adc7";
214 #address-cells = <1>;
215 #size-cells = <0>;
216 #io-channel-cells = <1>;
219 xo-therm@44 {
222 qcom,hw-settle-time = <200>;
225 conn-therm@47 {
228 qcom,hw-settle-time = <200>;
232 pmk8350_adc_tm: adc-tm@3400 {
233 compatible = "qcom,spmi-adc-tm5-gen2";
236 #thermal-sensor-cells = <1>;
237 #address-cells = <1>;
238 #size-cells = <0>;
240 pmk8350-xo-therm@0 {
242 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
245 qcom,hw-settle-time-us = <200>;
248 conn-therm@1 {
250 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU>;
251 qcom,avg-samples = <2>;
253 qcom,hw-settle-time-us = <200>;