diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-03-29 11:12:13 +0100 |
---|---|---|
committer | Andy Gross <agross@kernel.org> | 2019-04-10 06:08:17 +0200 |
commit | 2fa2d301cbca51263e615cd07d4140b15047cae0 (patch) | |
tree | 389c6d32216d00691425dad3ba4d858a3b1590c5 | |
parent | arm64: dts: msm8998: thermal: Fix the gpu sensor number (diff) | |
download | linux-2fa2d301cbca51263e615cd07d4140b15047cae0.tar.xz linux-2fa2d301cbca51263e615cd07d4140b15047cae0.zip |
arm64: dts: msm8998: thermal: GPU has two sensors, add the second
The first sensor is on top and the second sensor below the GPU
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8998.dtsi | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 56ca9ecdb0bf..b368da235663 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -506,11 +506,34 @@ }; }; - gpu-thermal { + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 12>; + + trips { + gpu1_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + gpu-thermal-top { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 13>; + + trips { + gpu2_alert0: trip-point@0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; }; }; |