Commit 58956294 authored by Yassine Oudjana's avatar Yassine Oudjana Committed by Bjorn Andersson

arm64: dts: qcom: msm8996: Add gpu cooling support

Add cooling-cells property and cooling maps for the GPU.
Signed-off-by: default avatarYassine Oudjana <y.oudjana@protonmail.com>
Link: https://lore.kernel.org/r/Ku7mRZ_q2mYDZQ048IPlAc8VOVhH8N4uENhMI-JXxjeiZxjbRRs40ZJYwREb_ScgCvtQgtdl1VRjoDd7CR_8vCrbWVe8n3MwyB1S3VbSDis=@protonmail.comSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 8dc7dba0
...@@ -972,6 +972,8 @@ gpu: gpu@b00000 { ...@@ -972,6 +972,8 @@ gpu: gpu@b00000 {
status = "disabled"; status = "disabled";
#cooling-cells = <2>;
gpu_opp_table: opp-table { gpu_opp_table: opp-table {
compatible ="operating-points-v2"; compatible ="operating-points-v2";
...@@ -3209,7 +3211,14 @@ trips { ...@@ -3209,7 +3211,14 @@ trips {
gpu1_alert0: trip-point0 { gpu1_alert0: trip-point0 {
temperature = <90000>; temperature = <90000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "hot"; type = "passive";
};
};
cooling-maps {
map0 {
trip = <&gpu1_alert0>;
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
}; };
}; };
}; };
...@@ -3224,7 +3233,14 @@ trips { ...@@ -3224,7 +3233,14 @@ trips {
gpu2_alert0: trip-point0 { gpu2_alert0: trip-point0 {
temperature = <90000>; temperature = <90000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "hot"; type = "passive";
};
};
cooling-maps {
map0 {
trip = <&gpu2_alert0>;
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
}; };
}; };
}; };
......
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