From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ccJOe-0005zE-PK for linux-mtd@lists.infradead.org; Fri, 10 Feb 2017 22:10:31 +0000 Received: by mail-wr0-x244.google.com with SMTP id i10so16485844wrb.0 for ; Fri, 10 Feb 2017 14:10:07 -0800 (PST) From: Kamal Dasu To: linux-spi@vger.kernel.org, cyrille.pitchen@atmel.com, marex@denx.de, broonie@kernel.org Cc: linux-mtd@lists.infradead.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, Kamal Dasu Subject: [PATCH v3 0/2] Added support for spi-nor device pm in m25p80 Date: Fri, 10 Feb 2017 16:49:27 -0500 Message-Id: <1486763369-31969-1-git-send-email-kdasu.kdev@gmail.com> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The V3 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 probed 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 reset function mtd: m25p80: Added pm ops support drivers/mtd/devices/m25p80.c | 16 ++++++++++ drivers/mtd/spi-nor/spi-nor.c | 72 +++++++++++++++++++++++++++---------------- include/linux/mtd/spi-nor.h | 21 ++++++++++++- 3 files changed, 81 insertions(+), 28 deletions(-) -- 1.9.1