arm64: dts: imx8mm: Reduce GPU to nominal speed
authorAdam Ford <aford173@gmail.com>
Tue, 28 Nov 2023 20:02:16 +0000 (14:02 -0600)
committerShawn Guo <shawnguo@kernel.org>
Thu, 14 Dec 2023 02:20:44 +0000 (10:20 +0800)
When the GPU nodes were added, the GPU_PLL_OUT was configured
for 1000MHz, but this requires the SoC to run in overdrive mode
which requires an elevated voltage operating point.

Since this may run some boards out of spec, the default clock
should be set to 800MHz for nominal operating mode. Boards
that run at the higher voltage can update their clocks
accordingly.

Fixes: 4523be8e46be ("arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core")
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index 74f60913ae4ab63d9d6b7fd4adbd0d098f38ce96..8a1b42b94dce69d6d69a153b5298568bf7fbaf02 100644 (file)
                        assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>,
                                          <&clk IMX8MM_GPU_PLL_OUT>;
                        assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>;
-                       assigned-clock-rates = <0>, <1000000000>;
+                       assigned-clock-rates = <0>, <800000000>;
                        power-domains = <&pgc_gpu>;
                };
 
                        assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>,
                                          <&clk IMX8MM_GPU_PLL_OUT>;
                        assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>;
-                       assigned-clock-rates = <0>, <1000000000>;
+                       assigned-clock-rates = <0>, <800000000>;
                        power-domains = <&pgc_gpu>;
                };