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)
commit916a0edc43f03f86b13fbc9943e5dc936671ea6e
tree09a6ff73a1f45f62cb01b8489cbf601bb368802b
parent8f16cfabbc0a6c52b114eca2ff8e95bb07949741
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