Skip to contentSkip to conversation

arm64: dts: imx8mm: Change SDMA1 ahb clock for imx8mm

PATCH Applied Adam Ford 2 participants 2 messages Dec 16, 2019 – Dec 23, 2019

Subsystems (2)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm: Change SDMA1 ahb clock for imx8mm

Using SDMA1 with UART1 is causing a "Timeout waiting for CH0" error. This patch changes to ahb clock from SDMA1_ROOT to AHB which fixes the timeout error.

Fixes a05ea40eb384 ("arm64: dts: imx: Add i.mx8mm dtsi support")

---
A similar fix was made to the i.MX8MQ for the same reason

arch/arm64/boot/dts/freescale/imx8mm.dtsi +1 -1
index 6edbdfe2d0d7..3d95b66a2d71 100644
@@ -740,7 +740,7 @@
 				reg = <0x30bd0000 0x10000>;
 				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>,
-					 <&clk IMX8MM_CLK_SDMA1_ROOT>;
+					 <&clk IMX8MM_CLK_AHB>;
 				clock-names = "ipg", "ahb";
 				#dma-cells = <3>;
 				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 7 lines · Adam Ford

Using SDMA1 with UART1 is causing a "Timeout waiting for CH0" error. This patch changes to ahb clock from SDMA1_ROOT to AHB which fixes the timeout error.

Fixes a05ea40eb384 ("arm64: dts: imx: Add i.mx8mm dtsi support")

Applied, thanks.