diff options
author | Paul Walmsley <paul@pwsan.com> | 2008-08-19 11:08:40 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-08-19 11:08:40 +0300 |
commit | 9717100f77538bbee54d2b5c293fd829b252d2a6 (patch) | |
tree | 9e96c16ff6a3b92a2fe4c533c6f8afe833e232c2 /arch/arm/mach-omap2/prm.h | |
parent | ad67ef6848a1608b0430003e11e7af1ce706e341 (diff) | |
download | linux-stable-9717100f77538bbee54d2b5c293fd829b252d2a6.tar.gz linux-stable-9717100f77538bbee54d2b5c293fd829b252d2a6.tar.bz2 linux-stable-9717100f77538bbee54d2b5c293fd829b252d2a6.zip |
ARM: OMAP2: Powerdomain: Add OMAP2/3 common powerdomains
Add powerdomains common to both OMAP2 and OMAP3 (WKUP and GFX/SGX).
Modify mach-omap2/io.c to initialize the powerdomain code on boot.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r-- | arch/arm/mach-omap2/prm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h index bbf41fc8e9a9..eb9982fb21d5 100644 --- a/arch/arm/mach-omap2/prm.h +++ b/arch/arm/mach-omap2/prm.h @@ -305,7 +305,8 @@ static inline u32 prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) * 3430: PM_WKDEP_IVA2, PM_WKDEP_GFX, PM_WKDEP_DSS, PM_WKDEP_CAM, * PM_WKDEP_PER */ -#define OMAP_EN_WKUP (1 << 4) +#define OMAP_EN_WKUP_SHIFT 4 +#define OMAP_EN_WKUP_MASK (1 << 4) /* * 24XX: PM_PWSTCTRL_MPU, PM_PWSTCTRL_CORE, PM_PWSTCTRL_GFX, |