[PATCH v2 0/2] Add fixups for two-plane serial NAND flash

From: Cheng Ming Lin
Date: Thu Jul 18 2024 - 03:55:14 EST


From: Cheng Ming Lin <chengminglin@xxxxxxxxxxx>

Macronix serial NAND flash with a two-plane structure
requires insertion of Plane Select bit into the column
address during the write_to_cache operation.

Additionally, for MX35{U,F}2G14AC, insertion of Plane
Select bit into the column address is required during
the read_from_cache operation.

These flashes have been validated on Xilinx zynq-picozed
board which included Macronix SPI Host.

Cheng Ming Lin (2):
mtd: spinand: Add fixups for spinand
mtd: spinand: macronix: Fixups for Plane Select bit

drivers/mtd/nand/spi/core.c | 7 ++++
drivers/mtd/nand/spi/macronix.c | 66 ++++++++++++++++++++++++++++++---
include/linux/mtd/spinand.h | 17 +++++++++
3 files changed, 84 insertions(+), 6 deletions(-)

--
2.25.1