Skip to contentSkip to conversation

AUTO_EXTVOLT on OMAP2430

DISCUSSION Seth Forshee 1 participant 1 message Oct 20, 2008

lore
Share & tools
lore
#0 lore raw

I'm working with what basically amounts to an older version of the linux-omap kernel with substantial modifications. I found that in some situations I was getting about 4 mA more current draw during suspend than at other times. This was ultimately being caused by some of the code that runs in SRAM masking off the PRCM_VOLTCTRL[AUTO_EXTVOLT] bit. I compared to tips in the linux-omap repo for comparison and found the situation is the same -- the bit is set during initialization, but will be cleared by the SRAM code that configures the SDRC.

Quoted 1 line

From reading the TRM it seems that this bit should only affect the retention

and off states, so I don't understand why it needs to be masked during SDRC configuration. Is there any danger in changing the mask to leave this bit unchanged? Or would it be safer to set this bit before suspend and clear it after?

Thanks,
Seth