diff mbox series

arm64: dts: imx8mq: fix gpu clock

Message ID 1579053765-29891-1-git-send-email-peng.fan@nxp.com
State New
Headers show
Series arm64: dts: imx8mq: fix gpu clock | expand

Commit Message

Peng Fan Jan. 15, 2020, 2:07 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

v2 of "clk: imx: imx8mq: use imx8m_clk_hw_composite_core" dropped
the IMX8MQ_CLK_GPU_CORE_SRC and IMX8MQ_CLK_GPU_SHADER_SRC, so
the clk pointer will be NULL. clk_set_parent will direclty return
0 when set parent. So let use IMX8MQ_CLK_GPU_CORE_DIV and
IMX8MQ_CLK_GPU_SHADER_DIV which is supported by clk driver.

Reported-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 6a1e83922c71..9481d5270949 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -1051,8 +1051,8 @@ 
 			         <&clk IMX8MQ_CLK_GPU_AHB>;
 			clock-names = "core", "shader", "bus", "reg";
 			#cooling-cells = <2>;
-			assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>,
-			                  <&clk IMX8MQ_CLK_GPU_SHADER_SRC>,
+			assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_DIV>,
+					  <&clk IMX8MQ_CLK_GPU_SHADER_DIV>,
 			                  <&clk IMX8MQ_CLK_GPU_AXI>,
 			                  <&clk IMX8MQ_CLK_GPU_AHB>,
 			                  <&clk IMX8MQ_GPU_PLL_BYPASS>;