Hi could you share the reference implmentation/ configuration for imx8m ECSPI with DMA support.

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

Hi could you share the reference implmentation/ configuration for imx8m ECSPI with DMA support.

1,286件の閲覧回数
Venkat21
Contributor I

Looking for a reference implementation/ configuration support for imx8m ECSPI with DMA support. Also need to access SPI DMA tx rx data from user space.

0 件の賞賛
返信
1 返信

1,277件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

 SPI driver (spi-imx.c) already uses sdma transmission, you don't need to consider using sdma in user space. 

see drivers/spi/spi-imx.c, please!

......

#define DRIVER_NAME "spi_imx"

static bool use_dma = true;
module_param(use_dma, bool, 0644);
MODULE_PARM_DESC(use_dma, "Enable usage of DMA when available (default)");

......

 

Have a nice day!

B.R,

Weidong

0 件の賞賛
返信