DMA transfer peripheral type

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DMA transfer peripheral type

601件の閲覧回数
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 返信

357件の閲覧回数
tloan
Contributor II

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

0 件の賞賛
返信