From 1def405432ecef89022e8e124208d4fe5dc0c124 Mon Sep 17 00:00:00 2001 From: Rocky Hao Date: Fri, 24 Feb 2017 15:03:34 +0800 Subject: [PATCH] arm64: dts: rockchip: add cpu's power coefficient for rk3328 Change-Id: I33112b21b8f92482ba8e337d622e51948ec923a0 Signed-off-by: Rocky Hao --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 7a998af7cdc5..cc48cedcea6d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -76,6 +76,8 @@ reg = <0x0 0x0>; enable-method = "psci"; clocks = <&cru ARMCLK>; + #cooling-cells = <2>; /* min followed by max */ + dynamic-power-coefficient = <120>; operating-points-v2 = <&cpu0_opp_table>; }; cpu1: cpu@1 { @@ -293,6 +295,13 @@ }; }; + cooling-maps { + map0 { + trip = <&target>; + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + contribution = <4096>; + }; + }; }; }; -- 2.34.1