Skip to contentSkip to conversation

spi-nor: m25p80: add support for deep power down

PATCH Superseded Heiner Kallweit 1 participant 1 message Feb 1, 2015 Memory technology devices (MTD)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover spi-nor: m25p80: add support for deep power down

Some time ago there was a first attempt to add deep power down support. IIRC it was rejected because the differences between the chip types were not considered well enough.

This patch is meant as a RfC.
Support for deep power down may be relevant especially for embedded devices. I own devices with three different SPI NOR flash chips which all use the same opcodes for suspend / resume.
Difference ist just the time they need for waking up.
The code however supports any type of suspend / resume procedure.

Initially only support for the chips I have access to was implemented.

Heiner Kallweit (2):
spi-nor: add chip_name to struct spi_nor
m25p80: if supported put chip to deep power down if not used

 drivers/mtd/devices/m25p80.c  | 112 +++++++++++++++++++++++++++++++++++++++++-
 drivers/mtd/spi-nor/spi-nor.c |   1 +
 include/linux/mtd/spi-nor.h   |   2 +
 3 files changed, 114 insertions(+), 1 deletion(-)
Signature · 1 line
2.2.2