aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/include
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2010-06-16 12:49:48 -0400
committerKevin Hilman <khilman@ti.com>2011-12-08 14:29:00 -0500
commitb2b9762f76981c16a8768255284efeae7f27e4f1 (patch)
tree3538b853da88eedeb2c64646b9555736000ba73a /arch/arm/mach-omap2/include
parentfcf6efa3ffbc3cc19e7abe39e0b90f497df2fc42 (diff)
ARM: OMAP4: PM: Add CPUX OFF mode support
This patch adds the CPU0 and CPU1 off mode support. CPUX close switch retention (CSWR) is not supported by hardware design. The CPUx OFF mode isn't supported on OMAP4430 ES1.0 CPUx sleep code is common for hotplug, suspend and CPUilde. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Vishwanath BS <vishwanath.bs@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/include')
-rw-r--r--arch/arm/mach-omap2/include/mach/omap-secure.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/include/mach/omap-secure.h b/arch/arm/mach-omap2/include/mach/omap-secure.h
index 29f60cae45e9..5f0763dd5664 100644
--- a/arch/arm/mach-omap2/include/mach/omap-secure.h
+++ b/arch/arm/mach-omap2/include/mach/omap-secure.h
@@ -35,9 +35,18 @@
35#define OMAP4_HAL_SAVEALL_INDEX 0x1c 35#define OMAP4_HAL_SAVEALL_INDEX 0x1c
36#define OMAP4_HAL_SAVEGIC_INDEX 0x1d 36#define OMAP4_HAL_SAVEGIC_INDEX 0x1d
37 37
38/* Secure Monitor mode APIs */
39#define OMAP4_MON_SCU_PWR_INDEX 0x108
40
41/* Secure PPA(Primary Protected Application) APIs */
42#define OMAP4_PPA_CPU_ACTRL_SMP_INDEX 0x25
43
44#ifndef __ASSEMBLER__
45
38extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, 46extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
39 u32 arg1, u32 arg2, u32 arg3, u32 arg4); 47 u32 arg1, u32 arg2, u32 arg3, u32 arg4);
40extern u32 omap_smc2(u32 id, u32 falg, u32 pargs); 48extern u32 omap_smc2(u32 id, u32 falg, u32 pargs);
41extern phys_addr_t omap_secure_ram_mempool_base(void); 49extern phys_addr_t omap_secure_ram_mempool_base(void);
42 50
51#endif /* __ASSEMBLER__ */
43#endif /* OMAP_ARCH_OMAP_SECURE_H */ 52#endif /* OMAP_ARCH_OMAP_SECURE_H */