1 /* 2 * OMAP2/3/4 Power/Reset Management (PRM) bitfield definitions 3 * 4 * Copyright (C) 2007-2009 Texas Instruments, Inc. 5 * Copyright (C) 2010 Nokia Corporation 6 * 7 * Paul Walmsley 8 * 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. 12 */ 13 #ifndef __ARCH_ARM_MACH_OMAP2_PRM_H 14 #define __ARCH_ARM_MACH_OMAP2_PRM_H 15 16 #include "prcm-common.h" 17 18 /* 19 * 24XX: PM_PWSTST_CORE, PM_PWSTST_GFX, PM_PWSTST_MPU, PM_PWSTST_DSP 20 * 21 * 2430: PM_PWSTST_MDM 22 * 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 26 */ 27 #define OMAP_INTRANSITION_MASK (1 << 20) 28 29 30 /* 31 * 24XX: PM_PWSTST_GFX, PM_PWSTST_DSP 32 * 33 * 2430: PM_PWSTST_MDM 34 * 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 38 */ 39 #define OMAP_POWERSTATEST_SHIFT 0 40 #define OMAP_POWERSTATEST_MASK (0x3 << 0) 41 42 /* 43 * 24XX: PM_PWSTCTRL_MPU, PM_PWSTCTRL_CORE, PM_PWSTCTRL_GFX, 44 * PM_PWSTCTRL_DSP, PM_PWSTST_MPU 45 * 46 * 2430: PM_PWSTCTRL_MDM shared bits 47 * 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 51 */ 52 #define OMAP_POWERSTATE_SHIFT 0 53 #define OMAP_POWERSTATE_MASK (0x3 << 0) 54 55 56 #endif 57