imx8qxp lpI2c DMA "ENODEV" error

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

imx8qxp lpI2c DMA "ENODEV" error

ソリューションへジャンプ
1,680件の閲覧回数
donet
Contributor I

Hi
We are trying to bring up linux on a i.MX8QXP custom board. Linux boot log is showing the following error message.

"x-lpi2c 37230000.i2c: can't get the TX DMA channel, error -19!
imx-lpi2c 37230000.i2c: error -ENODEV: dma setup error -19, use pio

imx-lpi2c 5a810000.i2c: can't get the TX DMA channel, error -19!
imx-lpi2c 5a810000.i2c: error -ENODEV: dma setup error -19, use pio
pca953x 1-001a: error -ENODEV: reg get err
pca953x 1-001a: using no AI

imx-lpi2c 58226000.i2c: can't get the TX DMA channel, error -19!
imx-lpi2c 58226000.i2c: error -ENODEV: dma setup error -19, use pio
max9286_mipi 21-006a: max9286_read_reg:read reg error: reg=1e
max9286 is not found, chip id reg 0x1e = 0x(ffffffff)"

We found that this error is because "dmas" property is missing in the i2c device tree node. Do we need to add "dmas" property in device tree?.

what should we do if lpI2c is not using the eDMA?

0 件の賞賛
返信
1 解決策
1,609件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

The I2C interfaces for MIPI DSI, MIPI CSI, Parallel CSI, PMIC and Cortex M4F do not support DMA, but they do support Master/Slave mode and Standard/Fast/Fast Plus/Ultra-fast operation modes.

元の投稿で解決策を見る

1 返信
1,610件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

The I2C interfaces for MIPI DSI, MIPI CSI, Parallel CSI, PMIC and Cortex M4F do not support DMA, but they do support Master/Slave mode and Standard/Fast/Fast Plus/Ultra-fast operation modes.