Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701564

[PATCH v7 0/2] Add spi-nor flash device pm support

From Kamal Dasu <kdasu.kdev@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v7 0/2] Add spi-nor flash device pm support
Date 2017-08-02 00:50 +0200
Message-ID <u9O9b-1zg-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v7 0/2] Add spi-nor flash device pm support Kamal Dasu <kdasu.kdev@gmail.com> - 2017-08-02 00:50 +0200

csiph-web