[PATCH] mtd: spi-nor: infineon: add Cypress (Ramtron) CY15B102QN F-RAM support

A. Sverdlin alexander.sverdlin at siemens.com
Mon Sep 23 09:53:20 PDT 2024


From: Alexander Sverdlin <alexander.sverdlin at siemens.com>

Similar sad story as with "cy15x104q" where JEDEC ID comes last-byte-first.

Link: https://www.infineon.com/dgdl/Infineon-CY15B102QN_CY15V102QN_EXCELON_-AUTO_2-MBIT_(256K_X_8)_AUTOMOTIVE-E_SERIAL_(SPI)_F-RAM-DataSheet-v15_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ee5bc3f6d8a
Signed-off-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>
---
 drivers/mtd/spi-nor/spansion.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c
index d6c92595f6bc9..3515ede0c3b80 100644
--- a/drivers/mtd/spi-nor/spansion.c
+++ b/drivers/mtd/spi-nor/spansion.c
@@ -915,6 +915,12 @@ static const struct flash_info spansion_nor_parts[] = {
 		.size = SZ_32M,
 		.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
 		.fixup_flags = SPI_NOR_4B_OPCODES,
+	}, {
+		.id = SNOR_ID(0x60, 0x2a, 0xc2, 0x7f, 0x7f, 0x7f),
+		.name = "cy15b102qn",
+		.size = SZ_256K,
+		.sector_size = SZ_256K,
+		.flags = SPI_NOR_NO_ERASE,
 	}, {
 		.id = SNOR_ID(0x04, 0x2c, 0xc2, 0x7f, 0x7f, 0x7f),
 		.name = "cy15x104q",
-- 
2.46.1




More information about the linux-mtd mailing list