Commit 4fc5d78f authored by Amit Kucheria's avatar Amit Kucheria Committed by Andy Gross
Browse files

arm64: dts: sdm845: thermal: Add interrupt support



Register upper-lower interrupts for each of the two tsens controllers.

Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarAndy Gross <agross@kernel.org>
parent 6eb1c8ad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2950,6 +2950,8 @@
			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 @@
			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>;
		};