The i2c driver supports DMA since kernel 3.19 and it has been tested on other platforms such as Vybrid/Layerscape.
It would not be too difficult to add DMA support on i.MX. You need to add 'dmas' and 'dma-names' (take a look at the uart ports as reference) in the imx6ul.dtsi and also make sure to configure IOMUXC_GPR_GPR0 to select DMA for the I2C port you are interested to. Please note that on imx6ul the DMA can be configured to I2C/SPI, so you need to configure it properly in IOMUXC_GPR_GPR0.
Hi Birger,
unfortunately I2C is not supported with DMA en Kernel 4.1. And NXP does not have an official release of Kernel 4.4.
Sorry for the inconvenience.
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------