Skip to contentSkip to conversation

spi-nor: Add Winbond w25m512jv

PATCH Applied Joel Stanley 2 participants 2 messages Jun 20, 2017

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

PATCH v4 1/1 spi-nor: Add Winbond w25m512jv

From: Benjamin Herrenschmidt <[email protected]>

Similar to the other ones, different size. The "JV" suffix is in the datasheet, I haven't seen mentions of a different one.

The the datasheet indicates DUAL and QUAD are supported.

http://www.winbond.com/resource-files/w25m512jv%20revc%2001062017.pdf

---
v4: Get the name of the chip correct
v3: Added the DUAL and QUAD flags for Ben. Tested with aspeed-smc driver.

 drivers/mtd/spi-nor/spi-nor.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mtd/spi-nor/spi-nor.c +2 -0
index eef55b597ec7..43de5adafcb7 100644
@@ -1146,6 +1146,8 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16, SECT_4K) },
 	{ "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
 	{ "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) },
+	{ "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
+			SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
 
 	/* Catalyst / On Semiconductor -- non-JEDEC */
 	{ "cat25c11", CAT25_INFO(  16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
Signature · 1 line
2.11.0
#1 lore raw
Quoted 11 lines · Joel Stanley

From: Benjamin Herrenschmidt <[email protected]>

Similar to the other ones, different size. The "JV" suffix is in the datasheet, I haven't seen mentions of a different one.

The the datasheet indicates DUAL and QUAD are supported.

http://www.winbond.com/resource-files/w25m512jv%20revc%2001062017.pdf

Applied to the spi-nor/next branch of l2-mtd

Thanks!