[PATCH v2 00/17] mtd: spi-nor: winbond: Add support for the W35TxxNW family

From: Miquel Raynal

Date: Sun Oct 04 2026 - 17:31:39 EST


First patches are misc fixes.

Then there are core enhancements to support ODTR chips.

Last set of patches is Winbond specific, where I add the bulk of the
changes for supporting the new Winbond Octal-DTR SPI NOR chips in the
winbond manufacturer driver, and then sparkle the ID table with the new
IDs and their respective testing logs.

Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
---
Changes in v2:
- Fix the _careful() read helper in swp.c to make sure the buffer is
initialized (zeroed).
- Fix the location of spi_nor_set_dummy() in order to be called at
resume. This solves numerous problems reported by Sashiko.
- I am on purpose ignoring two comments from Sashiko, for which I have
answered over the mailing list. Let me know if someone disagrees.
- Link to v1: https://lore.kernel.org/r/20261002-winbond-master-spi-nor-w35t-v1-0-a22a2f95c26e@xxxxxxxxxxx

---
Miquel Raynal (17):
mtd: spi-nor: Only switch to ODTR if the chip has a callback for it
mtd: spi-nor: swp: Fix SR2 initialization
mtd: spi-nor: Fix spacing between arguments
mtd: spi-nor: Fix comment indentation to clarify the intent
mtd: spi-nor: sfdp: Enhance a comment
mtd: spi-nor: Drop stale values
mtd: spi-nor: Fix WRSR with ODTR chips
mtd: spi-nor: Allow configuring the actual number of dummy cycles
mtd: spi-nor: Fix SWP for octal DTR chips
mtd: spi-nor: winbond: Prepare the introduction of W35TxxNW parts
mtd: spi-nor: winbond: Add support for W35T64NW-C
mtd: spi-nor: winbond: Add support for W35T12NW-C
mtd: spi-nor: winbond: Add support for W35T25NW-C/E
mtd: spi-nor: winbond: Add support for W35T51NW-C/E
mtd: spi-nor: winbond: Add support for W35T01NW-C/E
mtd: spi-nor: winbond: Add support for W35T02NW-C/E
mtd: spi-nor: Fix the meaning of a comment

drivers/mtd/spi-nor/core.c | 58 +++++++++++++++++---
drivers/mtd/spi-nor/core.h | 3 +
drivers/mtd/spi-nor/sfdp.c | 4 +-
drivers/mtd/spi-nor/swp.c | 25 ++++++++-
drivers/mtd/spi-nor/winbond.c | 124 ++++++++++++++++++++++++++++++++++++++++++
include/linux/mtd/spi-nor.h | 4 --
6 files changed, 200 insertions(+), 18 deletions(-)
---
base-commit: c1775ba88cd08853e3f401d725b2ad94e783c5ec
change-id: 20261001-winbond-master-spi-nor-w35t-217993092ed1

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