* [PATCH v3] mtd: spi-nor: xmc: Add support for XM25LU64C The device is produced by Wuhan Xinxin Semiconductor Manufacturing Corp. (XMC) and found on some routers from Chinese manufactures.
@ 2024-11-03 14:21 Ssunk
2024-11-04 6:57 ` Tudor Ambarus
0 siblings, 1 reply; 2+ messages in thread
From: Ssunk @ 2024-11-03 14:21 UTC (permalink / raw)
To: tudor.ambarus
Cc: pratyush, mwalle, miquel.raynal, richard, vigneshr, linux-mtd,
linux-kernel, hhlee, roccochen, Ssunk
The data sheet can be found here:
https://www.xmcwh.com/uploads/954/XM25LU64C%20_%20Ver1.4.pdf
Signed-off-by: Kankan Sun <ssunkkan@gmail.com>
---
V1 -> V2: Removed redundant Signed-off-by information
V2 -> V3: cc more maintainer
drivers/mtd/spi-nor/xmc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c
index d5a06054b0dd..83e83c1c1266 100644
--- a/drivers/mtd/spi-nor/xmc.c
+++ b/drivers/mtd/spi-nor/xmc.c
@@ -19,6 +19,11 @@ static const struct flash_info xmc_nor_parts[] = {
.name = "XM25QH128A",
.size = SZ_16M,
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
+ }, {
+ .id = SNOR_ID(0x16, 0x41, 0x17),
+ .name = "XM25LU64C",
+ .size = SZ_8M,
+ .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
},
};
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v3] mtd: spi-nor: xmc: Add support for XM25LU64C The device is produced by Wuhan Xinxin Semiconductor Manufacturing Corp. (XMC) and found on some routers from Chinese manufactures.
2024-11-03 14:21 [PATCH v3] mtd: spi-nor: xmc: Add support for XM25LU64C The device is produced by Wuhan Xinxin Semiconductor Manufacturing Corp. (XMC) and found on some routers from Chinese manufactures Ssunk
@ 2024-11-04 6:57 ` Tudor Ambarus
0 siblings, 0 replies; 2+ messages in thread
From: Tudor Ambarus @ 2024-11-04 6:57 UTC (permalink / raw)
To: Ssunk
Cc: pratyush, mwalle, miquel.raynal, richard, vigneshr, linux-mtd,
linux-kernel, hhlee, roccochen
Hi,
On 11/3/24 2:21 PM, Ssunk wrote:
> The data sheet can be found here:
> https://www.xmcwh.com/uploads/954/XM25LU64C%20_%20Ver1.4.pdf
you probably won't need a flash entry at all because it seems that this
flash supports SFDP. The flash can be initialized solely based on its
SFDP tables. Have you tried probing the flash without this patch?
>
> Signed-off-by: Kankan Sun <ssunkkan@gmail.com>
> ---
> V1 -> V2: Removed redundant Signed-off-by information
> V2 -> V3: cc more maintainer
>
> drivers/mtd/spi-nor/xmc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c
> index d5a06054b0dd..83e83c1c1266 100644
> --- a/drivers/mtd/spi-nor/xmc.c
> +++ b/drivers/mtd/spi-nor/xmc.c
> @@ -19,6 +19,11 @@ static const struct flash_info xmc_nor_parts[] = {
> .name = "XM25QH128A",
> .size = SZ_16M,
> .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
> + }, {
> + .id = SNOR_ID(0x16, 0x41, 0x17),
> + .name = "XM25LU64C",
> + .size = SZ_8M,
> + .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
> },
> };
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-04 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-03 14:21 [PATCH v3] mtd: spi-nor: xmc: Add support for XM25LU64C The device is produced by Wuhan Xinxin Semiconductor Manufacturing Corp. (XMC) and found on some routers from Chinese manufactures Ssunk
2024-11-04 6:57 ` Tudor Ambarus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome