DMA transfer peripheral type

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DMA transfer peripheral type

704 Views
kagawa
Contributor I

Hello community, I am working on imx8mm.
Is this DTS correct when using SAI?

sai3: sai@30030000 {
#sound-dai-cells = <0>;
compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
reg = <0x30030000 0x10000>;
interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_SAI3_IPG>,
<&clk IMX8MM_CLK_SAI3_ROOT>,
<&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>;
clock-names = "bus", "mclk1", "mclk2", "mclk3";
dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>;
dma-names = "rx", "tx";
status = "disabled";
};


In this configuration, the DMA transfer peripheral type is 2.
According to Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt, 2 is MMC and SAI is 24.

Should I fix it to 24?

1 Reply

460 Views
tloan
Contributor II

Would love to see an NXP expert answer this, or provide educational resources on this topic. 

0 Kudos
Reply