[PATCH v4 0/2] mtd: rawnand: Add support for manufacturer specific suspend/resume operation

From: Mason Yang
Date: Wed Mar 18 2020 - 03:42:39 EST


Hi,

Changelog

v4:
Patch nand_suspend() return error code to the upper layer,
removed _ prefix of suspend/resme hooks and kbuildtest robot tag.

v3:
patch nand_lock_area/nand_unlock_area.
fixed kbuidtest robot warnings and reviewer's comments as below:
- Patched the Kdoc for both lock_area/unlock_area and _suspend/_resume
- Created a helper to read default protected value (after device power on)
for protection function detection.
- patched the prefix for Macronix deep power down command, 0xB9
- Patched the description of mxic_nand_resume() and add a small sleeping
delay.
- Created a helper for deep power down device part number detection.

v2:
Patch nand_lock() & nand_unlock() for MTD->_lock/_unlock default call-back
function replacement.
Patch nand_suspend() & nand_resume() with manufacturer specific operation.

v1:
Patch manufacturer post_init for MTD->_lock/_unlock & MTD->_suspend/_resume
replacement.

thanks for your time & review.
Mason

Mason Yang (2):
mtd: rawnand: Add support for manufacturer specific suspend/resume
operation
mtd: rawnand: macronix: Add support for deep power down mode

drivers/mtd/nand/raw/nand_base.c | 17 +++++++--
drivers/mtd/nand/raw/nand_macronix.c | 74 ++++++++++++++++++++++++++++++++++++
include/linux/mtd/rawnand.h | 4 ++
3 files changed, 91 insertions(+), 4 deletions(-)

--
1.9.1