All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mtd: spinand: macronix: Add MX31LF1GE4BC/MX31UF1GE4BC support
@ 2020-07-22  8:02 ` YouChing Lin
  0 siblings, 0 replies; 10+ messages in thread
From: YouChing Lin @ 2020-07-22  8:02 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr
  Cc: linux-mtd, linux-kernel, juliensu, YouChing Lin

Hi,

The Macronix MX31LF1GE4BC/MX31UF1GE4BC are 3V/1.8V, 1Gbit (128MB) serial
NAND flash devices.

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

Thanks for your time and review.
Best Regards,
YouChing


YouChing Lin (2):
  mtd: spinand: macronix: Add support for MX31LF1GE4BC
  mtd: spinand: macronix: Add support for MX31UF1GE4BC

 drivers/mtd/nand/spi/macronix.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

-- 
1.9.1


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

* [PATCH 0/2] mtd: spinand: macronix: Add MX31LF1GE4BC/MX31UF1GE4BC support
@ 2020-07-22  8:02 ` YouChing Lin
  0 siblings, 0 replies; 10+ messages in thread
From: YouChing Lin @ 2020-07-22  8:02 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr
  Cc: juliensu, YouChing Lin, linux-mtd, linux-kernel

Hi,

The Macronix MX31LF1GE4BC/MX31UF1GE4BC are 3V/1.8V, 1Gbit (128MB) serial
NAND flash devices.

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

Thanks for your time and review.
Best Regards,
YouChing


YouChing Lin (2):
  mtd: spinand: macronix: Add support for MX31LF1GE4BC
  mtd: spinand: macronix: Add support for MX31UF1GE4BC

 drivers/mtd/nand/spi/macronix.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

-- 
1.9.1


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

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

* [PATCH 1/2] mtd: spinand: macronix: Add support for MX31LF1GE4BC
  2020-07-22  8:02 ` YouChing Lin
@ 2020-07-22  8:02   ` YouChing Lin
  -1 siblings, 0 replies; 10+ messages in thread
From: YouChing Lin @ 2020-07-22  8:02 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr
  Cc: linux-mtd, linux-kernel, juliensu, YouChing Lin

The Macronix MX31LF1GE4BC is a 3V, 1Gbit (128MB) serial
NAND flash device.

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: YouChing Lin <ycllin@mxic.com.tw>
---
 drivers/mtd/nand/spi/macronix.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c
index 0f900f3..c9aa9f4 100644
--- a/drivers/mtd/nand/spi/macronix.c
+++ b/drivers/mtd/nand/spi/macronix.c
@@ -118,6 +118,16 @@ static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand,
 					      &update_cache_variants),
 		     SPINAND_HAS_QE_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL)),
+	SPINAND_INFO("MX31LF1GE4BC",
+		     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x1e),
+		     NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
+		     NAND_ECCREQ(8, 512),
+		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+					      &write_cache_variants,
+					      &update_cache_variants),
+		     0 /*SPINAND_HAS_QE_BIT*/,
+		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
+				     mx35lf1ge4ab_ecc_get_status)),
 };
 
 static const struct spinand_manufacturer_ops macronix_spinand_manuf_ops = {
-- 
1.9.1


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

* [PATCH 1/2] mtd: spinand: macronix: Add support for MX31LF1GE4BC
@ 2020-07-22  8:02   ` YouChing Lin
  0 siblings, 0 replies; 10+ messages in thread
From: YouChing Lin @ 2020-07-22  8:02 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr
  Cc: juliensu, YouChing Lin, linux-mtd, linux-kernel

The Macronix MX31LF1GE4BC is a 3V, 1Gbit (128MB) serial
NAND flash device.

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: YouChing Lin <ycllin@mxic.com.tw>
---
 drivers/mtd/nand/spi/macronix.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c
index 0f900f3..c9aa9f4 100644
--- a/drivers/mtd/nand/spi/macronix.c
+++ b/drivers/mtd/nand/spi/macronix.c
@@ -118,6 +118,16 @@ static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand,
 					      &update_cache_variants),
 		     SPINAND_HAS_QE_BIT,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL)),
+	SPINAND_INFO("MX31LF1GE4BC",
+		     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x1e),
+		     NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
+		     NAND_ECCREQ(8, 512),
+		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+					      &write_cache_variants,
+					      &update_cache_variants),
+		     0 /*SPINAND_HAS_QE_BIT*/,
+		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
+				     mx35lf1ge4ab_ecc_get_status)),
 };
 
 static const struct spinand_manufacturer_ops macronix_spinand_manuf_ops = {
-- 
1.9.1


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

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

* [PATCH 2/2] mtd: spinand: macronix: Add support for MX31UF1GE4BC
  2020-07-22  8:02 ` YouChing Lin
@ 2020-07-22  8:02   ` YouChing Lin
  -1 siblings, 0 replies; 10+ messages in thread
From: YouChing Lin @ 2020-07-22  8:02 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr
  Cc: linux-mtd, linux-kernel, juliensu, YouChing Lin

The Macronix MX31UF1GE4BC is a 1.8V, 1Gbit (128MB) serial
NAND flash device.

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: YouChing Lin <ycllin@mxic.com.tw>
---
 drivers/mtd/nand/spi/macronix.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c
index c9aa9f4..afc631b 100644
--- a/drivers/mtd/nand/spi/macronix.c
+++ b/drivers/mtd/nand/spi/macronix.c
@@ -128,6 +128,16 @@ static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand,
 		     0 /*SPINAND_HAS_QE_BIT*/,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),
+	SPINAND_INFO("MX31UF1GE4BC",
+		     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x9e),
+		     NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
+		     NAND_ECCREQ(8, 512),
+		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+					      &write_cache_variants,
+					      &update_cache_variants),
+		     0 /*SPINAND_HAS_QE_BIT*/,
+		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
+				     mx35lf1ge4ab_ecc_get_status)),
 };
 
 static const struct spinand_manufacturer_ops macronix_spinand_manuf_ops = {
-- 
1.9.1


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

* [PATCH 2/2] mtd: spinand: macronix: Add support for MX31UF1GE4BC
@ 2020-07-22  8:02   ` YouChing Lin
  0 siblings, 0 replies; 10+ messages in thread
From: YouChing Lin @ 2020-07-22  8:02 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr
  Cc: juliensu, YouChing Lin, linux-mtd, linux-kernel

The Macronix MX31UF1GE4BC is a 1.8V, 1Gbit (128MB) serial
NAND flash device.

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: YouChing Lin <ycllin@mxic.com.tw>
---
 drivers/mtd/nand/spi/macronix.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c
index c9aa9f4..afc631b 100644
--- a/drivers/mtd/nand/spi/macronix.c
+++ b/drivers/mtd/nand/spi/macronix.c
@@ -128,6 +128,16 @@ static int mx35lf1ge4ab_ecc_get_status(struct spinand_device *spinand,
 		     0 /*SPINAND_HAS_QE_BIT*/,
 		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
 				     mx35lf1ge4ab_ecc_get_status)),
+	SPINAND_INFO("MX31UF1GE4BC",
+		     SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x9e),
+		     NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
+		     NAND_ECCREQ(8, 512),
+		     SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+					      &write_cache_variants,
+					      &update_cache_variants),
+		     0 /*SPINAND_HAS_QE_BIT*/,
+		     SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,
+				     mx35lf1ge4ab_ecc_get_status)),
 };
 
 static const struct spinand_manufacturer_ops macronix_spinand_manuf_ops = {
-- 
1.9.1


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

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

* Re: [PATCH 2/2] mtd: spinand: macronix: Add support for MX31UF1GE4BC
  2020-07-22  8:02   ` YouChing Lin
@ 2020-09-07  7:22     ` Miquel Raynal
  -1 siblings, 0 replies; 10+ messages in thread
From: Miquel Raynal @ 2020-09-07  7:22 UTC (permalink / raw)
  To: YouChing Lin, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-mtd, linux-kernel

On Wed, 2020-07-22 at 08:02:58 UTC, YouChing Lin wrote:
> The Macronix MX31UF1GE4BC is a 1.8V, 1Gbit (128MB) serial
> NAND flash device.
> 
> 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: YouChing Lin <ycllin@mxic.com.tw>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

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

* Re: [PATCH 2/2] mtd: spinand: macronix: Add support for MX31UF1GE4BC
@ 2020-09-07  7:22     ` Miquel Raynal
  0 siblings, 0 replies; 10+ messages in thread
From: Miquel Raynal @ 2020-09-07  7:22 UTC (permalink / raw)
  To: YouChing Lin, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-mtd, linux-kernel

On Wed, 2020-07-22 at 08:02:58 UTC, YouChing Lin wrote:
> The Macronix MX31UF1GE4BC is a 1.8V, 1Gbit (128MB) serial
> NAND flash device.
> 
> 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: YouChing Lin <ycllin@mxic.com.tw>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

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

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

* Re: [PATCH 1/2] mtd: spinand: macronix: Add support for MX31LF1GE4BC
  2020-07-22  8:02   ` YouChing Lin
@ 2020-09-07  7:22     ` Miquel Raynal
  -1 siblings, 0 replies; 10+ messages in thread
From: Miquel Raynal @ 2020-09-07  7:22 UTC (permalink / raw)
  To: YouChing Lin, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-mtd, linux-kernel

On Wed, 2020-07-22 at 08:02:57 UTC, YouChing Lin wrote:
> The Macronix MX31LF1GE4BC is a 3V, 1Gbit (128MB) serial
> NAND flash device.
> 
> 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: YouChing Lin <ycllin@mxic.com.tw>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

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

* Re: [PATCH 1/2] mtd: spinand: macronix: Add support for MX31LF1GE4BC
@ 2020-09-07  7:22     ` Miquel Raynal
  0 siblings, 0 replies; 10+ messages in thread
From: Miquel Raynal @ 2020-09-07  7:22 UTC (permalink / raw)
  To: YouChing Lin, miquel.raynal, richard, vigneshr
  Cc: juliensu, linux-mtd, linux-kernel

On Wed, 2020-07-22 at 08:02:57 UTC, YouChing Lin wrote:
> The Macronix MX31LF1GE4BC is a 3V, 1Gbit (128MB) serial
> NAND flash device.
> 
> 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: YouChing Lin <ycllin@mxic.com.tw>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel

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

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22  8:02 [PATCH 0/2] mtd: spinand: macronix: Add MX31LF1GE4BC/MX31UF1GE4BC support YouChing Lin
2020-07-22  8:02 ` YouChing Lin
2020-07-22  8:02 ` [PATCH 1/2] mtd: spinand: macronix: Add support for MX31LF1GE4BC YouChing Lin
2020-07-22  8:02   ` YouChing Lin
2020-09-07  7:22   ` Miquel Raynal
2020-09-07  7:22     ` Miquel Raynal
2020-07-22  8:02 ` [PATCH 2/2] mtd: spinand: macronix: Add support for MX31UF1GE4BC YouChing Lin
2020-07-22  8:02   ` YouChing Lin
2020-09-07  7:22   ` Miquel Raynal
2020-09-07  7:22     ` Miquel Raynal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.