aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Daniel Kachhap <amit.kachhap@arm.com>2018-03-22 14:46:20 +0530
committerArvind Chauhan <arvind.chauhan@arm.com>2018-04-30 06:27:34 +0100
commite3b3974b49b3bd6efe43a113d408a4bea173c37d (patch)
tree750bc2f178b281f6752cc17d3c4b73d3d07d16ec
parent61b1bd6a424359c41a69c70a8d0a944d691b3717 (diff)
arm64: dts: Fix the mali static/dynamic power co-efficients
This patch sets the mali static and dynamic co-efficients instead of the earlier absolute value. More details on this can be found in Documentation/devicetree/bindings/arm/mali-midgard.txt. The existing opp values are used to calculate the static/dynamic co-efficients using formula, Static-coefficient = uW/V^3 and Dynamic-co-efficient = W/(V^2 * HZ). Change-Id: Id68880d9f2c7712b3e5fa7f82d8f4cc21d6f0c2b Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
-rw-r--r--arch/arm64/boot/dts/arm/juno-base.dtsi6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index cfc6852d8a85..f52af9c18207 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -684,10 +684,8 @@
power-domains = <&scmi_devpd 9>;
power_model {
compatible = "arm,mali-simple-power-model";
- voltage = <800>;
- frequency = <500>;
- static-power = <500>;
- dynamic-power = <1500>;
+ static-coefficient = <976563>;
+ dynamic-coefficient = <4688>;
ts = <20000 2000 (-20) 2>;
/*
* We can't have a proper GPU thermal zone because Juno