All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: Add support for cy15x104q
@ 2020-03-05 12:02 Sascha Hauer
  2020-03-09  8:40 ` [PATCH v2] " Sascha Hauer
  0 siblings, 1 reply; 13+ messages in thread
From: Sascha Hauer @ 2020-03-05 12:02 UTC (permalink / raw)
  To: linux-mtd
  Cc: Richard Weinberger, Sascha Hauer, Miquel Raynal,
	Vignesh Raghavendra, Tudor Ambarus

The Cypress cy15b104q and cy15v104q are 4Mbit serial SPI F-RAM devices.
Add support for them to the spi-nor driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/mtd/spi-nor/spi-nor.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 4fc632ec18fe..bd4e9097431a 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -2335,6 +2335,9 @@ static const struct flash_info spi_nor_ids[] = {
 
 	{ "at45db081d", INFO(0x1f2500, 0, 64 * 1024, 16, SECT_4K) },
 
+	/* Cypress */
+	{ "cy15x104q",  INFO6(0x042cc2, 0x7f7f7f, 512, 1024, SPI_NOR_NO_ERASE) },
+
 	/* EON -- en25xxx */
 	{ "en25f32",    INFO(0x1c3116, 0, 64 * 1024,   64, SECT_4K) },
 	{ "en25p32",    INFO(0x1c2016, 0, 64 * 1024,   64, 0) },
-- 
2.25.1


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

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

end of thread, other threads:[~2020-04-23 12:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 12:02 [PATCH] mtd: spi-nor: Add support for cy15x104q Sascha Hauer
2020-03-09  8:40 ` [PATCH v2] " Sascha Hauer
2020-04-14 12:09   ` Sascha Hauer
2020-04-14 16:41     ` Tudor.Ambarus
2020-04-15  5:35       ` Sascha Hauer
2020-04-15  8:22         ` Yicong Yang
2020-04-15 15:08         ` Tudor.Ambarus
2020-04-15 15:24   ` Tudor.Ambarus
2020-04-23 12:30     ` Sascha Hauer
2020-04-15 17:28   ` Vignesh Raghavendra
2020-04-16  4:44     ` Tudor.Ambarus
2020-04-16  6:39     ` Sascha Hauer
2020-04-20  8:56     ` Sascha Hauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.