]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: msm8996: thermal: Add interrupt support
authorAmit Kucheria <amit.kucheria@linaro.org>
Mon, 21 Oct 2019 10:35:28 +0000 (16:05 +0530)
committerAndy Gross <agross@kernel.org>
Sun, 27 Oct 2019 05:05:35 +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/msm8996.dtsi

index 87f4d9c1b0d4c92f25550b8b95edfbd2afa36f73..4ca2e7b44559cb00c211c1b697d7c3c344fcf1c9 100644 (file)
                        reg = <0x4a9000 0x1000>, /* TM */
                              <0x4a8000 0x1000>; /* SROT */
                        #qcom,sensors = <13>;
+                       interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow";
                        #thermal-sensor-cells = <1>;
                };
 
                        reg = <0x4ad000 0x1000>, /* TM */
                              <0x4ac000 0x1000>; /* SROT */
                        #qcom,sensors = <8>;
+                       interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow";
                        #thermal-sensor-cells = <1>;
                };