linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Added support for spi-nor device pm in m25p80
@ 2017-02-22 19:19 Kamal Dasu
  2017-02-22 19:19 ` [PATCH v5 1/2] mtd: spi-nor: Added spi-nor init function Kamal Dasu
  2017-02-22 19:19 ` [PATCH v5 2/2] mtd: m25p80: Added pm ops support Kamal Dasu
  0 siblings, 2 replies; 7+ messages in thread
From: Kamal Dasu @ 2017-02-22 19:19 UTC (permalink / raw)
  To: linux-spi, cyrille.pitchen, marex, broonie
  Cc: bcm-kernel-feedback-list, f.fainelli, linux-mtd, Kamal Dasu

Changes since v4 based on review comments:

spi-nor.c
- Added comments to make it clear that spi_nor_init() sends all spi-nor
  flash configuration commands based on nor stucture settings for read
  in the refactored code

m25p80.c:
- fix typos
- Updated description

The V4 changes below implements power management support in m25p80 driver.
m25p80 pm resume() calls newly a 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 (2):
  mtd: spi-nor: Added spi-nor init function
  mtd: m25p80: Added pm ops support

 drivers/mtd/devices/m25p80.c  | 11 +++++++
 drivers/mtd/spi-nor/spi-nor.c | 77 ++++++++++++++++++++++++++++---------------
 include/linux/mtd/spi-nor.h   | 18 +++++++++-
 3 files changed, 78 insertions(+), 28 deletions(-)

-- 
1.9.1


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

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

end of thread, other threads:[~2017-02-23 22:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 19:19 [PATCH v5 0/2] Added support for spi-nor device pm in m25p80 Kamal Dasu
2017-02-22 19:19 ` [PATCH v5 1/2] mtd: spi-nor: Added spi-nor init function Kamal Dasu
2017-02-22 20:56   ` Cyrille Pitchen
2017-02-23 22:06     ` Kamal Dasu
2017-02-22 19:19 ` [PATCH v5 2/2] mtd: m25p80: Added pm ops support Kamal Dasu
2017-02-22 20:38   ` Cyrille Pitchen
2017-02-22 21:26     ` 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).