[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210613121248.1529292-1-code@reto-schneider.ch>
Date: Sun, 13 Jun 2021 14:12:48 +0200
From: Reto Schneider <code@...o-schneider.ch>
To: linux-mtd@...ts.infradead.org
Cc: Stefan Roese <sr@...x.de>,
Reto Schneider <reto.schneider@...qvarnagroup.com>,
Michael Walle <michael@...le.cc>,
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: [PATCH v1] mtd: spi-nor: Add support for XM25QH64C
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
This chip has been (briefly) tested on the MediaTek MT7688 based GARDENA
smart gateway.
Signed-off-by: Reto Schneider <reto.schneider@...qvarnagroup.com>
---
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) },
};
--
2.30.2
Powered by blists - more mailing lists