arm64: dts: imx8mq: fix GPU clock frequency
authorLucas Stach <l.stach@pengutronix.de>
Mon, 15 Apr 2019 13:59:22 +0000 (15:59 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 22 Apr 2019 01:26:05 +0000 (09:26 +0800)
v2 of "clk: imx: Refactor entire sccg pll clk" dropped the implicit
reparenting of the PLL output from the bypass clock to the real
PLL. The commit introducing the GPU node had only been tested against
v1 of this patch. Without an explicit reparent to the real PLL the
GPU is stuck at the bypass clock rate of 25MHz, serverly hampering
performance.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 7c0b12ad7ccfab10ad8dd6e67316e2b01dfb7041..6d635ba0904c509c4f035721934285549c815acd 100644 (file)
                        assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>,
                                          <&clk IMX8MQ_CLK_GPU_SHADER_SRC>,
                                          <&clk IMX8MQ_CLK_GPU_AXI>,
-                                         <&clk IMX8MQ_CLK_GPU_AHB>;
+                                         <&clk IMX8MQ_CLK_GPU_AHB>,
+                                         <&clk IMX8MQ_GPU_PLL_BYPASS>;
                        assigned-clock-parents = <&clk IMX8MQ_GPU_PLL_OUT>,
                                                 <&clk IMX8MQ_GPU_PLL_OUT>,
                                                 <&clk IMX8MQ_GPU_PLL_OUT>,
-                                                <&clk IMX8MQ_GPU_PLL_OUT>;
+                                                <&clk IMX8MQ_GPU_PLL_OUT>,
+                                                <&clk IMX8MQ_GPU_PLL>;
                        assigned-clock-rates = <800000000>, <800000000>,
-                                              <800000000>, <800000000>;
+                                              <800000000>, <800000000>, <0>;
                        power-domains = <&pgc_gpu>;
                };