DMA transfer peripheral type

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DMA transfer peripheral type

1,368 次查看
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 回复

1,124 次查看
tloan
Contributor II

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

0 项奖励
回复