1 * QCOM SoC Temperature Sensor (TSENS)
5 Must be one of the following:
6 - "qcom,msm8916-tsens" (MSM8916)
7 - "qcom,msm8974-tsens" (MSM8974)
8 - "qcom,msm8996-tsens" (MSM8996)
9 - "qcom,msm8998-tsens", "qcom,tsens-v2" (MSM8998)
10 - "qcom,sdm845-tsens", "qcom,tsens-v2" (SDM845)
11 The generic "qcom,tsens-v2" property must be used as a fallback for any SoC
12 with version 2 of the TSENS IP. MSM8996 is the only exception because the
13 generic property did not exist when support was added.
15 - reg: Address range of the thermal registers.
16 New platforms containing v2.x.y of the TSENS IP must specify the SROT and TM
17 register spaces separately, with order being TM before SROT.
20 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description.
21 - #qcom,sensors: Number of sensors in tsens block
22 - Refer to Documentation/devicetree/bindings/nvmem/nvmem.txt to know how to specify
25 Example 1 (legacy support before a fallback tsens-v2 property was introduced):
26 tsens: thermal-sensor@900000 {
27 compatible = "qcom,msm8916-tsens";
28 reg = <0x4a8000 0x2000>;
29 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
30 nvmem-cell-names = "caldata", "calsel";
31 #thermal-sensor-cells = <1>;
34 Example 2 (for any platform containing v2 of the TSENS IP):
35 tsens0: thermal-sensor@c263000 {
36 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
37 reg = <0xc263000 0x1ff>, /* TM */
38 <0xc222000 0x1ff>; /* SROT */
40 #thermal-sensor-cells = <1>;