[PATCH v2] mtd: spi-nor: Add support for xt25f128b chip

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Wed Jul 1 03:50:05 EDT 2020


Hi, Daniel,

On 2/6/20 7:19 PM, Daniel Golle wrote:
> 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 <daniel at makrotopia.org>
> ---
> v2: remove XT25F128A, flash ID and features are identical with XM25QH128A
> 
>  drivers/mtd/spi-nor/spi-nor.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 4fc632ec18fe..b36c9044f597 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -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


More information about the linux-mtd mailing list