Go to the documentation of this file.
17 #ifndef __ARCH_ARM_MACH_OMAP2_POWERDOMAIN_H
18 #define __ARCH_ARM_MACH_OMAP2_POWERDOMAIN_H
20 #include <linux/types.h>
21 #include <linux/list.h>
30 #define PWRDM_POWER_OFF 0x0
31 #define PWRDM_POWER_RET 0x1
32 #define PWRDM_POWER_INACTIVE 0x2
33 #define PWRDM_POWER_ON 0x3
35 #define PWRDM_MAX_PWRSTS 4
38 #define PWRSTS_ON (1 << PWRDM_POWER_ON)
39 #define PWRSTS_INACTIVE (1 << PWRDM_POWER_INACTIVE)
40 #define PWRSTS_RET (1 << PWRDM_POWER_RET)
41 #define PWRSTS_OFF (1 << PWRDM_POWER_OFF)
43 #define PWRSTS_OFF_ON (PWRSTS_OFF | PWRSTS_ON)
44 #define PWRSTS_OFF_RET (PWRSTS_OFF | PWRSTS_RET)
45 #define PWRSTS_RET_ON (PWRSTS_RET | PWRSTS_ON)
46 #define PWRSTS_OFF_RET_ON (PWRSTS_OFF_RET | PWRSTS_ON)
50 #define PWRDM_HAS_HDWR_SAR (1 << 0)
51 #define PWRDM_HAS_MPU_QUIRK (1 << 1)
55 #define PWRDM_HAS_LOWPOWERSTATECHANGE (1 << 2)
66 #define PWRDM_MAX_MEM_BANKS 5
72 #define PWRDM_MAX_CLKDMS 11
75 #define PWRDM_TRANSITION_BAILOUT 100000
141 #ifdef CONFIG_PM_DEBUG