]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mm: Configure DMA on UART2
authorAdam Ford <aford173@gmail.com>
Thu, 3 Jul 2025 11:38:09 +0000 (06:38 -0500)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Jul 2025 08:34:31 +0000 (16:34 +0800)
UART2 is often used as the console, so the DMA was likely left
off on purpose, since it's recommended to not use the DMA on the
console. Because, the driver checks to see if the UART is used for
the console when determining if it should initialize DMA, it
should be safe to enable DMA on UART2 for all users.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index cfebaa01217eb02b9514c51ae7dabc6cd7b7245a..ded89b04697014771c20cd7c285d01b73ac9edb9 100644 (file)
                                        clocks = <&clk IMX8MM_CLK_UART2_ROOT>,
                                                 <&clk IMX8MM_CLK_UART2_ROOT>;
                                        clock-names = "ipg", "per";
+                                       dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>;
+                                       dma-names = "rx", "tx";
                                        status = "disabled";
                                };
                        };