linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] mtd: rawnand: Add support for manufacturer specific suspend/resume operation
@ 2020-03-18  7:42 Mason Yang
  2020-03-18  7:42 ` [PATCH v4 1/2] " Mason Yang
  2020-03-18  7:42 ` [PATCH v4 2/2] mtd: rawnand: macronix: Add support for deep power down mode Mason Yang
  0 siblings, 2 replies; 6+ messages in thread
From: Mason Yang @ 2020-03-18  7:42 UTC (permalink / raw)
  To: miquel.raynal, richard, vigneshr, bbrezillon
  Cc: juliensu, s.hauer, yuehaibing, linux-kernel, stefan, linux-mtd,
	frieder.schrempf, tglx, Mason Yang, allison

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


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

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

end of thread, other threads:[~2020-03-25  1:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18  7:42 [PATCH v4 0/2] mtd: rawnand: Add support for manufacturer specific suspend/resume operation Mason Yang
2020-03-18  7:42 ` [PATCH v4 1/2] " Mason Yang
2020-03-24 21:52   ` Miquel Raynal
2020-03-18  7:42 ` [PATCH v4 2/2] mtd: rawnand: macronix: Add support for deep power down mode Mason Yang
2020-03-24 21:57   ` Miquel Raynal
2020-03-25  1:09     ` masonccyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).