linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: cadence-quadspi: Fix random issues with Xilinx Versal DMA read
@ 2023-03-20  9:59 Sai Krishna Potthuri
  2023-03-20  9:59 ` [PATCH 1/2] spi: cadence-quadspi: Update the read timeout based on the length Sai Krishna Potthuri
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sai Krishna Potthuri @ 2023-03-20  9:59 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-spi, linux-kernel, git, saikrishna12468, Sai Krishna Potthuri

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-17 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20  9:59 [PATCH 0/2] spi: cadence-quadspi: Fix random issues with Xilinx Versal DMA read Sai Krishna Potthuri
2023-03-20  9:59 ` [PATCH 1/2] spi: cadence-quadspi: Update the read timeout based on the length Sai Krishna Potthuri
2023-03-20  9:59 ` [PATCH 2/2] spi: cadence-quadspi: Disable the SPI before reconfiguring Sai Krishna Potthuri
2023-04-14  6:05 ` [PATCH 0/2] spi: cadence-quadspi: Fix random issues with Xilinx Versal DMA read Potthuri, Sai Krishna
2023-04-17 12:50   ` Mark Brown
2023-04-17 19:28 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).