> -----Original Message----- > From: Menon, Nishanth > Sent: Friday, November 20, 2009 9:29 PM > To: Premi, Sanjeev; linux-omap@xxxxxxxxxxxxxxx > Subject: RE: VDD1 voltage after resume from idle > > > From: Premi, Sanjeev > > Sent: Friday, November 20, 2009 9:54 AM > > > > > > > > Hi, > > > > > > > > I am facing a strange problem on OMAP3EVM after > resuming from idle. > > > > When using OPP5, the VDD1 voltage ramps to 1.35V. > > > > > > > > However, when i go thru the idle/wakeup cycle, the voltage never > > > > ramps back to 1.35V but stays at 1.20V. > > > > > > > > I don't notice many changes in smartreflex.c since > 2.6.31-rc7 but > > > > this problem is not observed there. Actually, here the voltage > > > > did not drop during suspend at all. > > > > > > > > While I continue to debug, any suggestions? > > > > > > Look for retention voltage setup (they should be OPP dependent).. > > > this was one of my plans of cleanups anyways.. > > > > So far the problem seems to be optimizations in the > enable_smartreflex and > > disable_smartreflex. > > > > On resume path, enable_smartreflex() is called, but doesn't > do anything > > unless autocomp flag is on. This is different from the > boot-time where > > the current freq is looked at and appropriate voltage is set. > > > > I am currently trying to get rid of optimizations and see > the result. > > We do need the optimizations; but may be different ones. > What specific optimization are you talking about? > http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-p > m.git;a=blob;f=arch/arm/mach-omap2/resource34xx.c;h=04be4d2694 > 5beccf81cad08a8cdfc6086d6ce70a;hb=refs/heads/pm#l277 ? I not using SRF - vanilla no-op layer. The optimization is check for is_autocomp_active and is_sr_reset flags. unless both are set, there is no real processing in the both the functions. However, I it is possible that voltage processor has lost the configuration set earlier via sr_configure_vp(). Only thing still puzzling me is that same behavior occurs even when enable_off_mode=0 (Only sleep_while_idle=1). Or, it may just be something missing at init... Best regards, Sanjeev > Regards, > Nishanth Menon > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html