Skip to contentSkip to conversation

spi-nand/spi-mem changes for 7.2

GIT PULL Miquel Raynal 1 participant 1 message May 5

Subsystems (2)
lore
Share & tools
lore

Miquel Raynal

author maintainer
#0 lore raw

Hello Mark,

Here is an immutable tag for you to pull into your spi tree with all the spi-mem changes we agreed upon. I also merged it into nand/next.

Thanks,
Miquèl

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/spi-mem-cont-read-for-7.2

for you to fetch changes up to 38fbe4b3f66e5b8e2f2ab8e7ca3d912e1e935fe2:

spi: spi-mem: Add a no_cs_assertion capability (2026-05-04 15:07:37 +0200)

----------------------------------------------------------------
Aside from preparation changes in the SPI NAND core, the changes carried here focus on the shared spi-mem layer which is enhanced in order to bring two new features:

- The possibility to fill a primary and a secondary operation template in the direct mapping structure in order to support continuous reads in SPI NAND, which may require two different read operations.

- SPI controllers may indicate possible CS instabilities over long transfers by setting a boolean. This capability is related to the previous one, the need for it has arised while testing SPI NAND continuous reads with the Cadence QSPI controller which cannot, under certain conditions, keep the CS asserted for the length of an eraseblock-large transfer.

----------------------------------------------------------------
Miquel Raynal (6):
mtd: spinand: Drop a too strong limitation
mtd: spinand: Expose spinand_op_is_odtr()
mtd: spinand: Drop ECC dirmaps
spi: spi-mem: Transform the read operation template
spi: spi-mem: Create a secondary read operation
spi: spi-mem: Add a no_cs_assertion capability

 drivers/mtd/nand/spi/core.c   | 76 +++++++++++++++++--------------------------
 drivers/mtd/spi-nor/core.c    | 22 +++++++------
 drivers/spi/spi-airoha-snfi.c |  6 ++--
 drivers/spi/spi-aspeed-smc.c  |  4 +--
 drivers/spi/spi-intel.c       |  6 ++--
 drivers/spi/spi-mem.c         | 32 ++++++++++++++----
 drivers/spi/spi-mxic.c        | 18 +++++-----
 drivers/spi/spi-npcm-fiu.c    | 16 ++++-----
 drivers/spi/spi-rpc-if.c      |  8 ++---
 drivers/spi/spi-stm32-ospi.c  |  6 ++--
 drivers/spi/spi-stm32-qspi.c  |  6 ++--
 drivers/spi/spi-wpcm-fiu.c    |  2 +-
 include/linux/mtd/spinand.h   |  4 +--
 include/linux/spi/spi-mem.h   | 12 ++++++-
 14 files changed, 115 insertions(+), 103 deletions(-)