linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/2]  Add spi-nor flash device pm support
@ 2017-08-22 20:45 Kamal Dasu
  2017-08-22 20:45 ` [PATCH v8 1/2] mtd: spi-nor: add spi_nor_init() function Kamal Dasu
  2017-08-22 20:45 ` [PATCH v8 2/2] mtd: spi-nor: Add spi-nor mtd resume handler Kamal Dasu
  0 siblings, 2 replies; 6+ messages in thread
From: Kamal Dasu @ 2017-08-22 20:45 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 v7 

spi-nor.h
- Fix comment style

spi-nor.c
- Fix condition check to set_4byte() when nor->addr_width == 4 in spi_nor_init()
- Bring back quad_enable logic to spi_nor_setup() and remove it from spi_nor_scan()
- Remove duplicate comment section in spi_nor_scan()
- Leave dev_info() string as before in spi_nor_scan()

The V8 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 | 68 +++++++++++++++++++++++++++++++------------
 include/linux/mtd/spi-nor.h   | 10 +++++++
 2 files changed, 60 insertions(+), 18 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-10-10 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22 20:45 [PATCH v8 0/2] Add spi-nor flash device pm support Kamal Dasu
2017-08-22 20:45 ` [PATCH v8 1/2] mtd: spi-nor: add spi_nor_init() function Kamal Dasu
2017-10-10 16:25   ` Cyrille Pitchen
2017-08-22 20:45 ` [PATCH v8 2/2] mtd: spi-nor: Add spi-nor mtd resume handler Kamal Dasu
2017-08-23  7:06   ` Cyrille Pitchen
2017-10-10 16:25   ` Cyrille Pitchen

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