Skip to content

spi: cadence-qspi: Move to spi-mem APIs

Vignesh Raghavendra u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 4/42 patches 0 repliesNew
  2. v2 posting 3/40 of 2 patches 0 repliesSuperseded
  3. v2 posting 2/40 of 2 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/42 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Patches in v2 posting 4/4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: cadence_qspi: Move to spi-mem frameworkdrivers/spi/cadence_qspi.c drivers/spi/cadence_qspi.h drivers/spi/cadence_qspi_apb.c+91 -1780 replies
2/2spi: cadence-qspi: Add direct mode supportdrivers/spi/cadence_qspi.c drivers/spi/cadence_qspi.h drivers/spi/cadence_qspi_apb.c+91 -330 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSimon Goldschmidt
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RESEND v2 0/2] spi: cadence-qspi: Move to spi-mem APIs

First patch moves driver over to spi-mem framework and implement spi_mem_ops. This is require to support more SPI Flash opcodes like SFDP parsing etc. Series is in prepartion to add Octal mode for support for the same driver to support OSPI version of the controller.

Second patch adds DAC mode that provide memory mapped access to flash. This greatly increases the read throughput.

Tested with mt25qu512 flash and s25fl512 flash

Resend v2:

Rebase onto the latest master (no functional change)

Vignesh Raghavendra (2):
spi: cadence_qspi: Move to spi-mem framework
spi: cadence-qspi: Add direct mode support

 drivers/spi/cadence_qspi.c     | 148 +++++++++++---------------
 drivers/spi/cadence_qspi.h     |  24 +++--
 drivers/spi/cadence_qspi_apb.c | 185 ++++++++++++++++-----------------
 3 files changed, 164 insertions(+), 193 deletions(-)
Signature · 1 line
2.25.0