]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: sdm845: thermal: Add interrupt support
authorAmit Kucheria <amit.kucheria@linaro.org>
Mon, 21 Oct 2019 10:35:27 +0000 (16:05 +0530)
committerAndy Gross <agross@kernel.org>
Sun, 27 Oct 2019 05:05:38 +0000 (00:05 -0500)
Register upper-lower interrupts for each of the two tsens controllers.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 0d8cd98071507ceb1a479dad3934620ff25b6327..1ed0ba152c90a4c0c852cde5668c1f409445e453 100644 (file)
@@ -2950,6 +2950,8 @@ tsens0: thermal-sensor@c263000 {
                        reg = <0 0x0c263000 0 0x1ff>, /* TM */
                              <0 0x0c222000 0 0x1ff>; /* SROT */
                        #qcom,sensors = <13>;
+                       interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow";
                        #thermal-sensor-cells = <1>;
                };
 
@@ -2958,6 +2960,8 @@ tsens1: thermal-sensor@c265000 {
                        reg = <0 0x0c265000 0 0x1ff>, /* TM */
                              <0 0x0c223000 0 0x1ff>; /* SROT */
                        #qcom,sensors = <8>;
+                       interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "uplow";
                        #thermal-sensor-cells = <1>;
                };