Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / arm / mach-prima2 / pm.h
blobbae6d77e01ab8b1b8e79f3e912669e31e24d9118
1 /*
2 * arch/arm/mach-prima2/pm.h
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
7 */
9 #ifndef _MACH_PRIMA2_PM_H_
10 #define _MACH_PRIMA2_PM_H_
12 #define SIRFSOC_PWR_SLEEPFORCE 0x01
14 #define SIRFSOC_SLEEP_MODE_MASK 0x3
15 #define SIRFSOC_DEEP_SLEEP_MODE 0x1
17 #define SIRFSOC_PWRC_PDN_CTRL 0x0
18 #define SIRFSOC_PWRC_PON_OFF 0x4
19 #define SIRFSOC_PWRC_TRIGGER_EN 0x8
20 #define SIRFSOC_PWRC_PIN_STATUS 0x14
21 #define SIRFSOC_PWRC_SCRATCH_PAD1 0x18
22 #define SIRFSOC_PWRC_SCRATCH_PAD2 0x1C
24 #ifndef __ASSEMBLY__
25 extern int sirfsoc_finish_suspend(unsigned long);
26 #endif
28 #endif