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

The changes below implements power management support in m25p80 driver.
m25p80 pm resume() calls newly a implemented spi_nor_reset() function
that sets up the spi-nor flash to its probed state. This is needed on
platfroms that turn off power to the spi-nor flash on pm suspend. 

Kamal Dasu (2):
  mtd: spi-nor: Added spi-nor reset function
  mtd: m25p80: Added pm ops support

 drivers/mtd/devices/m25p80.c  | 16 +++++++++++
 drivers/mtd/spi-nor/spi-nor.c | 62 ++++++++++++++++++++++++++++---------------
 include/linux/mtd/spi-nor.h   | 21 ++++++++++++++-
 3 files changed, 77 insertions(+), 22 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:[~2017-02-09 20:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 16:52 [PATCH v2 0/2] Added support for spi-nor device pm in m25p80 Kamal Dasu
2017-02-08 16:53 ` [PATCH v2 1/2] mtd: spi-nor: Added spi-nor reset function Kamal Dasu
2017-02-09 15:13   ` Marek Vasut
2017-02-09 17:49   ` Cyrille Pitchen
2017-02-09 20:59     ` Kamal Dasu
2017-02-08 16:53 ` [PATCH v2 2/2] mtd: m25p80: Added pm ops support 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).