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


Groups > linux.kernel > #1717827

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

From Kamal Dasu <kdasu.kdev@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v8 0/2] Add spi-nor flash device pm support
Date 2017-08-22 22:50 +0200
Message-ID <uhohz-7x1-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/2]  Add spi-nor flash device pm support Kamal Dasu <kdasu.kdev@gmail.com> - 2017-08-22 22:50 +0200
  [PATCH v8 2/2] mtd: spi-nor: Add spi-nor mtd resume handler Kamal Dasu <kdasu.kdev@gmail.com> - 2017-08-22 22:50 +0200
    Re: [PATCH v8 2/2] mtd: spi-nor: Add spi-nor mtd resume handler Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> - 2017-08-23 09:10 +0200

csiph-web