Thank you for your answer, I knew about the file "sdma_test.c" and i'm particularly interested in what's done in "spi_lpb.c" which contains two test functions involving spi transfer.
The second reference you provided me lead me to an interesting discovery:
If I understand correctly inside the folder "arch/arm/plat-mxc/sdma/" there is module called "iapi" which is a "dmaengine" that does not depend on linux imx-sdma driver.
Can you confirm?
Would it be possible to use "I.API" to run on linux the sdma test example in file spi_lpb.c?