Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] arm64: dts: imx8mq: fix gpu clock
@ 2020-01-15  2:07 Peng Fan
  0 siblings, 0 replies; only message in thread
From: Peng Fan @ 2020-01-15  2:07 UTC (permalink / raw)
  To: robh+dt, mark.rutland, shawnguo, kernel, festevam,
	Leonard Crestez, Abel Vesa, s.hauer
  Cc: devicetree, Peng Fan, Jacky Bai, Anson Huang, angus,
	linux-kernel, dl-linux-imx, Daniel Baluta, linux-arm-kernel,
	l.stach

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15  2:07 [PATCH] arm64: dts: imx8mq: fix gpu clock Peng Fan

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org
	public-inbox-index linux-arm-kernel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git