All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] Add spi-nor flash device pm support
@ 2017-02-24 20:16 ` Kamal Dasu
  0 siblings, 0 replies; 18+ messages in thread
From: Kamal Dasu @ 2017-02-24 20:16 UTC (permalink / raw)
  To: linux-spi, cyrille.pitchen, marex, broonie
  Cc: linux-mtd, f.fainelli, bcm-kernel-feedback-list, Kamal Dasu

Changes since v5 based on review comments:

spi-nor.h
- Added flash state field
- Added spin_lock for flash state change 
- Added wait queue for synchronization of spi-nor ops between 
  mtd and spi-nor driver

spi-nor.c
- Added spi_nor_get/release_device() flash state syncronization functions
- Added mtd suspend and resume handlers

rerverted m25p80.c changes 

The V5 changes below implements power management support using the mtd
handlers for resume and suspend in the spi-nor driver. Implemented flash
state synchronization methods based on other mtd device drivers.
spi-nor mtd pm resume() calls newly implemented spi_nor_init() function
that sets up the spi-nor flash to its pre-suspend state. This is needed
on platfroms that turn off power to the spi-nor flash on pm suspend. 
The code has been rebased to git://github.com/spi-nor/linux.git next
branch.

Kamal Dasu (3):
  mtd: spi-nor: Add spi-nor init function
  mtd: spi-nor: Add spi-nor flash device synchronization between flash
    states
  mtd: spi-nor: Add spi-nor mtd suspend and resume handlers

 drivers/mtd/spi-nor/spi-nor.c | 170 +++++++++++++++++++++++++++++++++++-------
 include/linux/mtd/spi-nor.h   |  22 +++++-
 2 files changed, 164 insertions(+), 28 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-03-09 20:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 20:16 [PATCH v6 0/3] Add spi-nor flash device pm support Kamal Dasu
2017-02-24 20:16 ` Kamal Dasu
2017-02-24 20:16 ` [PATCH v6 1/3] mtd: spi-nor: Add spi-nor init function Kamal Dasu
2017-02-24 20:16   ` Kamal Dasu
2017-02-24 20:16 ` [PATCH v6 2/3] mtd: spi-nor: Add spi-nor flash device synchronization between flash states Kamal Dasu
2017-02-24 20:16   ` Kamal Dasu
2017-02-26 12:18   ` Marek Vasut
2017-02-26 12:18     ` Marek Vasut
2017-03-03 21:38     ` Kamal Dasu
2017-03-03 21:38       ` Kamal Dasu
2017-03-05  1:11       ` Marek Vasut
2017-03-05  1:11         ` Marek Vasut
2017-03-07 23:08   ` Cyrille Pitchen
2017-03-07 23:08     ` Cyrille Pitchen
2017-03-09 20:03     ` Kamal Dasu
2017-03-09 20:03       ` Kamal Dasu
2017-02-24 20:16 ` [PATCH v6 3/3] mtd: spi-nor: Add spi-nor mtd suspend and resume handlers Kamal Dasu
2017-02-24 20:16   ` Kamal Dasu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.