mtd: spi-nor: fsl-qspi: support deep sleep mode for imx6 sx chip
authorAllen Xu <b45815@freescale.com>
Mon, 12 Jan 2015 20:56:40 +0000 (04:56 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 16 Jan 2015 03:30:30 +0000 (19:30 -0800)
commit45c6a0caeb2bde9e043bcd833af322db57a37498
tree5ee56173e088019b4f92e39bcc16ad6b78f1816b
parent7c272ac5eefb329501aadbd9f21f86232c0f66a9
mtd: spi-nor: fsl-qspi: support deep sleep mode for imx6 sx chip

i.mx6 sx support turn off fastmix and megamix power.
qpsi controller can be turned off and all status lost when suspend/resume.
add suspend/resume functions and reset qspi controller when resume.

Signed-off-by: Allen Xu <b45815@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Acked-by: Huang Shijie <shijie.huang@intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/fsl-quadspi.c