2131362_en-US

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

2131362_en-US

2131362_en-US

lx2160a kernel 5.10.35 about spi mode

Hi:

I found that the default DSPI_TCF_MODE transmission is very slow. I want to speed up the SPI transmission, but I found that it seems that the DSPI_DMA_MODE transmission is not supported. When I change the mode to DSPI_EOQ_MODE, it will cause the kernel to crash. I would like to know what steps I should take to effectively speed up the transmission of data through SPI.

My changes are as follows:

in spi-fsl-dspi.c

static const struct fsl_dspi_devtype_data ls2085a_data = {

.trans_mode = DSPI_EOQ_MODE,

.max_clock_factor = 8,

};


Re: lx2160a kernel 5.10.35 about spi mode

Please refer to Linux Kernel source code provide by NXP.

https://github.com/nxp-qoriq/linux/blob/lf-5.10.y/drivers/spi/spi-fsl-dspi.c


Only the following two modes are supported.

enum dspi_trans_mode {
DSPI_XSPI_MODE,
DSPI_DMA_MODE,
};
 
Please use DSPI_XSPI_MODE mode for lx2160a platform.
[LX2160A] = {
.trans_mode = DSPI_XSPI_MODE,
.max_clock_factor = 8,
.fifo_size = 4,
},


タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-22-2025 12:02 AM
更新者: