From: Rocky Hao Date: Tue, 27 Jun 2017 06:47:26 +0000 (+0800) Subject: arm64: dts: rockchip: add gpu in thermal control for rk3328 X-Git-Tag: release-20171130_firefly~4^2~261 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5f88fadefc5fa5dbf04ead1b1d47532519b381e;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: add gpu in thermal control for rk3328 add gpu as a cooling device in thermal control Change-Id: Ia9db5df7b2d5d9ed19672f64f8924877016732c2 Signed-off-by: Rocky Hao --- diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index f8f0dffe59ad..48655ef0b715 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -326,6 +326,11 @@ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; contribution = <4096>; }; + map1 { + trip = <&target>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + contribution = <4096>; + }; }; }; @@ -597,6 +602,7 @@ "Mali_PP1_MMU_IRQ"; clocks = <&cru ACLK_GPU>; clock-names = "clk_mali"; + #cooling-cells = <2>; /* min followed by max */ operating-points-v2 = <&gpu_opp_table>; status = "disabled";