Hi Pier,
I just checked my own kernel sources and recognized that the "SDMA support" for UARTs is also missing here.
In my sources, I have added the dt properties into my board file (and not to imx6ul(l).dtsi). In my opinion, these settings are actually board specific:
- Some applications may want NOT to use SDMA for specific peripherals
- other application (like mine) may want to use alternative SDMA channels are specific channel priorities
Here is a snipset from my board dts file:
/* UART1 (Debug) */
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;
/* note: imx_startup() will not enable DMA if UART is used as a console */
/* 4 MCU domain UART */
/* 5 Shared UART */
/* 2 Low priority */
dmas = <&sdma 25 4 2>, <&sdma 26 4 2>;
dma-names = "rx", "tx";
status = "okay";
};
If you have further (SDMA related) questions, please let me know.
regards
Christian