diff options
author | 2019-09-11 19:40:35 -0700 | |
---|---|---|
committer | 2019-10-06 16:05:45 +0800 | |
commit | 9404f2eadacbf97fac02fb62d0da0688c0eebc08 (patch) | |
tree | ce6c01acc9aa8d4d83e9638b6149f20767731c6f | |
parent | arm64: dts: imx8mn: Use "fsl,imx8mm-ocotp" as ocotp's fallback compatible (diff) | |
download | wireguard-linux-9404f2eadacbf97fac02fb62d0da0688c0eebc08.tar.xz wireguard-linux-9404f2eadacbf97fac02fb62d0da0688c0eebc08.zip |
arm64: dts: imx8mq: Enable gpu passive throttling
Temperature and hysteresis were picked after the CPU.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq.dtsi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 04115ca6bfb5..cb11cec57199 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -235,12 +235,26 @@ thermal-sensors = <&tmu 1>; trips { + gpu_alert: gpu-alert { + temperature = <80000>; + hysteresis = <2000>; + type = "passive"; + }; + gpu-crit { temperature = <90000>; hysteresis = <2000>; type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpu_alert>; + cooling-device = + <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; vpu-thermal { @@ -949,6 +963,7 @@ <&clk IMX8MQ_CLK_GPU_AXI>, <&clk IMX8MQ_CLK_GPU_AHB>; clock-names = "core", "shader", "bus", "reg"; + #cooling-cells = <2>; assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>, <&clk IMX8MQ_CLK_GPU_SHADER_SRC>, <&clk IMX8MQ_CLK_GPU_AXI>, |