linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512
@ 2020-04-23  8:38 Mason Yang
  2020-04-23  8:38 ` [PATCH v2 1/2] mtd: spi-nor: macronix: Add support for mx25l51245g Mason Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mason Yang @ 2020-04-23  8:38 UTC (permalink / raw)
  To: tudor.ambarus, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-kernel, linux-mtd, Mason Yang

Hi,

mx25l51245g/mx25u51245g is a mass production for new design and
replace mx66l51235l/mx66u51235f(phase out).

Validated by read, erase, read back, write and read back
on Xilinx Zynq PicoZed FPGA board which included
Macronix SPI Host (driver/spi/spi-mxic.c).

change log:
v2:
Add which controller we tested the mx25l/u51245g.

Mason Yang (2):
  mtd: spi-nor: macronix: Add support for mx25l51245g
  mtd: spi-nor: macronix: Add support for mx25u51245g

 drivers/mtd/spi-nor/macronix.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
1.9.1


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

* [PATCH v2 1/2] mtd: spi-nor: macronix: Add support for mx25l51245g
  2020-04-23  8:38 [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Mason Yang
@ 2020-04-23  8:38 ` Mason Yang
  2020-04-23  8:38 ` [PATCH v2 2/2] mtd: spi-nor: macronix: Add support for mx25u51245g Mason Yang
  2020-04-28  8:39 ` [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Tudor.Ambarus
  2 siblings, 0 replies; 5+ messages in thread
From: Mason Yang @ 2020-04-23  8:38 UTC (permalink / raw)
  To: tudor.ambarus, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-kernel, linux-mtd, Mason Yang

mx25l51245g is a mass production for new design and
replace mx66l51235l(phase out).

Validated by read, erase, read back, write and read back
on Xilinx Zynq PicoZed FPGA board which included
Macronix SPI Host (driver/spi/spi-mxic.c).

Signed-off-by: Mason Yang <masonccyang@mxic.com.tw>
---
 drivers/mtd/spi-nor/macronix.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index ab0f963..c864ac8 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -67,6 +67,9 @@
 			      SECT_4K | SPI_NOR_DUAL_READ |
 			      SPI_NOR_QUAD_READ) },
 	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
+	{ "mx25l51245g", INFO(0xc2201a, 0, 64 * 1024, 1024,
+			      SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+			      SPI_NOR_4B_OPCODES) },
 	{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024,
 			      SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
 			      SPI_NOR_4B_OPCODES) },
-- 
1.9.1


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

* [PATCH v2 2/2] mtd: spi-nor: macronix: Add support for mx25u51245g
  2020-04-23  8:38 [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Mason Yang
  2020-04-23  8:38 ` [PATCH v2 1/2] mtd: spi-nor: macronix: Add support for mx25l51245g Mason Yang
@ 2020-04-23  8:38 ` Mason Yang
  2020-04-28  8:39 ` [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Tudor.Ambarus
  2 siblings, 0 replies; 5+ messages in thread
From: Mason Yang @ 2020-04-23  8:38 UTC (permalink / raw)
  To: tudor.ambarus, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-kernel, linux-mtd, Mason Yang

mx25u51245g is a mass production for new design and
replace mx66u51235f(phase out).

Validated by read, erase, read back, write and read back
on Xilinx Zynq PicoZed FPGA board which included
Macronix SPI Host (driver/spi/spi-mxic.c).

Signed-off-by: Mason Yang <masonccyang@mxic.com.tw>
---
 drivers/mtd/spi-nor/macronix.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index c864ac8..e685aec 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -73,6 +73,9 @@
 	{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024,
 			      SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
 			      SPI_NOR_4B_OPCODES) },
+	{ "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024,
+			      SECT_4K | SPI_NOR_DUAL_READ |
+			      SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024,
 			      SECT_4K | SPI_NOR_DUAL_READ |
 			      SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
-- 
1.9.1


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

* Re: [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512
  2020-04-23  8:38 [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Mason Yang
  2020-04-23  8:38 ` [PATCH v2 1/2] mtd: spi-nor: macronix: Add support for mx25l51245g Mason Yang
  2020-04-23  8:38 ` [PATCH v2 2/2] mtd: spi-nor: macronix: Add support for mx25u51245g Mason Yang
@ 2020-04-28  8:39 ` Tudor.Ambarus
  2020-04-29  5:53   ` masonccyang
  2 siblings, 1 reply; 5+ messages in thread
From: Tudor.Ambarus @ 2020-04-28  8:39 UTC (permalink / raw)
  To: linux-mtd
  Cc: masonccyang, miquel.raynal, richard, vigneshr, juliensu, linux-kernel

On Thursday, April 23, 2020 11:38:41 AM EEST Mason Yang wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
> 
> Hi,
> 
> mx25l51245g/mx25u51245g is a mass production for new design and
> replace mx66l51235l/mx66u51235f(phase out).
> 
> Validated by read, erase, read back, write and read back
> on Xilinx Zynq PicoZed FPGA board which included
> Macronix SPI Host (driver/spi/spi-mxic.c).
> 
> change log:
> v2:
> Add which controller we tested the mx25l/u51245g.
> 
> Mason Yang (2):
>   mtd: spi-nor: macronix: Add support for mx25l51245g
>   mtd: spi-nor: macronix: Add support for mx25u51245g
> 
>  drivers/mtd/spi-nor/macronix.c | 6 ++++++
>  1 file changed, 6 insertions(+)

Both applied. In 2/2 I ordered the entry alphabetically. Would you send a 
patch to order all entries in macronix.c in alphabetical order? It's a mess 
right now.

Cheers,
ta



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

* Re: [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512
  2020-04-28  8:39 ` [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Tudor.Ambarus
@ 2020-04-29  5:53   ` masonccyang
  0 siblings, 0 replies; 5+ messages in thread
From: masonccyang @ 2020-04-29  5:53 UTC (permalink / raw)
  To: Tudor.Ambarus
  Cc: juliensu, linux-kernel, linux-mtd, miquel.raynal, richard, vigneshr

Hi Tudor,

> <Tudor.Ambarus@microchip.com> 
> 2020/04/28 下午 04:39
> 
> To
> 
> <linux-mtd@lists.infradead.org>, 
> 
> cc
> 
> <masonccyang@mxic.com.tw>, <miquel.raynal@bootlin.com>, 
<richard@nod.at>, 
> <vigneshr@ti.com>, <juliensu@mxic.com.tw>, 
<linux-kernel@vger.kernel.org>
> 
> Subject
> 
> Re: [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for 
mx25l512/mx25u512
> 
> On Thursday, April 23, 2020 11:38:41 AM EEST Mason Yang wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know 
the
> > content is safe
> > 
> > Hi,
> > 
> > mx25l51245g/mx25u51245g is a mass production for new design and
> > replace mx66l51235l/mx66u51235f(phase out).
> > 
> > Validated by read, erase, read back, write and read back
> > on Xilinx Zynq PicoZed FPGA board which included
> > Macronix SPI Host (driver/spi/spi-mxic.c).
> > 
> > change log:
> > v2:
> > Add which controller we tested the mx25l/u51245g.
> > 
> > Mason Yang (2):
> >   mtd: spi-nor: macronix: Add support for mx25l51245g
> >   mtd: spi-nor: macronix: Add support for mx25u51245g
> > 
> >  drivers/mtd/spi-nor/macronix.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> 
> Both applied. In 2/2 I ordered the entry alphabetically. Would you send 
a 
> patch to order all entries in macronix.c in alphabetical order? It's a 
mess 
> right now.

thanks you and I will send a patch to do that.

> 
> Cheers,
> ta
> 
> 

best regards,
Mason


CONFIDENTIALITY NOTE:

This e-mail and any attachments may contain confidential information 
and/or personal data, which is protected by applicable laws. Please be 
reminded that duplication, disclosure, distribution, or use of this e-mail 
(and/or its attachments) or any part thereof is prohibited. If you receive 
this e-mail in error, please notify us immediately and delete this mail as 
well as its attachment(s) from your system. In addition, please be 
informed that collection, processing, and/or use of personal data is 
prohibited unless expressly permitted by personal data protection laws. 
Thank you for your attention and cooperation.

Macronix International Co., Ltd.

=====================================================================



============================================================================

CONFIDENTIALITY NOTE:

This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation.

Macronix International Co., Ltd.

=====================================================================

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

end of thread, other threads:[~2020-04-29  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23  8:38 [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Mason Yang
2020-04-23  8:38 ` [PATCH v2 1/2] mtd: spi-nor: macronix: Add support for mx25l51245g Mason Yang
2020-04-23  8:38 ` [PATCH v2 2/2] mtd: spi-nor: macronix: Add support for mx25u51245g Mason Yang
2020-04-28  8:39 ` [PATCH v2 0/2] mtd: spi-nor: macronix: Add support for mx25l512/mx25u512 Tudor.Ambarus
2020-04-29  5:53   ` masonccyang

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).