summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/pm-imx7.c
AgeCommit message (Collapse)Author
2015-04-24MLK-10715 ARM: imx: setting gpcv2 wake up mode to only using external irqAnson Huang
Using new wake up mode in gpcv2 bring in system issue, USB and AUDIO meet stress test issue, design team is still checking the root cause, let's use previous work around of GPC wake up to make sure system is stable currently. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10455-4 ARM: imx: add ddr3 retention support for imx7dAnson Huang
Add support for i.MX7D DDR3 retention, the retention flow needs to be optimized to support both LPDDR3 and DDR3. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10455-3 ARM: imx: add different DDR type support for imx7d retentionAnson Huang
On i.MX7D, LPDDR3 and DDR3 have different retention flow, need to add DDR type check during initialization. Some DDR configurations may be updated lated, so it is better to just read it from register instead of hard coding. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10455-1 ARM: imx: remove GPC workaround for imx7dAnson Huang
On i.MX7D, the new GPC design has added a function of waking up GPC from low power mode using internal GIC signal, which means IRQ number < 32 can also wake up GPC from low power mode as long as we set the wake up source correctly in A7_BSC, so we can remove the workaround. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10430 ARM: imx: use IOMUX IRQ to make GPC state machine correct on imx7dAnson Huang
When ARM is waked up from WFI by irq number which < 32, GPC state machine may keep ARM WFI signal available for next time entering low power mode, so the issue is when we just set the low power mode in GPC, ARM is still executing instructions, whenever GPC's low power mode is enabled, the whole system is forced into low power mode, this is unexpected, low power mode should only be entered when ARM is in WFI. To fix this issue, we should make sure the last wakeup irq is from our SOC platform, the irq number should be >= 32, so here we force the IOMUX irq to be always pending by setting bit 12 of IOMUX_GPR1, then whenever we set the low power mode in GPC, we should unmask it in GPC first then mask it back, it will clean all previous internal logics in GPC low power mode. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10415-4 ARM: imx: enable mega/fast mix off for imx7dAnson Huang
When Mega/Fast mix is off in DSM, we need to do DDR retention, by default, Mega/Fast mix will be off in DSM, unless there is any device inside Mega/Fast mix domain enabled as wakeup source. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10415-2 ARM: imx: support no_console_suspend with Mega/Fast mix off in ↵Anson Huang
DSM of imx7d With M/F mix off in DSM, during the window of SOC resume and UART driver resume, the UART1 hardware is NOT working. So, add uart1 registers save/restore during suspend/resume when no_console_suspend is enabled. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-04-24MLK-10415-1 ARM: imx: add ocram save/restore during DSM on imx7dAnson Huang
As OCRAM will lost power in DSM mode, need to do save/restore during enter/exit DSM mode. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-02-04MLK-10167-9 ARM: imx: add suspend/resume support for imx7dAnson Huang
Add suspend/resume support for i.MX7D. Signed-off-by: Anson Huang <b20788@freescale.com>