[PATCH v7 0/2] Add support for two-plane serial NAND flash

From: Cheng Ming Lin
Date: Mon Sep 09 2024 - 05:30:54 EST


From: Cheng Ming Lin <chengminglin@xxxxxxxxxxx>

Add support for Macronix serial NAND flash with a two-plane structure.

Insert the Plane Select bit during the read_from_cache and the
write_to_cache operation.

v7:
Rebase to spi-nand continuous read series

v6:
Fix the name of the flag in changelog

v5:
Update the commit titles

v4:
Separate the core changes and Macronix changes

v3:
Add flags for the Plane Select bit
Remove fixups and corresponding function

v2:
Squash patches 1 and 3 and come before patch 2

Cheng Ming Lin (2):
mtd: spinand: Add support for setting plane select bits
mtd: spinand: macronix: Flag parts needing explicit plane select

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

--
2.25.1