Lines Matching +full:tsens +full:- +full:v1

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
16 The IP versions are named v0.1, v1 and v2 in the driver, where v0.1 captures
17 everything before v1 when there was no versioning information.
22 - description: msm9860 TSENS based
24 - enum:
25 - qcom,ipq8064-tsens
27 - description: v0.1 of TSENS
29 - enum:
30 - qcom,mdm9607-tsens
31 - qcom,msm8916-tsens
32 - qcom,msm8939-tsens
33 - qcom,msm8974-tsens
34 - const: qcom,tsens-v0_1
36 - description: v1 of TSENS
38 - enum:
39 - qcom,msm8976-tsens
40 - qcom,qcs404-tsens
41 - const: qcom,tsens-v1
43 - description: v2 of TSENS
45 - enum:
46 - qcom,msm8996-tsens
47 - qcom,msm8998-tsens
48 - qcom,sc7180-tsens
49 - qcom,sc7280-tsens
50 - qcom,sc8180x-tsens
51 - qcom,sdm630-tsens
52 - qcom,sdm845-tsens
53 - qcom,sm8150-tsens
54 - qcom,sm8250-tsens
55 - qcom,sm8350-tsens
56 - const: qcom,tsens-v2
60 - description: TM registers
61 - description: SROT registers
66 - description: Combined interrupt if upper or lower threshold crossed
67 - description: Interrupt if critical threshold crossed
69 interrupt-names:
72 - const: uplow
73 - const: critical
75 nvmem-cells:
81 nvmem-cell-names:
84 - const: calib
85 - enum:
86 - calib_backup
87 - calib_sel
96 "#thermal-sensor-cells":
103 - compatible
104 - interrupts
105 - interrupt-names
106 - "#thermal-sensor-cells"
107 - "#qcom,sensors"
110 - if:
115 - qcom,ipq8064-tsens
116 - qcom,mdm9607-tsens
117 - qcom,msm8916-tsens
118 - qcom,msm8974-tsens
119 - qcom,msm8976-tsens
120 - qcom,qcs404-tsens
121 - qcom,tsens-v0_1
122 - qcom,tsens-v1
127 interrupt-names:
134 interrupt-names:
137 - if:
142 - qcom,tsens-v0_1
143 - qcom,tsens-v1
144 - qcom,tsens-v2
148 - reg
153 - |
154 #include <dt-bindings/interrupt-controller/arm-gic.h>
156 gcc: clock-controller {
160 tsens: thermal-sensor {
161 compatible = "qcom,ipq8064-tsens";
163 nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>;
164 nvmem-cell-names = "calib", "calib_backup";
166 interrupt-names = "uplow";
169 #thermal-sensor-cells = <1>;
173 - |
174 #include <dt-bindings/interrupt-controller/arm-gic.h>
175 // Example 1 (legacy: for pre v1 IP):
176 tsens1: thermal-sensor@900000 {
177 compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";
181 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
182 nvmem-cell-names = "calib", "calib_sel";
185 interrupt-names = "uplow";
188 #thermal-sensor-cells = <1>;
191 - |
192 #include <dt-bindings/interrupt-controller/arm-gic.h>
193 // Example 2 (for any platform containing v1 of the TSENS IP):
194 tsens2: thermal-sensor@4a9000 {
195 compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
199 nvmem-cells = <&tsens_caldata>;
200 nvmem-cell-names = "calib";
203 interrupt-names = "uplow";
206 #thermal-sensor-cells = <1>;
209 - |
210 #include <dt-bindings/interrupt-controller/arm-gic.h>
211 // Example 3 (for any platform containing v2 of the TSENS IP):
212 tsens3: thermal-sensor@c263000 {
213 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
219 interrupt-names = "uplow", "critical";
222 #thermal-sensor-cells = <1>;