Lines Matching +full:ipq8064 +full:- +full:tsens
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#
8 title: QCOM SoC Temperature Sensor (TSENS)
11 - Amit Kucheria <amitk@kernel.org>
14 QCOM SoCs have TSENS IP to allow temperature measurement. There are currently
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,msm8916-tsens
33 - qcom,msm8939-tsens
34 - qcom,msm8974-tsens
35 - const: qcom,tsens-v0_1
37 - description: v1 of TSENS
39 - enum:
40 - qcom,msm8976-tsens
41 - qcom,qcs404-tsens
42 - const: qcom,tsens-v1
44 - description: v2 of TSENS
46 - enum:
47 - qcom,msm8953-tsens
48 - qcom,msm8996-tsens
49 - qcom,msm8998-tsens
50 - qcom,sc7180-tsens
51 - qcom,sc7280-tsens
52 - qcom,sc8180x-tsens
53 - qcom,sc8280xp-tsens
54 - qcom,sdm630-tsens
55 - qcom,sdm845-tsens
56 - qcom,sm6350-tsens
57 - qcom,sm8150-tsens
58 - qcom,sm8250-tsens
59 - qcom,sm8350-tsens
60 - const: qcom,tsens-v2
64 - description: TM registers
65 - description: SROT registers
70 - description: Combined interrupt if upper or lower threshold crossed
71 - description: Interrupt if critical threshold crossed
73 interrupt-names:
76 - const: uplow
77 - const: critical
79 nvmem-cells:
85 nvmem-cell-names:
88 - const: calib
89 - enum:
90 - calib_backup
91 - calib_sel
100 "#thermal-sensor-cells":
107 - compatible
108 - interrupts
109 - interrupt-names
110 - "#thermal-sensor-cells"
111 - "#qcom,sensors"
114 - if:
119 - qcom,ipq8064-tsens
120 - qcom,mdm9607-tsens
121 - qcom,msm8916-tsens
122 - qcom,msm8960-tsens
123 - qcom,msm8974-tsens
124 - qcom,msm8976-tsens
125 - qcom,qcs404-tsens
126 - qcom,tsens-v0_1
127 - qcom,tsens-v1
132 interrupt-names:
139 interrupt-names:
142 - if:
147 - qcom,tsens-v0_1
148 - qcom,tsens-v1
149 - qcom,tsens-v2
153 - reg
158 - |
159 #include <dt-bindings/interrupt-controller/arm-gic.h>
160 // Example msm9860 based SoC (ipq8064):
161 gcc: clock-controller {
165 tsens: thermal-sensor {
166 compatible = "qcom,ipq8064-tsens";
168 nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
169 nvmem-cell-names = "calib", "calib_backup";
171 interrupt-names = "uplow";
174 #thermal-sensor-cells = <1>;
178 - |
179 #include <dt-bindings/interrupt-controller/arm-gic.h>
181 tsens1: thermal-sensor@900000 {
182 compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
186 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
187 nvmem-cell-names = "calib", "calib_sel";
190 interrupt-names = "uplow";
193 #thermal-sensor-cells = <1>;
196 - |
197 #include <dt-bindings/interrupt-controller/arm-gic.h>
198 // Example 2 (for any platform containing v1 of the TSENS IP):
199 tsens2: thermal-sensor@4a9000 {
200 compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
204 nvmem-cells = <&tsens_caldata>;
205 nvmem-cell-names = "calib";
208 interrupt-names = "uplow";
211 #thermal-sensor-cells = <1>;
214 - |
215 #include <dt-bindings/interrupt-controller/arm-gic.h>
216 // Example 3 (for any platform containing v2 of the TSENS IP):
217 tsens3: thermal-sensor@c263000 {
218 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
224 interrupt-names = "uplow", "critical";
227 #thermal-sensor-cells = <1>;