Skip to content

spi: cadence-quadspi: Fix random issues with Xilinx Versal DMA read

Sai Krishna Potthuri linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: cadence-quadspi: Update the read timeout based on the lengthdrivers/spi/spi-cadence-quadspi.c+1 -10 replies
2/2spi: cadence-quadspi: Disable the SPI before reconfiguringdrivers/spi/spi-cadence-quadspi.c+23 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] spi: cadence-quadspi: Fix random issues with Xilinx Versal DMA read

Update Xilinx Versal external DMA read logic to fix random issues
- Instead of having the fixed timeout, update the read timeout based on the length of the transfer to avoid timeout for larger data size.
- While switching between external DMA read and indirect read, disable the SPI before configuration and enable it after configuration as recommended by Octal-SPI Flash Controller specification.

Sai Krishna Potthuri (2):
spi: cadence-quadspi: Update the read timeout based on the length
spi: cadence-quadspi: Disable the SPI before reconfiguring

 drivers/spi/spi-cadence-quadspi.c | 40 ++++++++++++++++++-------------
 1 file changed, 24 insertions(+), 16 deletions(-)
Signature · 1 line
2.25.1