[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ba367f93650cb65122acd32fb4a4159@walle.cc>
Date: Mon, 14 Jun 2021 08:56:59 +0200
From: Michael Walle <michael@...le.cc>
To: Reto Schneider <code@...o-schneider.ch>
Cc: linux-mtd@...ts.infradead.org, Stefan Roese <sr@...x.de>,
Reto Schneider <reto.schneider@...qvarnagroup.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Pratyush Yadav <p.yadav@...com>,
Richard Weinberger <richard@....at>,
Tudor Ambarus <tudor.ambarus@...rochip.com>,
Vignesh Raghavendra <vigneshr@...com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] mtd: spi-nor: Add support for XM25QH64C
Hi Reto,
Am 2021-06-13 14:12, schrieb Reto Schneider:
> From: Reto Schneider <reto.schneider@...qvarnagroup.com>
>
> The data sheets can be found here:
> http://xmcwh.com/Uploads/2020-12-17/XM25QH64C_Ver1.1.pdf
Could you add that as a "Datasheet:" tag before your Sob tag?
> This chip has been (briefly) tested on the MediaTek MT7688 based
> GARDENA
> smart gateway.
Could you also apply my SFDP patch [1] and send the dump? Unfortunately,
I can't think of a good way to do that along with the patch and if this
in some way regarded as copyrighted material. So feel free to send it to
me privately. I'm starting to build a database.
> Signed-off-by: Reto Schneider <reto.schneider@...qvarnagroup.com>
With that fixed:
Reviewed-by: Michael Walle <michael@...le.cc>
NB. XMC ignores the continuation codes and this particular device will
collide with M25PE64/M45PE64. Although I couldn't find any datasheet,
so I don't know if these devices actually exist.
-michael
[1] https://patchwork.ozlabs.org/project/linux-mtd/list/?series=241877
>
> ---
>
> drivers/mtd/spi-nor/xmc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c
> index 2c7773b68993..b6ac37bd59b8 100644
> --- a/drivers/mtd/spi-nor/xmc.c
> +++ b/drivers/mtd/spi-nor/xmc.c
> @@ -12,6 +12,8 @@ static const struct flash_info xmc_parts[] = {
> /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
> { "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128,
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> + { "XM25QH64C", INFO(0x204017, 0, 64 * 1024, 128,
> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> { "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256,
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> };
Powered by blists - more mailing lists