arm64: dts: imx8mm: Reduce GPU to nominal speed
authorAdam Ford <aford173@gmail.com>
Tue, 28 Nov 2023 20:02:16 +0000 (14:02 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:25 +0000 (15:35 -0800)
[ Upstream commit 1f794d3eed5345413c2b0cf1bcccc92d77681220 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index 738024b..54faf83 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>;
                };