linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mtd: spi-nor: Add support for xt25f128b chip
@ 2020-02-06 17:19 Daniel Golle
  2020-07-01  7:50 ` Tudor.Ambarus
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Golle @ 2020-02-06 17:19 UTC (permalink / raw)
  To: linux-mtd; +Cc: Eitan Cohen, Piotr Dymacz, Tudor Ambarus

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@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) },
 	{ },
 };
 
-- 
2.25.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] mtd: spi-nor: Add support for xt25f128b chip
  2020-02-06 17:19 [PATCH v2] mtd: spi-nor: Add support for xt25f128b chip Daniel Golle
@ 2020-07-01  7:50 ` Tudor.Ambarus
  0 siblings, 0 replies; 3+ messages in thread
From: Tudor.Ambarus @ 2020-07-01  7:50 UTC (permalink / raw)
  To: daniel, linux-mtd, microcaicai; +Cc: eitan, pepe2k

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@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
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] mtd: spi-nor: add support for XT25F128B chip
  2020-01-30  8:55 [PATCH] mtd: spi-nor: Add support for xt25f128 chips Daniel Golle
@ 2020-02-05 15:48 ` Daniel Golle
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Golle @ 2020-02-05 15:48 UTC (permalink / raw)
  To: linux-mtd; +Cc: Eitan Cohen, Piotr Dymacz, Tudor Ambarus

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@makrotopia.org>
---
 drivers/mtd/spi-nor/spi-nor.c | 4 ++++
 1 file changed, 4 insertions(+)

--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1273,6 +1273,9 @@ static const struct flash_info spi_nor_i
 	/* 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) },
 	{ },
 };
 

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-01  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 17:19 [PATCH v2] mtd: spi-nor: Add support for xt25f128b chip Daniel Golle
2020-07-01  7:50 ` Tudor.Ambarus
  -- strict thread matches above, loose matches on Subject: below --
2020-01-30  8:55 [PATCH] mtd: spi-nor: Add support for xt25f128 chips Daniel Golle
2020-02-05 15:48 ` [PATCH v2] mtd: spi-nor: add support for XT25F128B chip Daniel Golle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).