From d27dca34b77cf6b4990e1909eb3ebc2308611079 Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Wed, 15 Jan 2020 16:44:57 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3399pro-npu: Change the parameter of power model Change-Id: I1ea782fc399261c355f5d2e46c15c3758300c431 Signed-off-by: Finley Xiao --- arch/arm64/boot/dts/rockchip/rk3399pro-npu.dtsi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-npu.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-npu.dtsi index 6663c7305d7b..e256edbd102f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-npu.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-npu.dtsi @@ -35,6 +35,13 @@ operating-points-v2 = <&cpu0_opp_table>; dynamic-power-coefficient = <74>; #cooling-cells = <2>; + power-model { + compatible = "simple-power-model"; + ref-leakage = <31>; + static-coefficient = <100000>; + ts = <59740 24105 (-245) 7>; + thermal-zone = "soc-thermal"; + }; }; cpu1: cpu@1 { @@ -363,7 +370,7 @@ soc_thermal: soc-thermal { polling-delay-passive = <20>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ - sustainable-power = <527>; /* milliwatts */ + sustainable-power = <977>; /* milliwatts */ thermal-sensors = <&tsadc 0>; @@ -569,9 +576,10 @@ npu_power_model: power-model { compatible = "simple-power-model"; - static-coefficient = <342478>; + ref-leakage = <31>; + static-coefficient = <100000>; dynamic-coefficient = <3080>; - ts = <32000 4700 (-80) 2>; + ts = <8861 30312 (-500) 10>; thermal-zone = "soc-thermal"; }; };