arm64: dts: allwinner: a64: Run GPU at 432 MHz
authorFrank Oltmanns <frank@oltmanns.dev>
Sun, 10 Mar 2024 13:21:15 +0000 (14:21 +0100)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Mon, 15 Apr 2024 21:20:37 +0000 (23:20 +0200)
The Allwinner A64's GPU has currently three operating points. However,
the BSP runs the GPU fixed at 432 MHz. In addition, at least one of the
devices using that SoC - the pinephone - shows unstabilities (see link)
that can be circumvented by running the GPU at a fixed rate.

Therefore, remove the other two operating points from the GPU OPP table,
so that the GPU runs at a fixed rate of 432 MHz.

Link: https://gitlab.com/postmarketOS/pmaports/-/issues/805
Acked-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240310-pinephone-pll-fixes-v4-5-46fc80c83637@oltmanns.dev
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 7b01f68cf7f05c954db8cd8127d12a84e98b3b87..ce4aa44c33534284cd458ec20424707b4c86018d 100644 (file)
        gpu_opp_table: opp-table-gpu {
                compatible = "operating-points-v2";
 
-               opp-120000000 {
-                       opp-hz = /bits/ 64 <120000000>;
-               };
-
-               opp-312000000 {
-                       opp-hz = /bits/ 64 <312000000>;
-               };
-
                opp-432000000 {
                        opp-hz = /bits/ 64 <432000000>;
                };