Skip to contentSkip to conversation

mtd: spi-nor: issi: Add support for is25wx01g

PATCH In review Flaviu Nistor 2 participants 3 messages Sep 1, 2025 – Sep 2, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: spi-nor: issi: Add support for is25wx01g

Add support for the IS25WX01G 128MB (1Gb) ISSI Serial Flash Memory.

---
 drivers/mtd/spi-nor/issi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/mtd/spi-nor/issi.c +3 -0
index 18d9a00aa22e..e4997f9bd557 100644
@@ -126,6 +126,9 @@ static const struct flash_info issi_nor_parts[] = {
 		.flags = SPI_NOR_QUAD_PP,
 		.fixups = &is25lp256_fixups,
 		.fixup_flags = SPI_NOR_4B_OPCODES,
+	}, {
+		/* IS25WX01G */
+		.id = SNOR_ID(0x9d, 0x5b, 0x1b),
 	}
 };
 
Signature · 1 line
2.43.0
maintainer
#1 lore raw

Hi Flaviu,

Quoted 12 lines · Flaviu Nistor

Add support for the IS25WX01G 128MB (1Gb) ISSI Serial Flash Memory.

---
 drivers/mtd/spi-nor/issi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/mtd/spi-nor/issi.c +0 -0
index 18d9a00aa22e..e4997f9bd557 100644

drivers/mtd/spi-nor/issi.c static const struct flash_info issi_nor_parts[] = { · line 131

Quoted 6 lines
drivers/mtd/spi-nor/issi.c +3 -0
@@ -126,6 +126,9 @@ static const struct flash_info issi_nor_parts[] = {
 		.flags = SPI_NOR_QUAD_PP,
 		.fixups = &is25lp256_fixups,
 		.fixup_flags = SPI_NOR_4B_OPCODES,
+	}, {
+		/* IS25WX01G */
+		.id = SNOR_ID(0x9d, 0x5b, 0x1b),

It seems the flash needs no special configuration. IIUC it can be driven entirely based on SFDP data. In that case, I don't think there is a need for an entry at all. The generic SFDP-based driver should already be enough for your flash. Just add a "jedec,spi-nor" node to your DT and it should work.

Quoted 2 lines
drivers/mtd/spi-nor/issi.c +0 -0
 	}
 };
Signature · 2 lines
Regards,
Pratyush Yadav
#2 lore raw
Quoted 20 lines

Hi Flaviu,

Quoted 16 lines · Flaviu Nistor

Add support for the IS25WX01G 128MB (1Gb) ISSI Serial Flash Memory.

---
 drivers/mtd/spi-nor/issi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/mtd/spi-nor/issi.c +1 -0
index 18d9a00aa22e..e4997f9bd557 100644
@@ -126,6 +126,9 @@ static const struct flash_info issi_nor_parts[] = {
 		.flags = SPI_NOR_QUAD_PP,
 		.fixups = &is25lp256_fixups,
 		.fixup_flags = SPI_NOR_4B_OPCODES,
+	}, {
Quoted 8 lines

drivers/mtd/spi-nor/issi.c static const struct flash_info issi_nor_parts[] = { · line 131

Quoted 2 lines
drivers/mtd/spi-nor/issi.c +2 -0
+		/* IS25WX01G */
+		.id = SNOR_ID(0x9d, 0x5b, 0x1b),

It seems the flash needs no special configuration. IIUC it can be driven entirely based on SFDP data. In that case, I don't think there is a need for an entry at all. The generic SFDP-based driver should already be enough for your flash. Just add a "jedec,spi-nor" node to your DT and it should work.

Thanks for the review and the explanation. I now see in the core driver that spi_nor_check_sfdp_signature() is used if spi_nor_match_id() does not find a valid entry.

Quoted 3 lines
Quoted 3 lines
drivers/mtd/spi-nor/issi.c +0 -0
 	}
 };