U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Weijie Gao <weijie.gao@mediatek.com>
Cc: <u-boot@lists.denx.de>,
	 GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
	 Tom Rini <trini@konsulko.com>, Vignesh R <vigneshr@ti.com>,
	 Takahiro Kuwano <takahiro.kuwano@infineon.com>,
	 Marek Vasut <marek.vasut+renesas@mailbox.org>,
	 Tudor Ambarus <tudor.ambarus@linaro.org>,
	 Jeffrey Yu <jeyu@issi.com>,
	 Christoph Reiter <christoph.reiter@evk.biz>,
	 Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>,
	 Shiji Yang <yangshiji66@outlook.com>,
	"Bernhard Messerklinger" <bernhard.messerklinger@at.abb.com>,
	 Vaishnav Achath <vaishnav.a@ti.com>,
	 Prasad Kummari <prasad.kummari@amd.com>
Subject: Re: [PATCH 6/6] mtd: spi-nor-ids: Add support for Winbond W25Q256JV/W25Q512JV
Date: Tue, 28 Apr 2026 09:45:00 +0200	[thread overview]
Message-ID: <871pfzfs03.fsf@bootlin.com> (raw)
In-Reply-To: <a953087c1d0ff8429d64aa014ddb5612d2799b50.1777345877.git.weijie.gao@mediatek.com> (Weijie Gao's message of "Tue, 28 Apr 2026 11:32:13 +0800")

On 28/04/2026 at 11:32:13 +08, Weijie Gao <weijie.gao@mediatek.com> wrote:

> Datasheets can be found here:
> https://www.winbond.com/resource-files/W25Q256JV%20DTR%20RevK%2010202025%20Plus.pdf
> https://www.winbond.com/resource-files/W25Q512JV%20DTR%20RevD%2006292020%20133.pdf
>
> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
> ---
>  drivers/mtd/spi/spi-nor-ids.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 492411a90f5..dc62a0e034a 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -609,11 +609,21 @@ const struct flash_info spi_nor_ids[] = {
>  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
>  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>  	},
> +	{
> +		INFO("w25q256jv", 0xef7019, 0, 64 * 1024, 512,
> +			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> +			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
> +	},
>  	{
>  		INFO("w25q256jw", 0xef6019, 0, 64 * 1024, 512,
>  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
>  			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>  	},
> +	{
> +		INFO("w25q512jv", 0xef7020, 0, 64 * 1024, 1024,

This is JV-M (here and above).

These chips also happen to conflict with W25QxxRV-M chips. Is this
support for these new chips that you are targeting?

> +			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> +			SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
> +	},
>  	{
>  		INFO("w25q512nwq", 0xef6020, 0, 64 * 1024, 1024,
>  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |

I would rather group them by family (ef60xx then ef70xx).

Thanks,
Miquèl

  reply	other threads:[~2026-04-28 12:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  3:28 [PATCH 0/6] Fix and add some spi-nor flash parts Weijie Gao
2026-04-28  3:31 ` [PATCH 1/6] mtd: spi-nor-ids: Correct flash flags for ESMT/EON flashes Weijie Gao
2026-04-28  3:31 ` [PATCH 2/6] mtd: spi-nor-ids: Add support for ESMT/EON EN25QX128A/EN25QH256/EN25QX256A Weijie Gao
2026-04-28  3:32 ` [PATCH 3/6] mtd: spi-nor-ids: Add support for GigaDevice GD25Q256 Weijie Gao
2026-04-28  3:32 ` [PATCH 4/6] mtd: spi-nor-ids: Add 4K page support for Macronix MX25L25635E Weijie Gao
2026-04-28  7:22   ` Miquel Raynal
2026-04-28  7:26     ` Weijie Gao
2026-04-28  3:32 ` [PATCH 5/6] mtd: spi-nor-ids: Fix Winbond W25Q256JW and remove W25Q256FW Weijie Gao
2026-04-28  7:41   ` Miquel Raynal
2026-04-28  3:32 ` [PATCH 6/6] mtd: spi-nor-ids: Add support for Winbond W25Q256JV/W25Q512JV Weijie Gao
2026-04-28  7:45   ` Miquel Raynal [this message]
2026-04-28  8:37     ` Weijie Gao
2026-04-28  8:52       ` Miquel Raynal

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=871pfzfs03.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=bernhard.messerklinger@at.abb.com \
    --cc=christoph.reiter@evk.biz \
    --cc=jeyu@issi.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=prasad.kummari@amd.com \
    --cc=takahiro.kuwano@infineon.com \
    --cc=trini@konsulko.com \
    --cc=tudor.ambarus@linaro.org \
    --cc=u-boot@lists.denx.de \
    --cc=vaishnav.a@ti.com \
    --cc=venkatesh.abbarapu@amd.com \
    --cc=vigneshr@ti.com \
    --cc=weijie.gao@mediatek.com \
    --cc=yangshiji66@outlook.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox