mbox series

[v4,0/2] Add support for two-plane serial NAND flash

Message ID 20240829032517.1517198-1-linchengming884@gmail.com
Headers show
Series Add support for two-plane serial NAND flash | expand

Message

Cheng Ming Lin Aug. 29, 2024, 3:25 a.m. UTC
From: Cheng Ming Lin <chengminglin@mxic.com.tw>

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.

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 the flag
  mtd: spinand: macronix: Use the flag in Macronix driver

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