]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: amlogic: meson-g12: add the Mali OPP table and use DVFS
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 19 Jul 2020 17:32:13 +0000 (19:32 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 21 Jul 2020 21:12:38 +0000 (14:12 -0700)
commit197578812475e42c2245a1efb9fa22edbdb0c639
tree09a6ff73a1f45f62cb01b8489cbf601bb368802b
parent54213adf7a3a1b9b6fcc23e0e4d9cc8e06c3d4e0
arm64: dts: amlogic: meson-g12: add the Mali OPP table and use DVFS

Add the OPP table for the Mali Bifrost GPU and drop the hardcoded
initial clock configuration. This enables GPU DVFS and thus saves power
when the GPU is not in use while still being able switch to a higher
clock on demand.

Set the GP0_PLL clock to 744MHz (which is the only frequency which
cannot be derived from the FCLK dividers) as the clock driver avoids
setting the parent clock rates so the HIFI PLL clock isn't changed (as
that's reserved for audio).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200719173213.639540-4-martin.blumenstingl@googlemail.com
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi