diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2018-09-10 12:39:53 +0530 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-11-14 09:32:30 -0800 |
commit | 154233c8988a1549d6f7fc41197c73d8bb4a4670 (patch) | |
tree | b14d479ccce2186c7b16b56226cba02a1a2e570f /arch/arm64/boot/dts/qcom/msm8916.dtsi | |
parent | 2b4e5fc0edfe071c7ac625038d38dd7682fe7c5f (diff) | |
download | linux-stable-154233c8988a1549d6f7fc41197c73d8bb4a4670.tar.gz linux-stable-154233c8988a1549d6f7fc41197c73d8bb4a4670.tar.bz2 linux-stable-154233c8988a1549d6f7fc41197c73d8bb4a4670.zip |
arm64: dts: msm8916: Add gpu thermal zone
Initialise the gpu 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/msm8916.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916.dtsi | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 2288826de3cd..392223e68b00 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -234,6 +234,26 @@ }; }; + gpu-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 2>; + + trips { + gpu_alert: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + gpu_crit: trip1 { + temperature = <95000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; + }; cpu_opp_table: cpu_opp_table { |