Commit 6eb1c8ad authored by Amit Kucheria's avatar Amit Kucheria Committed by Andy Gross

arm64: dts: msm8996: 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>
Signed-off-by: default avatarAndy Gross <agross@kernel.org>
parent bb54e3fa
......@@ -591,6 +591,8 @@ tsens0: thermal-sensor@4a9000 {
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>;
};
......@@ -599,6 +601,8 @@ tsens1: thermal-sensor@4ad000 {
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>;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment