projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f93c9
)
arm64: dts: msm8916: thermal: Add sensor for modem
author
Amit Kucheria
<amit.kucheria@linaro.org>
Fri, 29 Mar 2019 10:12:09 +0000
(15:42 +0530)
committer
Andy Gross
<agross@kernel.org>
Wed, 10 Apr 2019 04:08:17 +0000
(23:08 -0500)
On platforms that have a modem, sensor 0 monitors the modem.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm64/boot/dts/qcom/msm8916.dtsi
b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 0803ca8c02da371dbd4670757988453eabee82ec..c8aa9a0986d2a561dd794c7cf5c1b6bee38b47cb 100644
(file)
--- a/
arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/
arch/arm64/boot/dts/qcom/msm8916.dtsi
@@
-278,7
+278,21
@@
type = "critical";
};
};
+ };
+
+ modem-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <1000>;
+
+ thermal-sensors = <&tsens 0>;
+ trips {
+ modem_alert0: trip-point@0 {
+ temperature = <85000>;
+ hysteresis = <2000>;
+ type = "hot";
+ };
+ };
};
};