Regarding the issue with SPI using DMA and the chip errata ERR009165.
How to enable SPI DMA using the workaround mentioned in the errata ERR009165.
In the code (spi-imx.c) it stats that it is not possible to use DMA with the i.MX6DL.
static int spi_imx_sdma_init(struct device *dev, struct spi_imx_data *spi_imx, struct spi_master *master){ int ret; /* use pio mode for i.mx6dl chip TKT238285 */ if (of_machine_is_compatible("fsl,imx6dl")) return 0;
/Per