[PATCH] arm64: dts: imx8mq: fix gpu clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Peng Fan <peng.fan@xxxxxxx>

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@xxxxxxx>
Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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>;
-- 
2.16.4





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux