imx8qxp lpI2c DMA "ENODEV" error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8qxp lpI2c DMA "ENODEV" error

Jump to solution
775 Views
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 Kudos
1 Solution
704 Views
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.

View solution in original post

1 Reply
705 Views
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.