]> www.infradead.org Git - users/dwmw2/linux.git/commit
ARM: dts: meson8b: use the actual frequency for the GPU's 364MHz OPP
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Wed, 25 Dec 2019 01:06:07 +0000 (02:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:53:02 +0000 (16:53 -0500)
commit053af2587e7f04ab082038c54d5b7f98b601dc2f
tree7a9955adb1eb4772e84309a7eb80b383148d57dd
parent50afa05ba921fe45d558d9fd7f52c5656ef8c22d
ARM: dts: meson8b: use the actual frequency for the GPU's 364MHz OPP

commit c3dd3315ab58b2cfa1916df55b0d0f9fbd94266f upstream.

The clock setup on Meson8 cannot achieve a Mali frequency of exactly
182.15MHz. The vendor driver uses "FCLK_DIV7 / 1" for this frequency,
which translates to 2550MHz / 7 / 1 = 364285714Hz.
Update the GPU operating point to that specific frequency to not confuse
myself when comparing the frequency from the .dts with the actual clock
rate on the system.

Fixes: c3ea80b6138cae ("ARM: dts: meson8b: add the Mali-450 MP2 GPU")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/meson8b.dtsi