public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: infineon: add Cypress (Ramtron) CY15B102QN F-RAM support
@ 2024-09-23 16:53 A. Sverdlin
  2024-09-24  8:23 ` Michael Walle
  0 siblings, 1 reply; 5+ messages in thread
From: A. Sverdlin @ 2024-09-23 16:53 UTC (permalink / raw)
  To: open list:SPI NOR SUBSYSTEM
  Cc: Alexander Sverdlin, Tudor Ambarus, Pratyush Yadav, Michael Walle,
	Miquel Raynal, Richard Weinberger, Vignesh Raghavendra

From: Alexander Sverdlin <alexander.sverdlin@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@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


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

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

end of thread, other threads:[~2024-09-26  8:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 16:53 [PATCH] mtd: spi-nor: infineon: add Cypress (Ramtron) CY15B102QN F-RAM support A. Sverdlin
2024-09-24  8:23 ` Michael Walle
2024-09-24 12:31   ` Sverdlin, Alexander
2024-09-25 19:19     ` Michael Walle
2024-09-26  8:24       ` Sverdlin, Alexander

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