[PATCH] serial: imx: Only enable UART DMA on i.MX6Q and i.MX53

Fabio Estevam festevam at gmail.com
Mon Feb 6 11:38:25 PST 2017


Hi Marek,

On Mon, Feb 6, 2017 at 5:05 PM, Marek Vasut <marex at denx.de> wrote:

> Well yes, DMA is broken in 4.9 , that's why it's CC stable 4.9+ :)

This patch is based on the fact that the UART on the imx6sx is not of
a imx6q UART type, which is not correct.

Current imx6sx.dtsi misses to add a "fsl,imx6q-uart" compatible
string, just like all other imx6 SoC dtsi.

When we fix the compatible uart problem on imx6sx.dtsi, then DMA will
be enabled and things will break again.

That's why we need a better fix for this issue:

1) Let's see if Clemens' suggestion of using the latest SDMA firmware
can make DMA robust on  your usecase.

2) If the system fails even with the latest SDMA, then the board dts
can disable dma by passing empty dma nodes.

Not all mx6 system seem to suffer from such SDMA problem. On a
imx6sx-udoo-neo we could use UART with DMA to connect to the Bluetooth
chip.

Thanks



More information about the linux-arm-kernel mailing list