This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: J721E how to config dts for spi driver with dma

Part Number: TDA4VM


Hi,all

     I want to use spi with dma function

     Is the spi dma function vaild?

     I find follow configs in dts 

     Is there any where , can i find the dma number for each spi ?

Best regards

main_spi0: spi@2100000 {
compatible = "ti,am654-mcspi","ti,omap4-mcspi";
reg = <0x0 0x2100000 0x0 0x400>;
interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
clock-names = "fck";
clocks = <&k3_clks 266 1>;
power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>;
//dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
//dma-names = "tx0", "rx0";
};