mtd: spi-nor: Add support for xt25f128b chip
Subsystems (2)
PATCH v2 1/1 mtd: spi-nor: Add support for xt25f128b chip
Add XT25F128B made by XTX Technology (Shenzhen) Limited. This chip supports dual and quad read and uniform 4K-byte erase. Verified on Teltonika RUT955 which comes with XT25F128B in recent versions of the device.
---
v2: remove XT25F128A, flash ID and features are identical with XM25QH128A
drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/mtd/spi-nor/spi-nor.c +3 -0
@@ -2706,6 +2706,9 @@ static const struct flash_info spi_nor_ids[] = {/* 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) }, + +/* XTX Technology (Shenzhen) Limited */ + { "xt25f128b", INFO(0x0B4018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { }, };
Signature · 6 lines
2.25.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Hi, Daniel,
Quoted 17 lines · Daniel Golle
Add XT25F128B made by XTX Technology (Shenzhen) Limited. This chip supports dual and quad read and uniform 4K-byte erase. Verified on Teltonika RUT955 which comes with XT25F128B in recent versions of the device.
Signed-off-by Daniel Golle <[email protected]>---
v2: remove XT25F128A, flash ID and features are identical with XM25QH128Adrivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+)drivers/mtd/spi-nor/spi-nor.c +0
-0
drivers/mtd/spi-nor/spi-nor.c static const struct flash_info spi_nor_ids[] = { · line 2713
Quoted 8 lines
drivers/mtd/spi-nor/spi-nor.c +3
-0@@ -2706,6 +2706,9 @@ static const struct flash_info spi_nor_ids[] = {/* 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) }, + +/* XTX Technology (Shenzhen) Limited */ + { "xt25f128b", INFO(0x0B4018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { }, };
Can you point me to the xt25f128b datasheet?
We'll have to re-spin your patch to the latest spi-nor/next. Microcai sent a similar patch at
https://patchwork.ozlabs.org/project/linux-mtd/patch/CAMgqO2y9MYDj6antOaWLBRKU8vGEwqCB-Y1TkXTSWsmsed+W6A@mail.gmail.com/
Would you sync with Microcai and send another version?
Cheers,
ta
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/