Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
regs-apmu.h
Go to the documentation of this file.
1 /*
2  * linux/arch/arm/mach-mmp/include/mach/regs-apmu.h
3  *
4  * Application Subsystem Power Management Unit
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef __ASM_MACH_REGS_APMU_H
12 #define __ASM_MACH_REGS_APMU_H
13 
14 #include <mach/addr-map.h>
15 
16 #define APMU_FNCLK_EN (1 << 4)
17 #define APMU_AXICLK_EN (1 << 3)
18 #define APMU_FNRST_DIS (1 << 1)
19 #define APMU_AXIRST_DIS (1 << 0)
20 
21 /* Wake Clear Register */
22 #define APMU_WAKE_CLR APMU_REG(0x07c)
23 
24 #define APMU_PXA168_KP_WAKE_CLR (1 << 7)
25 #define APMU_PXA168_CFI_WAKE_CLR (1 << 6)
26 #define APMU_PXA168_XD_WAKE_CLR (1 << 5)
27 #define APMU_PXA168_MSP_WAKE_CLR (1 << 4)
28 #define APMU_PXA168_SD4_WAKE_CLR (1 << 3)
29 #define APMU_PXA168_SD3_WAKE_CLR (1 << 2)
30 #define APMU_PXA168_SD2_WAKE_CLR (1 << 1)
31 #define APMU_PXA168_SD1_WAKE_CLR (1 << 0)
32 
33 #endif /* __ASM_MACH_REGS_APMU_H */