Hi, Vivek
Yes, if your board is DDR3, two points you need to keep in mind, in arch/arm/mach-imx/anatop.c, you need to keep weak 2P5 on before suspend, it is in imx_anatop_pre_suspend function(L3.10 kernel), and also, you need to change the DDR IO setting in suspend, arch/arm/mach-imx/suspend-imx6.S, comment out imx6sl_ddr_io_set_lpm to have a try, DDR3 has different pin setting compared to LPDDR2, our BSP is for LPDDR2 by default, so you can try it first, please refer to below patch I mad on our L3.10 kernel, I am NOT sure what kernel you are using:
diff --git a/arch/arm/mach-imx/anatop.c b/arch/arm/mach-imx/anatop.c
index a2795cc..f1cab13 100644
--- a/arch/arm/mach-imx/anatop.c
+++ b/arch/arm/mach-imx/anatop.c
@@ -77,12 +77,7 @@ static inline void imx_anatop_disconnect_high_snvs(bool enable)
void imx_anatop_pre_suspend(void)
{
- if (cpu_is_imx6sl()) {
- imx_anatop_enable_2p5_pulldown(true);
- imx_anatop_disconnect_high_snvs(true);
- } else {
- imx_anatop_enable_weak2p5(true);
- }
+ imx_anatop_enable_weak2p5(true);
imx_anatop_enable_fet_odrive(true);
}
@@ -90,12 +85,7 @@ void imx_anatop_pre_suspend(void)
void imx_anatop_post_resume(void)
{
imx_anatop_enable_fet_odrive(false);
- if (cpu_is_imx6sl()) {
- imx_anatop_enable_2p5_pulldown(false);
- imx_anatop_disconnect_high_snvs(false);
- } else {
- imx_anatop_enable_weak2p5(false);
- }
+ imx_anatop_enable_weak2p5(false);
}
diff --git a/arch/arm/mach-imx/suspend-imx6.S b/arch/arm/mach-imx/suspend-imx6.S
index f40ae18..e0871f5 100644
--- a/arch/arm/mach-imx/suspend-imx6.S
+++ b/arch/arm/mach-imx/suspend-imx6.S
@@ -387,7 +387,7 @@
.endm
.macro imx6sl_ddr_io_set_lpm
-
+#if 0
mov r10, #0
str r10, [r8, #0x30c] /* DRAM_DQM0 */
str r10, [r8, #0x310] /* DRAM_DQM1 */
@@ -414,7 +414,7 @@
mov r10, #0x1000
str r10, [r8, #0x330] /* DRAM_SDCKE0 */
str r10, [r8, #0x334] /* DRAM_SDCKE1 */
-
+#endif
.endm
.macro imx6dl_ddr_io_save