diff options
author | Chenhui Zhao <chenhui.zhao@freescale.com> | 2014-10-24 07:50:01 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:38:57 (GMT) |
commit | d22a0c88660f80207e1a96be3b278f1500b73bed (patch) | |
tree | 77b34323afdd7a2c24648acdb8c4ac3c4b9bb683 /arch | |
parent | 5c14af7b5f2c61e55044c7e28ebc50bb99548632 (diff) | |
download | linux-fsl-qoriq-d22a0c88660f80207e1a96be3b278f1500b73bed.tar.xz |
pm: ls1: diable QE device to make deep sleep work
The temporary workaround will disable the QE device before entering
deep sleep. It makes deep sleep work, and should be removed after
resolving the problem.
Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com>
Change-Id: Ib8c079ef67773eb3e058cf03331a0ed9c7707113
Reviewed-on: http://git.am.freescale.net:8181/21981
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/pm-ls1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/pm-ls1.c b/arch/arm/mach-imx/pm-ls1.c index ed4292a..bdcd92b 100644 --- a/arch/arm/mach-imx/pm-ls1.c +++ b/arch/arm/mach-imx/pm-ls1.c @@ -241,6 +241,9 @@ static void ls1_enter_deepsleep(void) { u32 tmp; + /* disable QE device to make deep sleep work */ + iowrite32be(0x00000001, ls1_pm_base.dcfg + 0x70); + /* save DDR data */ ls1_save_ddr(ls1_pm_base.scfg); |