AnsweredAssumed Answered

Using SDMA for I2C on i.MX8M Linux?

Question asked by Steven Scholz on Apr 8, 2019
Latest reply on Apr 8, 2019 by jamesbone



is it possible to use the Linux SDMA driver for I2C communication on a i.MX8MQ (EVK)?


I see DMA releated code in drivers/i2c/busses/i2c-imx.c. But when booting Linux 4.14.78 I get


i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA, using PIO instead.


I supposed I need to configure the device tree accordingly. But Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt does not mention I2C as possible peripheral type.


Thanks in advance!