Lines Matching +full:gcc +full:- +full:apq8084
1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 ---
5 $id: http://devicetree.org/schemas/thermal/qcom-tsens.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Amit Kucheria <amitk@kernel.org>
22 - description: msm8960 TSENS based
24 - enum:
25 - qcom,ipq8064-tsens
26 - qcom,msm8960-tsens
28 - description: v0.1 of TSENS
30 - enum:
31 - qcom,mdm9607-tsens
32 - qcom,msm8226-tsens
33 - qcom,msm8909-tsens
34 - qcom,msm8916-tsens
35 - qcom,msm8939-tsens
36 - qcom,msm8974-tsens
37 - const: qcom,tsens-v0_1
39 - description: v1 of TSENS
41 - enum:
42 - qcom,msm8956-tsens
43 - qcom,msm8976-tsens
44 - qcom,qcs404-tsens
45 - const: qcom,tsens-v1
47 - description: v2 of TSENS
49 - enum:
50 - qcom,msm8953-tsens
51 - qcom,msm8996-tsens
52 - qcom,msm8998-tsens
53 - qcom,qcm2290-tsens
54 - qcom,sa8775p-tsens
55 - qcom,sc7180-tsens
56 - qcom,sc7280-tsens
57 - qcom,sc8180x-tsens
58 - qcom,sc8280xp-tsens
59 - qcom,sdm630-tsens
60 - qcom,sdm845-tsens
61 - qcom,sm6115-tsens
62 - qcom,sm6350-tsens
63 - qcom,sm6375-tsens
64 - qcom,sm8150-tsens
65 - qcom,sm8250-tsens
66 - qcom,sm8350-tsens
67 - qcom,sm8450-tsens
68 - qcom,sm8550-tsens
69 - qcom,sm8650-tsens
70 - const: qcom,tsens-v2
72 - description: v2 of TSENS with combined interrupt
74 - qcom,ipq8074-tsens
76 - description: v2 of TSENS with combined interrupt
78 - enum:
79 - qcom,ipq9574-tsens
80 - const: qcom,ipq8074-tsens
84 - description: TM registers
85 - description: SROT registers
91 interrupt-names:
95 nvmem-cells:
97 - minItems: 1
101 - minItems: 5
106 # special case for msm8974 / apq8084
107 - maxItems: 51
112 nvmem-cell-names:
114 - minItems: 1
116 - const: calib
117 - enum:
118 - calib_backup
119 - calib_sel
120 - minItems: 5
122 - const: mode
123 - const: base1
124 - const: base2
125 - pattern: '^s[0-9]+_p1$'
126 - pattern: '^s[0-9]+_p2$'
127 - pattern: '^s[0-9]+_p1$'
128 - pattern: '^s[0-9]+_p2$'
129 - pattern: '^s[0-9]+_p1$'
130 - pattern: '^s[0-9]+_p2$'
131 - pattern: '^s[0-9]+_p1$'
132 - pattern: '^s[0-9]+_p2$'
133 - pattern: '^s[0-9]+_p1$'
134 - pattern: '^s[0-9]+_p2$'
135 - pattern: '^s[0-9]+_p1$'
136 - pattern: '^s[0-9]+_p2$'
137 - pattern: '^s[0-9]+_p1$'
138 - pattern: '^s[0-9]+_p2$'
139 - pattern: '^s[0-9]+_p1$'
140 - pattern: '^s[0-9]+_p2$'
141 - pattern: '^s[0-9]+_p1$'
142 - pattern: '^s[0-9]+_p2$'
143 - pattern: '^s[0-9]+_p1$'
144 - pattern: '^s[0-9]+_p2$'
145 - pattern: '^s[0-9]+_p1$'
146 - pattern: '^s[0-9]+_p2$'
147 - pattern: '^s[0-9]+_p1$'
148 - pattern: '^s[0-9]+_p2$'
149 - pattern: '^s[0-9]+_p1$'
150 - pattern: '^s[0-9]+_p2$'
151 - pattern: '^s[0-9]+_p1$'
152 - pattern: '^s[0-9]+_p2$'
153 - pattern: '^s[0-9]+_p1$'
154 - pattern: '^s[0-9]+_p2$'
155 - pattern: '^s[0-9]+_p1$'
156 - pattern: '^s[0-9]+_p2$'
157 # special case for msm8974 / apq8084
158 - items:
159 - const: mode
160 - const: base1
161 - const: base2
162 - const: use_backup
163 - const: mode_backup
164 - const: base1_backup
165 - const: base2_backup
166 - const: s0_p1
167 - const: s0_p2
168 - const: s1_p1
169 - const: s1_p2
170 - const: s2_p1
171 - const: s2_p2
172 - const: s3_p1
173 - const: s3_p2
174 - const: s4_p1
175 - const: s4_p2
176 - const: s5_p1
177 - const: s5_p2
178 - const: s6_p1
179 - const: s6_p2
180 - const: s7_p1
181 - const: s7_p2
182 - const: s8_p1
183 - const: s8_p2
184 - const: s9_p1
185 - const: s9_p2
186 - const: s10_p1
187 - const: s10_p2
188 - const: s0_p1_backup
189 - const: s0_p2_backup
190 - const: s1_p1_backup
191 - const: s1_p2_backup
192 - const: s2_p1_backup
193 - const: s2_p2_backup
194 - const: s3_p1_backup
195 - const: s3_p2_backup
196 - const: s4_p1_backup
197 - const: s4_p2_backup
198 - const: s5_p1_backup
199 - const: s5_p2_backup
200 - const: s6_p1_backup
201 - const: s6_p2_backup
202 - const: s7_p1_backup
203 - const: s7_p2_backup
204 - const: s8_p1_backup
205 - const: s8_p2_backup
206 - const: s9_p1_backup
207 - const: s9_p2_backup
208 - const: s10_p1_backup
209 - const: s10_p2_backup
218 "#thermal-sensor-cells":
225 - compatible
226 - interrupts
227 - interrupt-names
228 - "#thermal-sensor-cells"
229 - "#qcom,sensors"
232 - if:
237 - qcom,ipq8064-tsens
238 - qcom,msm8960-tsens
239 - qcom,tsens-v0_1
240 - qcom,tsens-v1
245 - description: Combined interrupt if upper or lower threshold crossed
246 interrupt-names:
248 - const: uplow
250 - if:
254 const: qcom,tsens-v2
259 - description: Combined interrupt if upper or lower threshold crossed
260 - description: Interrupt if critical threshold crossed
261 interrupt-names:
263 - const: uplow
264 - const: critical
266 - if:
271 - qcom,ipq8074-tsens
276 - description: Combined interrupt if upper, lower or critical thresholds crossed
277 interrupt-names:
279 - const: combined
281 - if:
286 - qcom,ipq8074-tsens
287 - qcom,tsens-v0_1
288 - qcom,tsens-v1
289 - qcom,tsens-v2
293 - reg
298 - |
299 #include <dt-bindings/interrupt-controller/arm-gic.h>
301 gcc: clock-controller {
305 tsens: thermal-sensor {
306 compatible = "qcom,ipq8064-tsens";
308 nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
309 nvmem-cell-names = "calib", "calib_backup";
311 interrupt-names = "uplow";
314 #thermal-sensor-cells = <1>;
318 - |
319 #include <dt-bindings/interrupt-controller/arm-gic.h>
321 thermal-sensor@4a9000 {
322 compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
326 nvmem-cells = <&tsens_mode>,
333 nvmem-cell-names = "mode",
342 interrupt-names = "uplow";
345 #thermal-sensor-cells = <1>;
348 - |
349 #include <dt-bindings/interrupt-controller/arm-gic.h>
351 tsens1: thermal-sensor@4a9000 {
352 compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
356 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
357 nvmem-cell-names = "calib", "calib_sel";
360 interrupt-names = "uplow";
363 #thermal-sensor-cells = <1>;
366 - |
367 #include <dt-bindings/interrupt-controller/arm-gic.h>
369 tsens2: thermal-sensor@4a9000 {
370 compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
374 nvmem-cells = <&tsens_caldata>;
375 nvmem-cell-names = "calib";
378 interrupt-names = "uplow";
381 #thermal-sensor-cells = <1>;
384 - |
385 #include <dt-bindings/interrupt-controller/arm-gic.h>
387 tsens3: thermal-sensor@c263000 {
388 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
394 interrupt-names = "uplow", "critical";
397 #thermal-sensor-cells = <1>;
400 - |
401 #include <dt-bindings/interrupt-controller/arm-gic.h>
402 // Example 4 (for any IPQ8074 based SoC-s):
403 tsens4: thermal-sensor@4a9000 {
404 compatible = "qcom,ipq8074-tsens";
409 interrupt-names = "combined";
412 #thermal-sensor-cells = <1>;