Tool/software: Linux
Dear Guys,
As the QSPI read speed was too slow on Linux 3.14.57, we try to merge the last QSPI driver from kernel git, but it can't work fine, the log as below.
When probe QSPI driver, the error info as "ti-qspi 4b300000.qspi: No Rx DMA available, trying mmap mode"
In spi_ti_qspi.c, the driver try to request dma channel, but get fails.
dma_cap_set(DMA_MEMCPY, mask);
if (!qspi->rx_chan) {
dev_err(qspi->dev,
"No Rx DMA available, trying mmap mode\n");
ret = 0;
goto no_dma;
}
Why the dma_request_channel() return fail?
waley