sr_configure_vc() configures following things, which is needed to scale VDD1/VDD2 voltages while going RET/OFF during cpuidle. - Voltage controller config : i2c bus details,voltage range and cmd range. - Initializing PRM_VC_CMD_VAL_0, PRM_VC_CMD_VAL_1 with ON/RET/OFF voltage levels - SYSOFF mode configuration of PRM_CLKSETUP, PRM_VOLTOFFSET, PRM_VOLTSETUP2 Its good to have it in prcm_init(),as we might lose this if smartreflex module is removed during compilation. -----Original Message----- From: Peter 'p2' De Schrijver [mailto:peter.de-schrijver@xxxxxxxxx] Sent: Wednesday, July 23, 2008 7:13 PM To: Rangasamy, Devaraj Cc: TK, Pratheesh Gangadhar; linux-omap@xxxxxxxxxxxxxxx Subject: Re: OMAP3 SYS_OFF_MODE support On Tue, Jul 22, 2008 at 07:56:10PM +0530, ext Rangasamy, Devaraj wrote: > > Currently sr_configure_vc() is the only dedicated API to configure Voltage controller parameter. But still SYSOFF specific configuration shall be moved to prcm init. > Do you suggest to move all the voltage control initialization to prcm init ? Cheers, Peter. -- goa is a state of mind -- 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