MLK-11336: mtd: nand: enable LPSR for GPMI NAND
authorHan Xu <b45815@freescale.com>
Fri, 7 Aug 2015 15:37:50 +0000 (10:37 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:31 +0000 (14:47 -0500)
commit6231796e9aacc0ea2fad69a4e4b7bfe7b0148ddf
tree772720092bd9b07a67b9e6cf621ba62bfb72c547
parent9f32a690f6236224a7f4893ec9568f59eafbfb56
MLK-11336: mtd: nand: enable LPSR for GPMI NAND

The LPSR turns off the power for IOMUX when suspending so restore the
IOMUX when resuming in GPMI NAND driver.

The function was not tested yet since NAND only supported on 19x19
LPDDR board.

Signed-off-by: Han Xu <b45815@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit: b0375f42a27044667082e53449e534b265d7a029)
drivers/mtd/nand/gpmi-nand/gpmi-nand.c