arm64: dts: qcom: sc7180: Add gpu cooling support
Add cooling-cells property and the cooling maps for the gpu tzones to support GPU cooling. Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Link: https://lore.kernel.org/r/1604054832-3114-2-git-send-email-akhilpo@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
ba73ce9d9a
commit
2315ae70af
1 changed files with 23 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
* SC7180 SoC device tree source
|
* SC7180 SoC device tree source
|
||||||
*
|
*
|
||||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
|
#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
|
||||||
|
@ -2011,6 +2011,8 @@
|
||||||
operating-points-v2 = <&gpu_opp_table>;
|
operating-points-v2 = <&gpu_opp_table>;
|
||||||
qcom,gmu = <&gmu>;
|
qcom,gmu = <&gmu>;
|
||||||
|
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
|
||||||
interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;
|
interconnects = <&gem_noc MASTER_GFX3D 0 &mc_virt SLAVE_EBI1 0>;
|
||||||
interconnect-names = "gfx-mem";
|
interconnect-names = "gfx-mem";
|
||||||
|
|
||||||
|
@ -4037,16 +4039,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
gpuss0-thermal {
|
gpuss0-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <100>;
|
||||||
polling-delay = <0>;
|
polling-delay = <0>;
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 13>;
|
thermal-sensors = <&tsens0 13>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
gpuss0_alert0: trip-point0 {
|
gpuss0_alert0: trip-point0 {
|
||||||
temperature = <90000>;
|
temperature = <95000>;
|
||||||
hysteresis = <2000>;
|
hysteresis = <2000>;
|
||||||
type = "hot";
|
type = "passive";
|
||||||
};
|
};
|
||||||
|
|
||||||
gpuss0_crit: gpuss0_crit {
|
gpuss0_crit: gpuss0_crit {
|
||||||
|
@ -4055,19 +4057,26 @@
|
||||||
type = "critical";
|
type = "critical";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cooling-maps {
|
||||||
|
map0 {
|
||||||
|
trip = <&gpuss0_alert0>;
|
||||||
|
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpuss1-thermal {
|
gpuss1-thermal {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <100>;
|
||||||
polling-delay = <0>;
|
polling-delay = <0>;
|
||||||
|
|
||||||
thermal-sensors = <&tsens0 14>;
|
thermal-sensors = <&tsens0 14>;
|
||||||
|
|
||||||
trips {
|
trips {
|
||||||
gpuss1_alert0: trip-point0 {
|
gpuss1_alert0: trip-point0 {
|
||||||
temperature = <90000>;
|
temperature = <95000>;
|
||||||
hysteresis = <2000>;
|
hysteresis = <2000>;
|
||||||
type = "hot";
|
type = "passive";
|
||||||
};
|
};
|
||||||
|
|
||||||
gpuss1_crit: gpuss1_crit {
|
gpuss1_crit: gpuss1_crit {
|
||||||
|
@ -4076,6 +4085,13 @@
|
||||||
type = "critical";
|
type = "critical";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cooling-maps {
|
||||||
|
map0 {
|
||||||
|
trip = <&gpuss1_alert0>;
|
||||||
|
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
aoss1-thermal {
|
aoss1-thermal {
|
||||||
|
|
Loading…
Add table
Reference in a new issue