Hi,
I am using OMAP3621 for my product with Linux 2.6.35(p-android-omap-2.6.35).
When the device go to suspend state VDD1/VDD2 remain at .94v/1.13v. Console gets disabled and from the print it looks like CORE and MPU went into idle state.
We would like to bring VDD1/2 to 0v for more power saving.
While probing SYS_OFF_MODE line in dont see this line toggling.
After looking into the code "arch/arm/mach-omap2/pm34xx.c" I dont see any place where "OMAP3430_AUTO_OFF_MASK" is set.
As per TRM unless this bit is set OMAP will not toggle SYS_OFF_MODE line.
I tried setting the bit like below. But once I set this bit it looks like OMAP wakes up immediately after suspend without any external trigger. And this loop keeps on with repeated prints on the terminal.
if (core_next_state == PWRDM_POWER_OFF) {
prm_set_mod_reg_bits(OMAP3430_AUTO_OFF_MASK,
OMAP3430_GR_MOD,
OMAP3_PRM_VOLTCTRL_OFFSET);
Need help to understand why setting this bit wakes up OMAP ?
Attached register dumps without above modification.
Thanks & Regards
Freddy