* [PATCH] mtd: spi-nor: Add support for XM25QH64A and XM25QH128A
@ 2018-04-18 20:25 Hauke Mehrtens
2018-04-18 21:02 ` Marek Vasut
2018-04-22 17:21 ` Boris Brezillon
0 siblings, 2 replies; 3+ messages in thread
From: Hauke Mehrtens @ 2018-04-18 20:25 UTC (permalink / raw)
To: marek.vasut
Cc: dwmw2, computersforpeace, boris.brezillon, richard, linux-mtd,
Hauke Mehrtens
These devices are produced by Wuhan Xinxin Semiconductor Manufacturing
Corp. (XMC) and found on some routers from Chinese manufactures.
The data sheets can be found here:
http://www.xmcwh.com/Uploads/2018-03-01/5a9799e4cb355.pdf
http://www.xmcwh.com/Uploads/2018-02-05/5a77e6dbe968b.pdf
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
drivers/mtd/spi-nor/spi-nor.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 5bfa36e95f35..c453afa70ce2 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1230,6 +1230,10 @@ static const struct flash_info spi_nor_ids[] = {
{ "3S400AN", S3AN_INFO(0x1f2400, 256, 264) },
{ "3S700AN", S3AN_INFO(0x1f2500, 512, 264) },
{ "3S1400AN", S3AN_INFO(0x1f2600, 512, 528) },
+
+ /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
+ { "XM25QH64A", INFO(0x207017, 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) },
{ },
};
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: spi-nor: Add support for XM25QH64A and XM25QH128A
2018-04-18 20:25 [PATCH] mtd: spi-nor: Add support for XM25QH64A and XM25QH128A Hauke Mehrtens
@ 2018-04-18 21:02 ` Marek Vasut
2018-04-22 17:21 ` Boris Brezillon
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2018-04-18 21:02 UTC (permalink / raw)
To: Hauke Mehrtens
Cc: dwmw2, computersforpeace, boris.brezillon, richard, linux-mtd
On 04/18/2018 10:25 PM, Hauke Mehrtens wrote:
> These devices are produced by Wuhan Xinxin Semiconductor Manufacturing
> Corp. (XMC) and found on some routers from Chinese manufactures.
>
> The data sheets can be found here:
> http://www.xmcwh.com/Uploads/2018-03-01/5a9799e4cb355.pdf
> http://www.xmcwh.com/Uploads/2018-02-05/5a77e6dbe968b.pdf
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
> ---
> drivers/mtd/spi-nor/spi-nor.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 5bfa36e95f35..c453afa70ce2 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1230,6 +1230,10 @@ static const struct flash_info spi_nor_ids[] = {
> { "3S400AN", S3AN_INFO(0x1f2400, 256, 264) },
> { "3S700AN", S3AN_INFO(0x1f2500, 512, 264) },
> { "3S1400AN", S3AN_INFO(0x1f2600, 512, 528) },
> +
> + /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
> + { "XM25QH64A", INFO(0x207017, 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) },
> { },
> };
>
>
--
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mtd: spi-nor: Add support for XM25QH64A and XM25QH128A
2018-04-18 20:25 [PATCH] mtd: spi-nor: Add support for XM25QH64A and XM25QH128A Hauke Mehrtens
2018-04-18 21:02 ` Marek Vasut
@ 2018-04-22 17:21 ` Boris Brezillon
1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2018-04-22 17:21 UTC (permalink / raw)
To: Hauke Mehrtens; +Cc: marek.vasut, dwmw2, computersforpeace, richard, linux-mtd
On Wed, 18 Apr 2018 22:25:32 +0200
Hauke Mehrtens <hauke@hauke-m.de> wrote:
> These devices are produced by Wuhan Xinxin Semiconductor Manufacturing
> Corp. (XMC) and found on some routers from Chinese manufactures.
>
> The data sheets can be found here:
> http://www.xmcwh.com/Uploads/2018-03-01/5a9799e4cb355.pdf
> http://www.xmcwh.com/Uploads/2018-02-05/5a77e6dbe968b.pdf
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Applied to spi-nor/next.
Thanks,
Boris
> ---
> drivers/mtd/spi-nor/spi-nor.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 5bfa36e95f35..c453afa70ce2 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1230,6 +1230,10 @@ static const struct flash_info spi_nor_ids[] = {
> { "3S400AN", S3AN_INFO(0x1f2400, 256, 264) },
> { "3S700AN", S3AN_INFO(0x1f2500, 512, 264) },
> { "3S1400AN", S3AN_INFO(0x1f2600, 512, 528) },
> +
> + /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
> + { "XM25QH64A", INFO(0x207017, 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) },
> { },
> };
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-22 17:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 20:25 [PATCH] mtd: spi-nor: Add support for XM25QH64A and XM25QH128A Hauke Mehrtens
2018-04-18 21:02 ` Marek Vasut
2018-04-22 17:21 ` Boris Brezillon
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.