arm64: dts: rockchip: Add dynamic-power-coefficient to rk3399 GPU
authorLukasz Luba <lukasz.luba@arm.com>
Mon, 27 Nov 2023 08:15:11 +0000 (08:15 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 12 Dec 2023 20:43:47 +0000 (21:43 +0100)
commitf56804453a7f41a37d14f7ad325af6231a84a82a
tree0ccd3836f5b56aa349c1ee0ad89cc4526984af86
parenta86e88043de929da76f7f6cf0990ba92aed8391a
arm64: dts: rockchip: Add dynamic-power-coefficient to rk3399 GPU

Add dynamic-power-coefficient to the GPU node. That will create Energy
Model for the GPU based on the coefficient and OPP table information.
It will enable mechanism such as DTMP or IPA to work with the GPU DVFS.
In similar way the Energy Model for CPUs in rk3399 is created, so both
are aligned in power scale. The maximum power used from this coefficient
is 1.5W at 600MHz.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20231127081511.1911706-1-lukasz.luba@arm.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi