aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom
diff options
context:
space:
mode:
authorAmit Kucheria <amit.kucheria@linaro.org>2018-08-20 15:36:26 +0530
committerAndy Gross <andy.gross@linaro.org>2018-11-14 09:32:34 -0800
commit9ee80560a32932873548bb867a46970cdfd1ca40 (patch)
tree7b84d358af8d89896a537a8a092cc4f7311f01f2 /arch/arm64/boot/dts/qcom
parentarm64: dts: msm8916: Add gpu thermal zone (diff)
downloadlinux-dev-9ee80560a32932873548bb867a46970cdfd1ca40.tar.xz
linux-dev-9ee80560a32932873548bb867a46970cdfd1ca40.zip
arm64: dts: msm8916: Add camera thermal zone
Initialise the camera thermal zone to export temperature to userspace. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Acked-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8916.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 392223e68b00..42e72a3164b9 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -254,6 +254,27 @@
};
};
+ camera-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <1000>;
+
+ thermal-sensors = <&tsens 1>;
+
+ trips {
+ cam_alert: trip0 {
+ temperature = <75000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ cam_crit: trip1 {
+ temperature = <95000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+
+ };
+
};
cpu_opp_table: cpu_opp_table {