summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2026-09-04 20:12:58 +0200
committerMichael Walle <mwalle@kernel.org>2026-09-07 09:45:22 +0200
commit8eb8c80e59a3cde9fd7e4d730532668cb8ef7b0d (patch)
tree7e7bfe5849c19a6ab268594019b149fada81f587
parent11484eb5458fd54b59f35c511819af9e4de27cd1 (diff)
downloadlinux-next-8eb8c80e59a3cde9fd7e4d730532668cb8ef7b0d.tar.gz
linux-next-8eb8c80e59a3cde9fd7e4d730532668cb8ef7b0d.zip
mtd: spi-nor: winbond: Add support for W25Q25RV-M
There is an ID collision with the chip of same density from the JV family. Both chips are very similar in practice, it is mostly a matter of electrical differences (mostly power consumption being lower). As a significant difference, RV chips identify themselves as supporting the new SFDP (rev F) field which forces an alternate write SR2 opcode (0x31). Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Michael Walle <mwalle@kernel.org>
-rw-r--r--drivers/mtd/spi-nor/winbond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index 2f2c79710241..1f8f8c91b1a1 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -387,7 +387,7 @@ static const struct flash_info winbond_nor_parts[] = {
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
.flags = SPI_NOR_QUAD_PP | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_HAS_CMP,
}, {
- /* W25Q256JV-M */
+ /* W25Q256JV-M, W25Q25RV-M */
.id = SNOR_ID(0xef, 0x70, 0x19),
.name = "w25q256jvm",
.flags = SPI_NOR_QUAD_PP | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB |