]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
spi: spi-mem: Add a no_cs_assertion capability
authorMark Brown <broonie@kernel.org>
Fri, 12 Jun 2026 13:00:51 +0000 (14:00 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2026 13:00:51 +0000 (14:00 +0100)
Merge tag 'mtd/spi-mem-cont-read-for-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux into spi-7.2

Miquel Raynal <miquel.raynal@bootlin.com> says:

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.

1  2 
drivers/mtd/nand/spi/core.c
drivers/spi/spi-aspeed-smc.c
drivers/spi/spi-mem.c
drivers/spi/spi-stm32-ospi.c
drivers/spi/spi-stm32-qspi.c
include/linux/mtd/spinand.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge