public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/5] mtd/spi: Fix Winbond W35N02JW / W35N04JW support
@ 2026-04-10 17:41 Miquel Raynal
  2026-04-10 17:41 ` [PATCH 1/5] spi: cadence-qspi: Revert the filtering of certain opcodes in ODTR Miquel Raynal
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Miquel Raynal @ 2026-04-10 17:41 UTC (permalink / raw)
  To: Mark Brown, Richard Weinberger, Vignesh Raghavendra,
	Pratyush Yadav
  Cc: Steam Lin, Thomas Petazzoni, linux-spi, linux-kernel, linux-mtd,
	Miquel Raynal

Winbond chips W35N02JW and W35N04JW differ slightly from W35N01JW. As
they have more blocks, they require a couple more bits to fully address
the whole device. These address bits have been stuffed at the end of the
command cycles, which is non standard, and this is something I didn't
catch in the first place.

Stuffing these address bits there implies the creation of a new spi-mem
command template.

While testing, I realized one of my former patches in the Cadence
controller was totally wrong, so it needs to be reverted.

Mark, if it is not too late, you may want to pull in the first 2
patches, and I will apply the SPI NAND patches in a fixes PR after -rc1
is out.

Sorry for the mess :-)

Thanks,
Miquèl

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
Miquel Raynal (5):
      spi: cadence-qspi: Revert the filtering of certain opcodes in ODTR
      spi: spi-mem: Add a packed command operation
      mtd: spinand: Add support for packed read data ODTR commands
      mtd: spinand: winbond: Set the packed page read flag to W35N02/04JW
      mtd: spinand: winbond: Fix ODTR write VCR on W35NxxJW

 drivers/mtd/nand/spi/core.c       | 24 +++++++++++++++++++++---
 drivers/mtd/nand/spi/winbond.c    |  6 +++---
 drivers/spi/spi-cadence-quadspi.c |  4 ----
 include/linux/mtd/spinand.h       |  7 +++++++
 include/linux/spi/spi-mem.h       |  8 ++++++++
 5 files changed, 39 insertions(+), 10 deletions(-)
---
base-commit: a2e786cb711f88509c39b82d8e5a7e52b169b1a6
change-id: 20260410-winbond-6-19-rc1-oddr-7a87b98c452c

Best regards,
-- 
Miquel Raynal <miquel.raynal@bootlin.com>


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2026-04-27 13:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 17:41 [PATCH 0/5] mtd/spi: Fix Winbond W35N02JW / W35N04JW support Miquel Raynal
2026-04-10 17:41 ` [PATCH 1/5] spi: cadence-qspi: Revert the filtering of certain opcodes in ODTR Miquel Raynal
2026-04-10 17:41 ` [PATCH 2/5] spi: spi-mem: Add a packed command operation Miquel Raynal
2026-04-10 17:41 ` [PATCH 3/5] mtd: spinand: Add support for packed read data ODTR commands Miquel Raynal
2026-04-10 17:41 ` [PATCH 4/5] mtd: spinand: winbond: Set the packed page read flag to W35N02/04JW Miquel Raynal
2026-04-10 17:41 ` [PATCH 5/5] mtd: spinand: winbond: Fix ODTR write VCR on W35NxxJW Miquel Raynal
2026-04-11 10:53 ` (subset) [PATCH 0/5] mtd/spi: Fix Winbond W35N02JW / W35N04JW support Mark Brown
2026-04-27 13:10   ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox