summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2021-02-11 19:36:54 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-06-29 00:06:39 +0200
commitcaead08c3350e7def147ee2b874686d8d10dc081 (patch)
tree50b324c23839153041df8419b6a405ddbf4fb22c
parent05943f5a1cf33df36dbe423fd4b549a9aa244da1 (diff)
dt: rockchip: rk3399: Add dynamic power coefficient for GPUpowercap/dtpm-dts-1.0
The DTPM framework is looking for upstream SoC candidates to share the power numbers. We can see around different numbers but the one which seems to be consistent with the initial post for the values on the CPUs can be found in the patch https://lore.kernel.org/patchwork/patch/810159/ I don't know the precision of this value but it is better than nothing. Hopefully, one day SoC vendors will be more generous with the power numbers at least for the SoC which are from the previous generation and give the community the opportunity to develop power based frameworks.
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 05480886f268..7ad385f93f73 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1932,6 +1932,7 @@
interrupt-names = "job", "mmu", "gpu";
clocks = <&cru ACLK_GPU>;
#cooling-cells = <2>;
+ dynamic-power-coefficient = <977>;
power-domains = <&power RK3399_PD_GPU>;
status = "disabled";
};