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.

AM62A3-Q1: How to enable main spi0 DMA mode on AM62Ax?

Part Number: AM62A3-Q1
Other Parts Discussed in Thread: AM62A3, AM625

Tool/software:

Hi TI,

Refer to below page:

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1356551/faq-am6x-optimizing-spi-transfer-inter-byte-gaps-using-the-dma-in-linux

I see the need to add some configs in dts.

On my AM62A3 board, I have already enabled main_spi0, and it works fine. But the cpuload is very high(100%/400% for 4 cpu core).

So, I want to enable DMA mode of main_spi0 to check the cpuload can reduced or not.

Is it the same configs as AM625(k3-am625-sk.dts)?

+	dmas = <&main_pktdma 0xc300 0>, <&main_pktdma 0x4300 0>;
+	dma-names = "tx0", "rx0";

And, if enabled DMA, do this help reduce CPU load?

Thanks.

Tao