author | Vaibhav Bedia <vaibhav.bedia@ti.com> | |
Fri, 23 Mar 2012 05:35:08 +0000 (11:05 +0530) | ||
committer | Vaibhav Bedia <vaibhav.bedia@ti.com> | |
Tue, 27 Mar 2012 10:53:18 +0000 (16:23 +0530) | ||
commit | 1b21543aae1844cd2b59bb0f257d6f62c38f39f9 | |
tree | fbfb93577c6e9872e9d35f316b60dc97df681dc0 | tree | snapshot (tar.xz tar.gz zip) |
parent | 0066f815b57eb88fe559448cf917f9f26aaa496d | commit | diff |
ARM: OMAP: AM33XX: Low power optimizations
As per the design team, in order to reduce VDDS_DDR
is suspend state the following things must be done:
1. Set the IOs to work in mDDR mode by setting mDDR_SEL
bit in the DDR_IO_CTRL register
2. Enable weak pull down for DQ and DM by configuring
the DDR_DATA0/1_IOCTRL registers
3. Disable VTP and also set P and N in VTP_CTRL to 1.
In the suspend state, A8 SRAM is configured to OFF state,
so to further reduce the power consumption SRAM LDO
is also configured to go to RET mode.
In the resume path all these registers need to restored
back to the pre-suspend state before any access to DDR
happens.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
As per the design team, in order to reduce VDDS_DDR
is suspend state the following things must be done:
1. Set the IOs to work in mDDR mode by setting mDDR_SEL
bit in the DDR_IO_CTRL register
2. Enable weak pull down for DQ and DM by configuring
the DDR_DATA0/1_IOCTRL registers
3. Disable VTP and also set P and N in VTP_CTRL to 1.
In the suspend state, A8 SRAM is configured to OFF state,
so to further reduce the power consumption SRAM LDO
is also configured to go to RET mode.
In the resume path all these registers need to restored
back to the pre-suspend state before any access to DDR
happens.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
arch/arm/mach-omap2/pm33xx.h | diff | blob | history | |
arch/arm/mach-omap2/sleep33xx.S | diff | blob | history |