mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
arm64: dts: qcom: sm8350: Hook up GPU cooling device
In order to allow for throttling the GPU, hook up the cooling device to the respective thermal zones. Also, update the trip point label to be more telling, while at it. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240102-topic-gpu_cooling-v1-9-fda30c57e353@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
fb18c89381
commit
43c925e456
1 changed files with 17 additions and 2 deletions
|
@ -1847,6 +1847,7 @@
|
|||
operating-points-v2 = <&gpu_opp_table>;
|
||||
|
||||
qcom,gmu = <&gmu>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
|
@ -4218,8 +4219,15 @@
|
|||
|
||||
thermal-sensors = <&tsens1 1>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpu_top_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpu1_alert0: trip-point0 {
|
||||
gpu_top_alert0: trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <1000>;
|
||||
type = "hot";
|
||||
|
@ -4233,8 +4241,15 @@
|
|||
|
||||
thermal-sensors = <&tsens1 2>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpu_bottom_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpu2_alert0: trip-point0 {
|
||||
gpu_bottom_alert0: trip-point0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <1000>;
|
||||
type = "hot";
|
||||
|
|
Loading…
Add table
Reference in a new issue