Lines Matching +full:xo +full:- +full:therm
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#
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
14 - qcom,spmi-adc-tm5
15 - qcom,spmi-adc-tm5-gen2
16 - qcom,adc-tm7 # Incomplete / subject to change
24 "#thermal-sensor-cells":
30 "#address-cells":
33 "#size-cells":
36 qcom,avg-samples:
41 - 1
42 - 2
43 - 4
44 - 8
45 - 16
54 - 250
55 - 420
56 - 840
60 "^([-a-z0-9]*)@[0-7]$":
71 io-channels:
84 qcom,hw-settle-time-us:
88 qcom,pre-scaling:
89 $ref: /schemas/types.yaml#/definitions/uint32-array
92 pre-determined ratio and use it for post scaling. It is a pair of
98 - const: 1
99 - enum: [ 1, 3, 4, 6, 20, 8, 10 ]
101 qcom,avg-samples:
106 - 1
107 - 2
108 - 4
109 - 8
110 - 16
119 - 85
120 - 340
121 - 1360
125 - reg
126 - io-channels
132 - if:
136 const: qcom,spmi-adc-tm5
140 "^([-a-z0-9]*)@[0-7]$":
143 qcom,avg-samples: false
145 - if:
149 const: qcom,spmi-adc-tm5-gen2
153 qcom,avg-samples: false
157 - compatible
158 - reg
159 - interrupts
160 - "#address-cells"
161 - "#size-cells"
162 - "#thermal-sensor-cells"
167 - |
168 #include <dt-bindings/iio/qcom,spmi-vadc.h>
169 #include <dt-bindings/interrupt-controller/irq.h>
172 #address-cells = <1>;
173 #size-cells = <0>;
176 compatible = "qcom,spmi-adc5";
178 #address-cells = <1>;
179 #size-cells = <0>;
180 #io-channel-cells = <1>;
186 qcom,hw-settle-time = <200>;
191 adc-tm@3500 {
192 compatible = "qcom,spmi-adc-tm5";
195 #thermal-sensor-cells = <1>;
196 #address-cells = <1>;
197 #size-cells = <0>;
199 conn-therm@0 {
201 io-channels = <&pm8150b_adc ADC5_AMUX_THM3_100K_PU>;
203 qcom,hw-settle-time-us = <200>;
208 - |
209 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
210 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
211 #include <dt-bindings/interrupt-controller/irq.h>
214 #address-cells = <1>;
215 #size-cells = <0>;
218 compatible = "qcom,spmi-adc7";
220 #address-cells = <1>;
221 #size-cells = <0>;
222 #io-channel-cells = <1>;
228 qcom,hw-settle-time = <200>;
235 qcom,hw-settle-time = <200>;
240 adc-tm@3400 {
241 compatible = "qcom,spmi-adc-tm5-gen2";
244 #thermal-sensor-cells = <1>;
245 #address-cells = <1>;
246 #size-cells = <0>;
248 pmk8350-xo-therm@0 {
250 io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
253 qcom,hw-settle-time-us = <200>;
256 conn-therm@1 {
258 io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
259 qcom,avg-samples = <2>;
261 qcom,hw-settle-time-us = <200>;