spi-nor: Add Winbond w25m512jv

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Jul 13 10:59:08 PDT 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0cbef932bd82857823c0e52b08218b0c9920a475
Commit:     0cbef932bd82857823c0e52b08218b0c9920a475
Parent:     05d090f00203bdcf722b9cb6d5ac57c165e2c95c
Author:     Benjamin Herrenschmidt <benh at kernel.crashing.org>
AuthorDate: Wed Jun 21 00:18:43 2017 +0930
Committer:  Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
CommitDate: Tue Jun 20 23:46:17 2017 +0200

    spi-nor: Add Winbond w25m512jv
    
    Similar to the other ones, different size. The "JV" suffix is in
    the datasheet, I haven't seen mentions of a different one.
    
    The datasheet indicates DUAL and QUAD are supported.
    
     http://www.winbond.com/resource-files/w25m512jv%20revc%2001062017.pdf
    
    Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
    Signed-off-by: Joel Stanley <joel at jms.id.au>
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
---
 drivers/mtd/spi-nor/spi-nor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index eef55b5..43de5ad 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -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) },



More information about the linux-mtd-cvs mailing list