Hi Igor,
Thanks for you great help. Following the doc, I'm able to add an extra "cs-gpios" for a third SPI-slave device to the existing ECSPI2.
However, immediately after the adding, Linux kernel starts giving errors like:
[ 1.130032] spi_imx 30820000.ecspi: dma setup error -19, use pio
[ 1.136699] spi_imx 30820000.ecspi: probed
[ 1.141145] spi_imx 30830000.ecspi: dma setup error -19, use pio
[ 1.147706] spi_imx 30830000.ecspi: probed
FYI, I tried but I'm unable to find a related location in the device tree DTS file to add any additional DMA to the third SPI-slave device.
Any recommendations to how to fix this?
-- Joe