[PATCH v2 1/6] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-08-17 Thread Han Xu
From: Huang Shijie i.MX6SX supports deep sleep mode(DSM) that may turn off GPMI/BCH power during suspend, add gpmi nand suspend/resume function to release DMA channel in suspend function and re-init GPMI/BCH controller during resume function. Although it is not necessary to restore GPMI/BCH

[PATCH v2 1/6] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-08-17 Thread Han Xu
From: Huang Shijie b32...@freescale.com i.MX6SX supports deep sleep mode(DSM) that may turn off GPMI/BCH power during suspend, add gpmi nand suspend/resume function to release DMA channel in suspend function and re-init GPMI/BCH controller during resume function. Although it is not necessary to