Commit 93c4e1fb authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: msm8939: Hook up GPU cooling device

In order to allow for throttling the GPU, hook up the cooling device
to the respective thermal zones.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240102-topic-gpu_cooling-v1-2-fda30c57e353@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 04ee8304
...@@ -1427,6 +1427,8 @@ gpu: gpu@1c00000 { ...@@ -1427,6 +1427,8 @@ gpu: gpu@1c00000 {
power-domains = <&gcc OXILI_GDSC>; power-domains = <&gcc OXILI_GDSC>;
operating-points-v2 = <&opp_table>; operating-points-v2 = <&opp_table>;
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>; iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
#cooling-cells = <2>;
status = "disabled"; status = "disabled";
opp_table: opp-table { opp_table: opp-table {
...@@ -2456,6 +2458,13 @@ gpu-thermal { ...@@ -2456,6 +2458,13 @@ gpu-thermal {
thermal-sensors = <&tsens 3>; thermal-sensors = <&tsens 3>;
cooling-maps {
map0 {
trip = <&gpu_alert0>;
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
trips { trips {
gpu_alert0: trip-point0 { gpu_alert0: trip-point0 {
temperature = <75000>; temperature = <75000>;
......
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