Hello
Thank you so much for your reply. We are using mainline kernel 4.9
I see this entry in our im6ql.dtsi file
dma_apbh: dma-apbh@00110000 { compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh"; reg = <0x00110000 0x2000>; interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>, <0 13 IRQ_TYPE_LEVEL_HIGH>, <0 13 IRQ_TYPE_LEVEL_HIGH>, <0 13 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; #dma-cells = <1>; dma-channels = <4>; clocks = <&clks IMX6QDL_CLK_APBH_DMA>; };
This is the router instance?
uart4: serial@021f0000 { compatible = "fsl,imx6q-uart", "fsl,imx21-uart"; reg = <0x021f0000 0x4000>; interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6QDL_CLK_UART_IPG>, <&clks IMX6QDL_CLK_UART_SERIAL>; clock-names = "ipg", "per"; dmas = <&sdma 31 4 0>, <&sdma 32 4 0>; dma-names = "rx", "tx"; status = "disabled"; };This is the serial client?
I can only characters if I put this entry in my main dts file
dma-names = "", "tx";
Without this entry I get an empty buffer back
This test was done with the rx and tx lines looped back
DMA On
dma-names = "rx", "tx";
Device Name /dev/ser4
dddddddddddddfffgfhgjhgfhjgfhgfh
Wrote 32
Read 32
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
dma-names = "","tx";
DMA off
Device Name /dev/ser4
dddddddddddddfffgfhgjhgfhjgfhgfh
Wrote 32
Read 32 dddddddddddddfffgfhgjhgfhjgfhgfh
Is there an updated dtsi file for 4.9 kernel?
Thanks