Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / arm / mach-omap2 / prm.h
blob39d562169d185d11a3a3d5aebcaa541754423dea
1 /*
2 * OMAP2/3/4 Power/Reset Management (PRM) bitfield definitions
4 * Copyright (C) 2007-2009 Texas Instruments, Inc.
5 * Copyright (C) 2010 Nokia Corporation
7 * Paul Walmsley
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
13 #ifndef __ARCH_ARM_MACH_OMAP2_PRM_H
14 #define __ARCH_ARM_MACH_OMAP2_PRM_H
16 #include "prcm-common.h"
19 * 24XX: PM_PWSTST_CORE, PM_PWSTST_GFX, PM_PWSTST_MPU, PM_PWSTST_DSP
21 * 2430: PM_PWSTST_MDM
23 * 3430: PM_PWSTST_IVA2, PM_PWSTST_MPU, PM_PWSTST_CORE, PM_PWSTST_GFX,
24 * PM_PWSTST_DSS, PM_PWSTST_CAM, PM_PWSTST_PER, PM_PWSTST_EMU,
25 * PM_PWSTST_NEON
27 #define OMAP_INTRANSITION_MASK (1 << 20)
31 * 24XX: PM_PWSTST_GFX, PM_PWSTST_DSP
33 * 2430: PM_PWSTST_MDM
35 * 3430: PM_PWSTST_IVA2, PM_PWSTST_MPU, PM_PWSTST_CORE, PM_PWSTST_GFX,
36 * PM_PWSTST_DSS, PM_PWSTST_CAM, PM_PWSTST_PER, PM_PWSTST_EMU,
37 * PM_PWSTST_NEON
39 #define OMAP_POWERSTATEST_SHIFT 0
40 #define OMAP_POWERSTATEST_MASK (0x3 << 0)
43 * 24XX: PM_PWSTCTRL_MPU, PM_PWSTCTRL_CORE, PM_PWSTCTRL_GFX,
44 * PM_PWSTCTRL_DSP, PM_PWSTST_MPU
46 * 2430: PM_PWSTCTRL_MDM shared bits
48 * 3430: PM_PWSTCTRL_IVA2, PM_PWSTCTRL_MPU, PM_PWSTCTRL_CORE,
49 * PM_PWSTCTRL_GFX, PM_PWSTCTRL_DSS, PM_PWSTCTRL_CAM, PM_PWSTCTRL_PER,
50 * PM_PWSTCTRL_NEON shared bits
52 #define OMAP_POWERSTATE_SHIFT 0
53 #define OMAP_POWERSTATE_MASK (0x3 << 0)
56 #endif