All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shuhao Mai <shuhao.mai.1990@gmail.com>
To: Tudor Ambarus <tudor.ambarus@microchip.com>,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>
Cc: inux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
	Shuhao Mai <shuhao.mai.1990@gmail.com>
Subject: [PATCH v2] mtd: spi-nor: winbond: Add support for w25q512jvq
Date: Thu,  7 Jan 2021 20:13:25 +0800	[thread overview]
Message-ID: <20210107121324.2314-1-shuhao.mai.1990@gmail.com> (raw)
In-Reply-To: <20201111014556.6579-1-shuhao.mai.1990@gmail.com>

Add support for w25q512jvq. This is of the same series chip with
w25q256jv, which is already supported, but with size doubled and
different JEDEC ID.

Tested on Intel whitley platform with dd from/to the flash for
read/write respectly, and flash_erase for erasing the flash.

Signed-off-by: Shuhao Mai <shuhao.mai.1990@gmail.com>
---
 drivers/mtd/spi-nor/winbond.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index e5dfa786f190..b1d307fcdf9c 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -97,6 +97,8 @@ static const struct flash_info winbond_parts[] = {
 			     SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
 			    SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
+	{ "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024,
+			     SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
 };
 
 /**
-- 
v2:
 - Change the name to w25q512jvq


  parent reply	other threads:[~2021-01-07 12:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11  1:45 [PATCH] mtd: spi-nor: winbond: Add support for w25q512jv Shuhao Mai
2020-11-11  1:45 ` Shuhao Mai
2021-01-04  8:58 ` Tudor.Ambarus
2021-01-04  8:58   ` Tudor.Ambarus
2021-01-07 11:35   ` Shuhao Mai
2021-01-07 11:35     ` Shuhao Mai
2021-01-07 12:13 ` Shuhao Mai [this message]
2021-02-08  7:53 ` [PATCH v2] mtd: spi-nor: winbond: Add support for w25q512jvq Shuhao Mai
2021-02-08  7:53   ` Shuhao Mai
2021-03-08  5:50   ` Tudor Ambarus
2021-03-08  5:50     ` Tudor Ambarus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210107121324.2314-1-shuhao.mai.1990@gmail.com \
    --to=shuhao.mai.1990@gmail.com \
    --cc=inux-mtd@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=tudor.ambarus@microchip.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.