linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/2] Add spi-nor flash device pm support
@ 2017-08-01 22:41 Kamal Dasu
  2017-08-01 22:41 ` [PATCH v7 1/2] mtd: spi-nor: add spi_nor_init() function Kamal Dasu
  2017-08-01 22:41 ` [PATCH v7 2/2] mtd: spi-nor: Add spi-nor mtd resume handler Kamal Dasu
  0 siblings, 2 replies; 4+ messages in thread
From: Kamal Dasu @ 2017-08-01 22:41 UTC (permalink / raw)
  To: cyrille.pitchen, marek.vasut
  Cc: computersforpeace, boris.brezillon, richard, linux-mtd,
	linux-kernel, f.fainelli, bcm-kernel-feedback-list, Kamal Dasu

Changes since v6 

spi-nor.h
- Reverted all v6 changes
- Added info pointer to spi-nor structure
- Added quad_enable function pointer

spi-nor.c
- Reverted all v6 changes
- Refactored spi_nor_init() function
- Added mtd resume handlers 

The V7 changes below implements power management support using the mtd
handlers for resume in the spi-nor driver. spi-nor mtd pm resume() calls
newly implemented spi_nor_init() function that sets up the spi-nor flash
to its pre-suspend/power-on probed state. This is needed S2/S3 PM 
on platfroms that turn off power to the spi-nor flash on pm suspend. 

Kamal Dasu (2):
  mtd: spi-nor: add spi_nor_init() function
  mtd: spi-nor: Add spi-nor mtd resume handler

 drivers/mtd/spi-nor/spi-nor.c | 75 ++++++++++++++++++++++++++++++++-----------
 include/linux/mtd/spi-nor.h   |  9 ++++++
 2 files changed, 65 insertions(+), 19 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-08-14 16:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01 22:41 [PATCH v7 0/2] Add spi-nor flash device pm support Kamal Dasu
2017-08-01 22:41 ` [PATCH v7 1/2] mtd: spi-nor: add spi_nor_init() function Kamal Dasu
2017-08-14 16:54   ` Cyrille Pitchen
2017-08-01 22:41 ` [PATCH v7 2/2] mtd: spi-nor: Add spi-nor mtd resume handler Kamal Dasu

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).