arm64: dts: msm8998: thermal: Add critical interrupt support
authorAmit Kucheria <amit.kucheria@linaro.org>
Tue, 3 Dec 2019 05:23:30 +0000 (10:53 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 29 Dec 2019 06:25:53 +0000 (22:25 -0800)
Register critical interrupts for each of the two tsens controllers

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Link: https://lore.kernel.org/r/3ef309a98ca6445c1982ec3ff1a70db39b18f415.1575349416.git.amit.kucheria@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 93e69f8..91f7f2d 100644 (file)
                        reg = <0x010ab000 0x1000>, /* TM */
                              <0x010aa000 0x1000>; /* SROT */
                        #qcom,sensors = <14>;
-                       interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>;
-                       interrupt-names = "uplow";
+                       interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow", "critical";
                        #thermal-sensor-cells = <1>;
                };
 
                        reg = <0x010ae000 0x1000>, /* TM */
                              <0x010ad000 0x1000>; /* SROT */
                        #qcom,sensors = <8>;
-                       interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
-                       interrupt-names = "uplow";
+                       interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow", "critical";
                        #thermal-sensor-cells = <1>;
                };