arm64: dts: msm8998: thermal: Add interrupt support
authorAmit Kucheria <amit.kucheria@linaro.org>
Mon, 21 Oct 2019 10:35:29 +0000 (16:05 +0530)
committerAndy Gross <agross@kernel.org>
Sun, 27 Oct 2019 05:05:32 +0000 (00:05 -0500)
Register upper-lower interrupts for each of the two tsens controllers.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index f999fdc30086fff6bc4028129ddfd6fc500cab2d..6e7bddd1e0fc6534caff1de95d714ff7ee1e3b8f 100644 (file)
                        compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
                        reg = <0x010ab000 0x1000>, /* TM */
                              <0x010aa000 0x1000>; /* SROT */
-
                        #qcom,sensors = <14>;
+                       interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow";
                        #thermal-sensor-cells = <1>;
                };
 
                        compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
                        reg = <0x010ae000 0x1000>, /* TM */
                              <0x010ad000 0x1000>; /* SROT */
-
                        #qcom,sensors = <8>;
+                       interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow";
                        #thermal-sensor-cells = <1>;
                };