ARM: cpu topology: Add debugfs interface for cpu_power
[cmplus.git] / arch / arm / mach-omap2 / prm-regbits-44xx.h
blobb76cfd631efaa7cdb000d99c8d7cc2ced0aaaef8
1 /*
2 * OMAP44xx Power Management register bits
4 * Copyright (C) 2009-2011 Texas Instruments, Inc.
5 * Copyright (C) 2009-2010 Nokia Corporation
7 * Paul Walmsley (paul@pwsan.com)
8 * Rajendra Nayak (rnayak@ti.com)
9 * Benoit Cousson (b-cousson@ti.com)
11 * This file is automatically generated from the OMAP hardware databases.
12 * We respectfully ask that any modifications to this file be coordinated
13 * with the public linux-omap@vger.kernel.org mailing list and the
14 * authors above to ensure that the autogeneration scripts are kept
15 * up-to-date with the file contents.
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License version 2 as
19 * published by the Free Software Foundation.
22 #ifndef __ARCH_ARM_MACH_OMAP2_PRM_REGBITS_44XX_H
23 #define __ARCH_ARM_MACH_OMAP2_PRM_REGBITS_44XX_H
27 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
28 * PRM_LDO_SRAM_MPU_SETUP
30 #define OMAP4430_ABBOFF_ACT_EXPORT_SHIFT 1
31 #define OMAP4430_ABBOFF_ACT_EXPORT_MASK (1 << 1)
34 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
35 * PRM_LDO_SRAM_MPU_SETUP
37 #define OMAP4430_ABBOFF_SLEEP_EXPORT_SHIFT 2
38 #define OMAP4430_ABBOFF_SLEEP_EXPORT_MASK (1 << 2)
40 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
41 #define OMAP4430_ABB_IVA_DONE_EN_SHIFT 31
42 #define OMAP4430_ABB_IVA_DONE_EN_MASK (1 << 31)
44 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
45 #define OMAP4430_ABB_IVA_DONE_ST_SHIFT 31
46 #define OMAP4430_ABB_IVA_DONE_ST_MASK (1 << 31)
48 /* Used by PRM_IRQENABLE_MPU_2 */
49 #define OMAP4430_ABB_MPU_DONE_EN_SHIFT 7
50 #define OMAP4430_ABB_MPU_DONE_EN_MASK (1 << 7)
52 /* Used by PRM_IRQSTATUS_MPU_2 */
53 #define OMAP4430_ABB_MPU_DONE_ST_SHIFT 7
54 #define OMAP4430_ABB_MPU_DONE_ST_MASK (1 << 7)
56 /* Used by PRM_LDO_ABB_IVA_SETUP, PRM_LDO_ABB_MPU_SETUP */
57 #define OMAP4430_ACTIVE_FBB_SEL_SHIFT 2
58 #define OMAP4430_ACTIVE_FBB_SEL_MASK (1 << 2)
60 /* Used by PRM_LDO_ABB_IVA_SETUP, PRM_LDO_ABB_MPU_SETUP */
61 #define OMAP4430_ACTIVE_RBB_SEL_SHIFT 1
62 #define OMAP4430_ACTIVE_RBB_SEL_MASK (1 << 1)
64 /* Used by PM_ABE_PWRSTCTRL */
65 #define OMAP4430_AESSMEM_ONSTATE_SHIFT 16
66 #define OMAP4430_AESSMEM_ONSTATE_MASK (0x3 << 16)
68 /* Used by PM_ABE_PWRSTCTRL */
69 #define OMAP4430_AESSMEM_RETSTATE_SHIFT 8
70 #define OMAP4430_AESSMEM_RETSTATE_MASK (1 << 8)
72 /* Used by PM_ABE_PWRSTST */
73 #define OMAP4430_AESSMEM_STATEST_SHIFT 4
74 #define OMAP4430_AESSMEM_STATEST_MASK (0x3 << 4)
77 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
78 * PRM_LDO_SRAM_MPU_SETUP
80 #define OMAP4430_AIPOFF_SHIFT 8
81 #define OMAP4430_AIPOFF_MASK (1 << 8)
83 /* Used by PRM_VOLTCTRL */
84 #define OMAP4430_AUTO_CTRL_VDD_CORE_L_SHIFT 0
85 #define OMAP4430_AUTO_CTRL_VDD_CORE_L_MASK (0x3 << 0)
87 /* Used by PRM_VOLTCTRL */
88 #define OMAP4430_AUTO_CTRL_VDD_IVA_L_SHIFT 4
89 #define OMAP4430_AUTO_CTRL_VDD_IVA_L_MASK (0x3 << 4)
91 /* Used by PRM_VOLTCTRL */
92 #define OMAP4430_AUTO_CTRL_VDD_MPU_L_SHIFT 2
93 #define OMAP4430_AUTO_CTRL_VDD_MPU_L_MASK (0x3 << 2)
95 /* Used by PRM_VOLTCTRL */
96 #define OMAP4430_AUTO_CTRL_VDD_RET_MASK (1 << 1)
97 #define OMAP4430_AUTO_CTRL_VDD_SLEEP_MASK (1 << 0)
99 /* Used by PRM_VC_ERRST */
100 #define OMAP4430_BYPS_RA_ERR_SHIFT 25
101 #define OMAP4430_BYPS_RA_ERR_MASK (1 << 25)
103 /* Used by PRM_VC_ERRST */
104 #define OMAP4430_BYPS_SA_ERR_SHIFT 24
105 #define OMAP4430_BYPS_SA_ERR_MASK (1 << 24)
107 /* Used by PRM_VC_ERRST */
108 #define OMAP4430_BYPS_TIMEOUT_ERR_SHIFT 26
109 #define OMAP4430_BYPS_TIMEOUT_ERR_MASK (1 << 26)
111 /* Used by PRM_RSTST */
112 #define OMAP4430_C2C_RST_SHIFT 10
113 #define OMAP4430_C2C_RST_MASK (1 << 10)
115 /* Used by PM_CAM_PWRSTCTRL */
116 #define OMAP4430_CAM_MEM_ONSTATE_SHIFT 16
117 #define OMAP4430_CAM_MEM_ONSTATE_MASK (0x3 << 16)
119 /* Used by PM_CAM_PWRSTST */
120 #define OMAP4430_CAM_MEM_STATEST_SHIFT 4
121 #define OMAP4430_CAM_MEM_STATEST_MASK (0x3 << 4)
123 /* Used by PRM_CLKREQCTRL */
124 #define OMAP4430_CLKREQ_COND_SHIFT 0
125 #define OMAP4430_CLKREQ_COND_MASK (0x7 << 0)
127 /* Used by PRM_VC_VAL_SMPS_RA_CMD */
128 #define OMAP4430_CMDRA_VDD_CORE_L_SHIFT 0
129 #define OMAP4430_CMDRA_VDD_CORE_L_MASK (0xff << 0)
131 /* Used by PRM_VC_VAL_SMPS_RA_CMD */
132 #define OMAP4430_CMDRA_VDD_IVA_L_SHIFT 8
133 #define OMAP4430_CMDRA_VDD_IVA_L_MASK (0xff << 8)
135 /* Used by PRM_VC_VAL_SMPS_RA_CMD */
136 #define OMAP4430_CMDRA_VDD_MPU_L_SHIFT 16
137 #define OMAP4430_CMDRA_VDD_MPU_L_MASK (0xff << 16)
139 /* Used by PRM_VC_CFG_CHANNEL */
140 #define OMAP4430_CMD_VDD_CORE_L_SHIFT 4
141 #define OMAP4430_CMD_VDD_CORE_L_MASK (1 << 4)
143 /* Used by PRM_VC_CFG_CHANNEL */
144 #define OMAP4430_CMD_VDD_IVA_L_SHIFT 12
145 #define OMAP4430_CMD_VDD_IVA_L_MASK (1 << 12)
147 /* Used by PRM_VC_CFG_CHANNEL */
148 #define OMAP4430_CMD_VDD_MPU_L_SHIFT 17
149 #define OMAP4430_CMD_VDD_MPU_L_MASK (1 << 17)
151 /* Used by PM_CORE_PWRSTCTRL */
152 #define OMAP4430_CORE_OCMRAM_ONSTATE_SHIFT 18
153 #define OMAP4430_CORE_OCMRAM_ONSTATE_MASK (0x3 << 18)
155 /* Used by PM_CORE_PWRSTCTRL */
156 #define OMAP4430_CORE_OCMRAM_RETSTATE_SHIFT 9
157 #define OMAP4430_CORE_OCMRAM_RETSTATE_MASK (1 << 9)
159 /* Used by PM_CORE_PWRSTST */
160 #define OMAP4430_CORE_OCMRAM_STATEST_SHIFT 6
161 #define OMAP4430_CORE_OCMRAM_STATEST_MASK (0x3 << 6)
163 /* Used by PM_CORE_PWRSTCTRL */
164 #define OMAP4430_CORE_OTHER_BANK_ONSTATE_SHIFT 16
165 #define OMAP4430_CORE_OTHER_BANK_ONSTATE_MASK (0x3 << 16)
167 /* Used by PM_CORE_PWRSTCTRL */
168 #define OMAP4430_CORE_OTHER_BANK_RETSTATE_SHIFT 8
169 #define OMAP4430_CORE_OTHER_BANK_RETSTATE_MASK (1 << 8)
171 /* Used by PM_CORE_PWRSTST */
172 #define OMAP4430_CORE_OTHER_BANK_STATEST_SHIFT 4
173 #define OMAP4430_CORE_OTHER_BANK_STATEST_MASK (0x3 << 4)
175 /* Used by REVISION_PRM */
176 #define OMAP4430_CUSTOM_SHIFT 6
177 #define OMAP4430_CUSTOM_MASK (0x3 << 6)
179 /* Used by PRM_VC_VAL_BYPASS */
180 #define OMAP4430_DATA_SHIFT 16
181 #define OMAP4430_DATA_MASK (0xff << 16)
183 /* Used by PRM_DEVICE_OFF_CTRL */
184 #define OMAP4430_DEVICE_OFF_ENABLE_SHIFT 0
185 #define OMAP4430_DEVICE_OFF_ENABLE_MASK (1 << 0)
187 /* Used by PRM_VC_CFG_I2C_MODE */
188 #define OMAP4430_DFILTEREN_SHIFT 6
189 #define OMAP4430_DFILTEREN_MASK (1 << 6)
192 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
193 * PRM_LDO_SRAM_MPU_SETUP, PRM_SRAM_WKUP_SETUP
195 #define OMAP4430_DISABLE_RTA_EXPORT_SHIFT 0
196 #define OMAP4430_DISABLE_RTA_EXPORT_MASK (1 << 0)
198 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU, PRM_IRQENABLE_TESLA */
199 #define OMAP4430_DPLL_ABE_RECAL_EN_SHIFT 4
200 #define OMAP4430_DPLL_ABE_RECAL_EN_MASK (1 << 4)
202 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU, PRM_IRQSTATUS_TESLA */
203 #define OMAP4430_DPLL_ABE_RECAL_ST_SHIFT 4
204 #define OMAP4430_DPLL_ABE_RECAL_ST_MASK (1 << 4)
206 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
207 #define OMAP4430_DPLL_CORE_RECAL_EN_SHIFT 0
208 #define OMAP4430_DPLL_CORE_RECAL_EN_MASK (1 << 0)
210 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
211 #define OMAP4430_DPLL_CORE_RECAL_ST_SHIFT 0
212 #define OMAP4430_DPLL_CORE_RECAL_ST_MASK (1 << 0)
214 /* Used by PRM_IRQENABLE_MPU */
215 #define OMAP4430_DPLL_DDRPHY_RECAL_EN_SHIFT 6
216 #define OMAP4430_DPLL_DDRPHY_RECAL_EN_MASK (1 << 6)
218 /* Used by PRM_IRQSTATUS_MPU */
219 #define OMAP4430_DPLL_DDRPHY_RECAL_ST_SHIFT 6
220 #define OMAP4430_DPLL_DDRPHY_RECAL_ST_MASK (1 << 6)
222 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU, PRM_IRQENABLE_TESLA */
223 #define OMAP4430_DPLL_IVA_RECAL_EN_SHIFT 2
224 #define OMAP4430_DPLL_IVA_RECAL_EN_MASK (1 << 2)
226 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU, PRM_IRQSTATUS_TESLA */
227 #define OMAP4430_DPLL_IVA_RECAL_ST_SHIFT 2
228 #define OMAP4430_DPLL_IVA_RECAL_ST_MASK (1 << 2)
230 /* Used by PRM_IRQENABLE_MPU */
231 #define OMAP4430_DPLL_MPU_RECAL_EN_SHIFT 1
232 #define OMAP4430_DPLL_MPU_RECAL_EN_MASK (1 << 1)
234 /* Used by PRM_IRQSTATUS_MPU */
235 #define OMAP4430_DPLL_MPU_RECAL_ST_SHIFT 1
236 #define OMAP4430_DPLL_MPU_RECAL_ST_MASK (1 << 1)
238 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
239 #define OMAP4430_DPLL_PER_RECAL_EN_SHIFT 3
240 #define OMAP4430_DPLL_PER_RECAL_EN_MASK (1 << 3)
242 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
243 #define OMAP4430_DPLL_PER_RECAL_ST_SHIFT 3
244 #define OMAP4430_DPLL_PER_RECAL_ST_MASK (1 << 3)
246 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
247 #define OMAP4430_DPLL_UNIPRO_RECAL_EN_SHIFT 7
248 #define OMAP4430_DPLL_UNIPRO_RECAL_EN_MASK (1 << 7)
250 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
251 #define OMAP4430_DPLL_UNIPRO_RECAL_ST_SHIFT 7
252 #define OMAP4430_DPLL_UNIPRO_RECAL_ST_MASK (1 << 7)
254 /* Used by PM_DSS_PWRSTCTRL */
255 #define OMAP4430_DSS_MEM_ONSTATE_SHIFT 16
256 #define OMAP4430_DSS_MEM_ONSTATE_MASK (0x3 << 16)
258 /* Used by PM_DSS_PWRSTCTRL */
259 #define OMAP4430_DSS_MEM_RETSTATE_SHIFT 8
260 #define OMAP4430_DSS_MEM_RETSTATE_MASK (1 << 8)
262 /* Used by PM_DSS_PWRSTST */
263 #define OMAP4430_DSS_MEM_STATEST_SHIFT 4
264 #define OMAP4430_DSS_MEM_STATEST_MASK (0x3 << 4)
266 /* Used by PM_CORE_PWRSTCTRL */
267 #define OMAP4430_DUCATI_L2RAM_ONSTATE_SHIFT 20
268 #define OMAP4430_DUCATI_L2RAM_ONSTATE_MASK (0x3 << 20)
270 /* Used by PM_CORE_PWRSTCTRL */
271 #define OMAP4430_DUCATI_L2RAM_RETSTATE_SHIFT 10
272 #define OMAP4430_DUCATI_L2RAM_RETSTATE_MASK (1 << 10)
274 /* Used by PM_CORE_PWRSTST */
275 #define OMAP4430_DUCATI_L2RAM_STATEST_SHIFT 8
276 #define OMAP4430_DUCATI_L2RAM_STATEST_MASK (0x3 << 8)
278 /* Used by PM_CORE_PWRSTCTRL */
279 #define OMAP4430_DUCATI_UNICACHE_ONSTATE_SHIFT 22
280 #define OMAP4430_DUCATI_UNICACHE_ONSTATE_MASK (0x3 << 22)
282 /* Used by PM_CORE_PWRSTCTRL */
283 #define OMAP4430_DUCATI_UNICACHE_RETSTATE_SHIFT 11
284 #define OMAP4430_DUCATI_UNICACHE_RETSTATE_MASK (1 << 11)
286 /* Used by PM_CORE_PWRSTST */
287 #define OMAP4430_DUCATI_UNICACHE_STATEST_SHIFT 10
288 #define OMAP4430_DUCATI_UNICACHE_STATEST_MASK (0x3 << 10)
290 /* Used by PRM_DEVICE_OFF_CTRL */
291 #define OMAP4460_EMIF1_OFFWKUP_DISABLE_SHIFT 8
292 #define OMAP4460_EMIF1_OFFWKUP_DISABLE_MASK (1 << 8)
294 /* Used by PRM_DEVICE_OFF_CTRL */
295 #define OMAP4460_EMIF2_OFFWKUP_DISABLE_SHIFT 9
296 #define OMAP4460_EMIF2_OFFWKUP_DISABLE_MASK (1 << 9)
298 /* Used by RM_MPU_RSTST */
299 #define OMAP4430_EMULATION_RST_SHIFT 0
300 #define OMAP4430_EMULATION_RST_MASK (1 << 0)
302 /* Used by RM_DUCATI_RSTST */
303 #define OMAP4430_EMULATION_RST1ST_SHIFT 3
304 #define OMAP4430_EMULATION_RST1ST_MASK (1 << 3)
306 /* Used by RM_DUCATI_RSTST */
307 #define OMAP4430_EMULATION_RST2ST_SHIFT 4
308 #define OMAP4430_EMULATION_RST2ST_MASK (1 << 4)
310 /* Used by RM_IVAHD_RSTST */
311 #define OMAP4430_EMULATION_SEQ1_RST1ST_SHIFT 3
312 #define OMAP4430_EMULATION_SEQ1_RST1ST_MASK (1 << 3)
314 /* Used by RM_IVAHD_RSTST */
315 #define OMAP4430_EMULATION_SEQ2_RST2ST_SHIFT 4
316 #define OMAP4430_EMULATION_SEQ2_RST2ST_MASK (1 << 4)
318 /* Used by PM_EMU_PWRSTCTRL */
319 #define OMAP4430_EMU_BANK_ONSTATE_SHIFT 16
320 #define OMAP4430_EMU_BANK_ONSTATE_MASK (0x3 << 16)
322 /* Used by PM_EMU_PWRSTST */
323 #define OMAP4430_EMU_BANK_STATEST_SHIFT 4
324 #define OMAP4430_EMU_BANK_STATEST_MASK (0x3 << 4)
327 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
328 * PRM_LDO_SRAM_MPU_SETUP
330 #define OMAP4430_ENFUNC1_EXPORT_SHIFT 3
331 #define OMAP4430_ENFUNC1_EXPORT_MASK (1 << 3)
334 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
335 * PRM_LDO_SRAM_MPU_SETUP
337 #define OMAP4430_ENFUNC3_EXPORT_SHIFT 5
338 #define OMAP4430_ENFUNC3_EXPORT_MASK (1 << 5)
341 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
342 * PRM_LDO_SRAM_MPU_SETUP
344 #define OMAP4430_ENFUNC4_SHIFT 6
345 #define OMAP4430_ENFUNC4_MASK (1 << 6)
348 * Used by PRM_LDO_SRAM_CORE_SETUP, PRM_LDO_SRAM_IVA_SETUP,
349 * PRM_LDO_SRAM_MPU_SETUP
351 #define OMAP4430_ENFUNC5_SHIFT 7
352 #define OMAP4430_ENFUNC5_MASK (1 << 7)
354 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
355 #define OMAP4430_ERRORGAIN_SHIFT 16
356 #define OMAP4430_ERRORGAIN_MASK (0xff << 16)
358 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
359 #define OMAP4430_ERROROFFSET_SHIFT 24
360 #define OMAP4430_ERROROFFSET_MASK (0xff << 24)
362 /* Used by PRM_RSTST */
363 #define OMAP4430_EXTERNAL_WARM_RST_SHIFT 5
364 #define OMAP4430_EXTERNAL_WARM_RST_MASK (1 << 5)
366 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
367 #define OMAP4430_FORCEUPDATE_SHIFT 1
368 #define OMAP4430_FORCEUPDATE_MASK (1 << 1)
370 /* Used by PRM_VP_CORE_VOLTAGE, PRM_VP_IVA_VOLTAGE, PRM_VP_MPU_VOLTAGE */
371 #define OMAP4430_FORCEUPDATEWAIT_SHIFT 8
372 #define OMAP4430_FORCEUPDATEWAIT_MASK (0xffffff << 8)
374 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_TESLA */
375 #define OMAP4430_FORCEWKUP_EN_SHIFT 10
376 #define OMAP4430_FORCEWKUP_EN_MASK (1 << 10)
378 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_TESLA */
379 #define OMAP4430_FORCEWKUP_ST_SHIFT 10
380 #define OMAP4430_FORCEWKUP_ST_MASK (1 << 10)
382 /* Used by REVISION_PRM */
383 #define OMAP4430_FUNC_SHIFT 16
384 #define OMAP4430_FUNC_MASK (0xfff << 16)
386 /* Used by PM_GFX_PWRSTCTRL */
387 #define OMAP4430_GFX_MEM_ONSTATE_SHIFT 16
388 #define OMAP4430_GFX_MEM_ONSTATE_MASK (0x3 << 16)
390 /* Used by PM_GFX_PWRSTST */
391 #define OMAP4430_GFX_MEM_STATEST_SHIFT 4
392 #define OMAP4430_GFX_MEM_STATEST_MASK (0x3 << 4)
394 /* Used by PRM_RSTST */
395 #define OMAP4430_GLOBAL_COLD_RST_SHIFT 0
396 #define OMAP4430_GLOBAL_COLD_RST_MASK (1 << 0)
398 /* Used by PRM_RSTST */
399 #define OMAP4430_GLOBAL_WARM_SW_RST_SHIFT 1
400 #define OMAP4430_GLOBAL_WARM_SW_RST_MASK (1 << 1)
402 /* Used by PRM_IO_PMCTRL */
403 #define OMAP4430_GLOBAL_WUEN_SHIFT 16
404 #define OMAP4430_GLOBAL_WUEN_MASK (1 << 16)
405 #define OMAP4430_ISOOVR_EXTEND_SHIFT 4
406 #define OMAP4430_ISOOVR_EXTEND_MASK (1 << 4)
408 /* Used by PRM_VC_CFG_I2C_MODE */
409 #define OMAP4430_HSMCODE_SHIFT 0
410 #define OMAP4430_HSMCODE_MASK (0x7 << 0)
412 /* Used by PRM_VC_CFG_I2C_MODE */
413 #define OMAP4430_HSMODEEN_SHIFT 3
414 #define OMAP4430_HSMODEEN_MASK (1 << 3)
416 /* Used by PRM_VC_CFG_I2C_CLK */
417 #define OMAP4430_HSSCLH_SHIFT 16
418 #define OMAP4430_HSSCLH_MASK (0xff << 16)
420 /* Used by PRM_VC_CFG_I2C_CLK */
421 #define OMAP4430_HSSCLL_SHIFT 24
422 #define OMAP4430_HSSCLL_MASK (0xff << 24)
424 /* Used by PM_IVAHD_PWRSTCTRL */
425 #define OMAP4430_HWA_MEM_ONSTATE_SHIFT 16
426 #define OMAP4430_HWA_MEM_ONSTATE_MASK (0x3 << 16)
428 /* Used by PM_IVAHD_PWRSTCTRL */
429 #define OMAP4430_HWA_MEM_RETSTATE_SHIFT 8
430 #define OMAP4430_HWA_MEM_RETSTATE_MASK (1 << 8)
432 /* Used by PM_IVAHD_PWRSTST */
433 #define OMAP4430_HWA_MEM_STATEST_SHIFT 4
434 #define OMAP4430_HWA_MEM_STATEST_MASK (0x3 << 4)
436 /* Used by RM_MPU_RSTST */
437 #define OMAP4430_ICECRUSHER_MPU_RST_SHIFT 1
438 #define OMAP4430_ICECRUSHER_MPU_RST_MASK (1 << 1)
440 /* Used by RM_DUCATI_RSTST */
441 #define OMAP4430_ICECRUSHER_RST1ST_SHIFT 5
442 #define OMAP4430_ICECRUSHER_RST1ST_MASK (1 << 5)
444 /* Used by RM_DUCATI_RSTST */
445 #define OMAP4430_ICECRUSHER_RST2ST_SHIFT 6
446 #define OMAP4430_ICECRUSHER_RST2ST_MASK (1 << 6)
448 /* Used by RM_IVAHD_RSTST */
449 #define OMAP4430_ICECRUSHER_SEQ1_RST1ST_SHIFT 5
450 #define OMAP4430_ICECRUSHER_SEQ1_RST1ST_MASK (1 << 5)
452 /* Used by RM_IVAHD_RSTST */
453 #define OMAP4430_ICECRUSHER_SEQ2_RST2ST_SHIFT 6
454 #define OMAP4430_ICECRUSHER_SEQ2_RST2ST_MASK (1 << 6)
456 /* Used by PRM_RSTST */
457 #define OMAP4430_ICEPICK_RST_SHIFT 9
458 #define OMAP4430_ICEPICK_RST_MASK (1 << 9)
460 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
461 #define OMAP4430_INITVDD_SHIFT 2
462 #define OMAP4430_INITVDD_MASK (1 << 2)
464 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
465 #define OMAP4430_INITVOLTAGE_SHIFT 8
466 #define OMAP4430_INITVOLTAGE_MASK (0xff << 8)
469 * Used by PM_ABE_PWRSTST, PM_CAM_PWRSTST, PM_CEFUSE_PWRSTST, PM_CORE_PWRSTST,
470 * PM_DSS_PWRSTST, PM_EMU_PWRSTST, PM_GFX_PWRSTST, PM_IVAHD_PWRSTST,
471 * PM_L3INIT_PWRSTST, PM_L4PER_PWRSTST, PM_MPU_PWRSTST, PM_TESLA_PWRSTST
473 #define OMAP4430_INTRANSITION_SHIFT 20
474 #define OMAP4430_INTRANSITION_MASK (1 << 20)
476 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
477 #define OMAP4430_IO_EN_SHIFT 9
478 #define OMAP4430_IO_EN_MASK (1 << 9)
480 /* Used by PRM_IO_PMCTRL */
481 #define OMAP4430_IO_ON_STATUS_SHIFT 5
482 #define OMAP4430_IO_ON_STATUS_MASK (1 << 5)
484 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
485 #define OMAP4430_IO_ST_SHIFT 9
486 #define OMAP4430_IO_ST_MASK (1 << 9)
488 /* Used by PRM_IO_PMCTRL */
489 #define OMAP4430_ISOCLK_OVERRIDE_SHIFT 0
490 #define OMAP4430_ISOCLK_OVERRIDE_MASK (1 << 0)
492 /* Used by PRM_IO_PMCTRL */
493 #define OMAP4430_ISOCLK_STATUS_SHIFT 1
494 #define OMAP4430_ISOCLK_STATUS_MASK (1 << 1)
496 /* Used by PRM_IO_PMCTRL */
497 #define OMAP4430_ISOOVR_EXTEND_SHIFT 4
498 #define OMAP4430_ISOOVR_EXTEND_MASK (1 << 4)
500 /* Used by PRM_IO_COUNT */
501 #define OMAP4430_ISO_2_ON_TIME_SHIFT 0
502 #define OMAP4430_ISO_2_ON_TIME_MASK (0xff << 0)
504 /* Used by PM_L3INIT_PWRSTCTRL */
505 #define OMAP4430_L3INIT_BANK1_ONSTATE_SHIFT 16
506 #define OMAP4430_L3INIT_BANK1_ONSTATE_MASK (0x3 << 16)
508 /* Used by PM_L3INIT_PWRSTCTRL */
509 #define OMAP4430_L3INIT_BANK1_RETSTATE_SHIFT 8
510 #define OMAP4430_L3INIT_BANK1_RETSTATE_MASK (1 << 8)
512 /* Used by PM_L3INIT_PWRSTST */
513 #define OMAP4430_L3INIT_BANK1_STATEST_SHIFT 4
514 #define OMAP4430_L3INIT_BANK1_STATEST_MASK (0x3 << 4)
517 * Used by PM_ABE_PWRSTST, PM_CORE_PWRSTST, PM_IVAHD_PWRSTST,
518 * PM_L3INIT_PWRSTST, PM_L4PER_PWRSTST, PM_MPU_PWRSTST, PM_TESLA_PWRSTST
520 #define OMAP4430_LASTPOWERSTATEENTERED_SHIFT 24
521 #define OMAP4430_LASTPOWERSTATEENTERED_MASK (0x3 << 24)
524 * Used by PM_ABE_PWRSTCTRL, PM_CORE_PWRSTCTRL, PM_DSS_PWRSTCTRL,
525 * PM_IVAHD_PWRSTCTRL, PM_L3INIT_PWRSTCTRL, PM_L4PER_PWRSTCTRL,
526 * PM_MPU_PWRSTCTRL, PM_TESLA_PWRSTCTRL
528 #define OMAP4430_LOGICRETSTATE_SHIFT 2
529 #define OMAP4430_LOGICRETSTATE_MASK (1 << 2)
532 * Used by PM_ABE_PWRSTST, PM_CAM_PWRSTST, PM_CEFUSE_PWRSTST, PM_CORE_PWRSTST,
533 * PM_DSS_PWRSTST, PM_EMU_PWRSTST, PM_GFX_PWRSTST, PM_IVAHD_PWRSTST,
534 * PM_L3INIT_PWRSTST, PM_L4PER_PWRSTST, PM_MPU_PWRSTST, PM_TESLA_PWRSTST
536 #define OMAP4430_LOGICSTATEST_SHIFT 2
537 #define OMAP4430_LOGICSTATEST_MASK (1 << 2)
540 * Used by RM_ABE_AESS_CONTEXT, RM_ABE_DMIC_CONTEXT, RM_ABE_MCASP_CONTEXT,
541 * RM_ABE_MCBSP1_CONTEXT, RM_ABE_MCBSP2_CONTEXT, RM_ABE_MCBSP3_CONTEXT,
542 * RM_ABE_PDM_CONTEXT, RM_ABE_SLIMBUS_CONTEXT, RM_ABE_TIMER5_CONTEXT,
543 * RM_ABE_TIMER6_CONTEXT, RM_ABE_TIMER7_CONTEXT, RM_ABE_TIMER8_CONTEXT,
544 * RM_ABE_WDT3_CONTEXT, RM_ALWON_MDMINTC_CONTEXT, RM_ALWON_SR_CORE_CONTEXT,
545 * RM_ALWON_SR_IVA_CONTEXT, RM_ALWON_SR_MPU_CONTEXT, RM_CAM_FDIF_CONTEXT,
546 * RM_CAM_ISS_CONTEXT, RM_CEFUSE_CEFUSE_CONTEXT, RM_D2D_SAD2D_CONTEXT,
547 * RM_D2D_SAD2D_FW_CONTEXT, RM_DSS_DEISS_CONTEXT, RM_DSS_DSS_CONTEXT,
548 * RM_DUCATI_DUCATI_CONTEXT, RM_EMU_DEBUGSS_CONTEXT, RM_GFX_GFX_CONTEXT,
549 * RM_IVAHD_IVAHD_CONTEXT, RM_IVAHD_SL2_CONTEXT, RM_L3INIT_CCPTX_CONTEXT,
550 * RM_L3INIT_EMAC_CONTEXT, RM_L3INIT_P1500_CONTEXT, RM_L3INIT_PCIESS_CONTEXT,
551 * RM_L3INIT_SATA_CONTEXT, RM_L3INIT_TPPSS_CONTEXT, RM_L3INIT_UNIPRO1_CONTEXT,
552 * RM_L3INIT_USBPHYOCP2SCP_CONTEXT, RM_L3INIT_XHPI_CONTEXT,
553 * RM_L3INSTR_L3_3_CONTEXT, RM_L3INSTR_L3_INSTR_CONTEXT,
554 * RM_L3INSTR_OCP_WP1_CONTEXT, RM_L3_1_L3_1_CONTEXT, RM_L3_2_L3_2_CONTEXT,
555 * RM_L3_2_OCMC_RAM_CONTEXT, RM_L4CFG_L4_CFG_CONTEXT, RM_L4CFG_SAR_ROM_CONTEXT,
556 * RM_L4PER_ADC_CONTEXT, RM_L4PER_DMTIMER10_CONTEXT,
557 * RM_L4PER_DMTIMER11_CONTEXT, RM_L4PER_DMTIMER2_CONTEXT,
558 * RM_L4PER_DMTIMER3_CONTEXT, RM_L4PER_DMTIMER4_CONTEXT,
559 * RM_L4PER_DMTIMER9_CONTEXT, RM_L4PER_ELM_CONTEXT, RM_L4PER_HDQ1W_CONTEXT,
560 * RM_L4PER_HECC1_CONTEXT, RM_L4PER_HECC2_CONTEXT, RM_L4PER_I2C2_CONTEXT,
561 * RM_L4PER_I2C3_CONTEXT, RM_L4PER_I2C4_CONTEXT, RM_L4PER_I2C5_CONTEXT,
562 * RM_L4PER_L4_PER_CONTEXT, RM_L4PER_MCASP2_CONTEXT, RM_L4PER_MCASP3_CONTEXT,
563 * RM_L4PER_MCBSP4_CONTEXT, RM_L4PER_MCSPI1_CONTEXT, RM_L4PER_MCSPI2_CONTEXT,
564 * RM_L4PER_MCSPI3_CONTEXT, RM_L4PER_MCSPI4_CONTEXT, RM_L4PER_MGATE_CONTEXT,
565 * RM_L4PER_MMCSD3_CONTEXT, RM_L4PER_MMCSD4_CONTEXT, RM_L4PER_MMCSD5_CONTEXT,
566 * RM_L4PER_MSPROHG_CONTEXT, RM_L4PER_SLIMBUS2_CONTEXT,
567 * RM_L4SEC_PKAEIP29_CONTEXT, RM_MEMIF_DLL_CONTEXT, RM_MEMIF_DLL_H_CONTEXT,
568 * RM_MEMIF_DMM_CONTEXT, RM_MEMIF_EMIF_1_CONTEXT, RM_MEMIF_EMIF_2_CONTEXT,
569 * RM_MEMIF_EMIF_FW_CONTEXT, RM_MPU_MPU_CONTEXT, RM_TESLA_TESLA_CONTEXT,
570 * RM_WKUP_GPIO1_CONTEXT, RM_WKUP_KEYBOARD_CONTEXT, RM_WKUP_L4WKUP_CONTEXT,
571 * RM_WKUP_RTC_CONTEXT, RM_WKUP_SARRAM_CONTEXT, RM_WKUP_SYNCTIMER_CONTEXT,
572 * RM_WKUP_TIMER12_CONTEXT, RM_WKUP_TIMER1_CONTEXT, RM_WKUP_USIM_CONTEXT,
573 * RM_WKUP_WDT1_CONTEXT, RM_WKUP_WDT2_CONTEXT
575 #define OMAP4430_LOSTCONTEXT_DFF_SHIFT 0
576 #define OMAP4430_LOSTCONTEXT_DFF_MASK (1 << 0)
579 * Used by RM_D2D_MODEM_ICR_CONTEXT, RM_D2D_SAD2D_CONTEXT,
580 * RM_D2D_SAD2D_FW_CONTEXT, RM_DSS_DSS_CONTEXT, RM_DUCATI_DUCATI_CONTEXT,
581 * RM_L3INIT_HSI_CONTEXT, RM_L3INIT_MMC1_CONTEXT, RM_L3INIT_MMC2_CONTEXT,
582 * RM_L3INIT_MMC6_CONTEXT, RM_L3INIT_USB_HOST_CONTEXT,
583 * RM_L3INIT_USB_HOST_FS_CONTEXT, RM_L3INIT_USB_OTG_CONTEXT,
584 * RM_L3INIT_USB_TLL_CONTEXT, RM_L3INSTR_L3_3_CONTEXT,
585 * RM_L3INSTR_OCP_WP1_CONTEXT, RM_L3_1_L3_1_CONTEXT, RM_L3_2_GPMC_CONTEXT,
586 * RM_L3_2_L3_2_CONTEXT, RM_L4CFG_HW_SEM_CONTEXT, RM_L4CFG_L4_CFG_CONTEXT,
587 * RM_L4CFG_MAILBOX_CONTEXT, RM_L4PER_GPIO2_CONTEXT, RM_L4PER_GPIO3_CONTEXT,
588 * RM_L4PER_GPIO4_CONTEXT, RM_L4PER_GPIO5_CONTEXT, RM_L4PER_GPIO6_CONTEXT,
589 * RM_L4PER_I2C1_CONTEXT, RM_L4PER_L4_PER_CONTEXT, RM_L4PER_UART1_CONTEXT,
590 * RM_L4PER_UART2_CONTEXT, RM_L4PER_UART3_CONTEXT, RM_L4PER_UART4_CONTEXT,
591 * RM_L4SEC_AES1_CONTEXT, RM_L4SEC_AES2_CONTEXT, RM_L4SEC_CRYPTODMA_CONTEXT,
592 * RM_L4SEC_DES3DES_CONTEXT, RM_L4SEC_RNG_CONTEXT, RM_L4SEC_SHA2MD51_CONTEXT,
593 * RM_MEMIF_DMM_CONTEXT, RM_MEMIF_EMIF_1_CONTEXT, RM_MEMIF_EMIF_2_CONTEXT,
594 * RM_MEMIF_EMIF_FW_CONTEXT, RM_MEMIF_EMIF_H1_CONTEXT,
595 * RM_MEMIF_EMIF_H2_CONTEXT, RM_SDMA_SDMA_CONTEXT, RM_TESLA_TESLA_CONTEXT
597 #define OMAP4430_LOSTCONTEXT_RFF_SHIFT 1
598 #define OMAP4430_LOSTCONTEXT_RFF_MASK (1 << 1)
600 /* Used by RM_ABE_AESS_CONTEXT */
601 #define OMAP4430_LOSTMEM_AESSMEM_SHIFT 8
602 #define OMAP4430_LOSTMEM_AESSMEM_MASK (1 << 8)
604 /* Used by RM_CAM_FDIF_CONTEXT, RM_CAM_ISS_CONTEXT */
605 #define OMAP4430_LOSTMEM_CAM_MEM_SHIFT 8
606 #define OMAP4430_LOSTMEM_CAM_MEM_MASK (1 << 8)
608 /* Used by RM_L3INSTR_OCP_WP1_CONTEXT */
609 #define OMAP4430_LOSTMEM_CORE_NRET_BANK_SHIFT 8
610 #define OMAP4430_LOSTMEM_CORE_NRET_BANK_MASK (1 << 8)
612 /* Renamed from LOSTMEM_CORE_NRET_BANK Used by RM_MEMIF_DMM_CONTEXT */
613 #define OMAP4430_LOSTMEM_CORE_NRET_BANK_9_9_SHIFT 9
614 #define OMAP4430_LOSTMEM_CORE_NRET_BANK_9_9_MASK (1 << 9)
616 /* Used by RM_L3_2_OCMC_RAM_CONTEXT */
617 #define OMAP4430_LOSTMEM_CORE_OCMRAM_SHIFT 8
618 #define OMAP4430_LOSTMEM_CORE_OCMRAM_MASK (1 << 8)
621 * Used by RM_D2D_MODEM_ICR_CONTEXT, RM_MEMIF_DMM_CONTEXT,
622 * RM_SDMA_SDMA_CONTEXT
624 #define OMAP4430_LOSTMEM_CORE_OTHER_BANK_SHIFT 8
625 #define OMAP4430_LOSTMEM_CORE_OTHER_BANK_MASK (1 << 8)
627 /* Used by RM_DSS_DEISS_CONTEXT, RM_DSS_DSS_CONTEXT */
628 #define OMAP4430_LOSTMEM_DSS_MEM_SHIFT 8
629 #define OMAP4430_LOSTMEM_DSS_MEM_MASK (1 << 8)
631 /* Used by RM_DUCATI_DUCATI_CONTEXT */
632 #define OMAP4430_LOSTMEM_DUCATI_L2RAM_SHIFT 9
633 #define OMAP4430_LOSTMEM_DUCATI_L2RAM_MASK (1 << 9)
635 /* Used by RM_DUCATI_DUCATI_CONTEXT */
636 #define OMAP4430_LOSTMEM_DUCATI_UNICACHE_SHIFT 8
637 #define OMAP4430_LOSTMEM_DUCATI_UNICACHE_MASK (1 << 8)
639 /* Used by RM_EMU_DEBUGSS_CONTEXT */
640 #define OMAP4430_LOSTMEM_EMU_BANK_SHIFT 8
641 #define OMAP4430_LOSTMEM_EMU_BANK_MASK (1 << 8)
643 /* Used by RM_GFX_GFX_CONTEXT */
644 #define OMAP4430_LOSTMEM_GFX_MEM_SHIFT 8
645 #define OMAP4430_LOSTMEM_GFX_MEM_MASK (1 << 8)
647 /* Used by RM_IVAHD_IVAHD_CONTEXT */
648 #define OMAP4430_LOSTMEM_HWA_MEM_SHIFT 10
649 #define OMAP4430_LOSTMEM_HWA_MEM_MASK (1 << 10)
652 * Used by RM_L3INIT_CCPTX_CONTEXT, RM_L3INIT_EMAC_CONTEXT,
653 * RM_L3INIT_HSI_CONTEXT, RM_L3INIT_MMC1_CONTEXT, RM_L3INIT_MMC2_CONTEXT,
654 * RM_L3INIT_MMC6_CONTEXT, RM_L3INIT_PCIESS_CONTEXT, RM_L3INIT_SATA_CONTEXT,
655 * RM_L3INIT_TPPSS_CONTEXT, RM_L3INIT_UNIPRO1_CONTEXT,
656 * RM_L3INIT_USB_OTG_CONTEXT, RM_L3INIT_XHPI_CONTEXT
658 #define OMAP4430_LOSTMEM_L3INIT_BANK1_SHIFT 8
659 #define OMAP4430_LOSTMEM_L3INIT_BANK1_MASK (1 << 8)
661 /* Used by RM_MPU_MPU_CONTEXT */
662 #define OMAP4430_LOSTMEM_MPU_L1_SHIFT 8
663 #define OMAP4430_LOSTMEM_MPU_L1_MASK (1 << 8)
665 /* Used by RM_MPU_MPU_CONTEXT */
666 #define OMAP4430_LOSTMEM_MPU_L2_SHIFT 9
667 #define OMAP4430_LOSTMEM_MPU_L2_MASK (1 << 9)
669 /* Used by RM_MPU_MPU_CONTEXT */
670 #define OMAP4430_LOSTMEM_MPU_RAM_SHIFT 10
671 #define OMAP4430_LOSTMEM_MPU_RAM_MASK (1 << 10)
674 * Used by RM_L4PER_HECC1_CONTEXT, RM_L4PER_HECC2_CONTEXT,
675 * RM_L4PER_MCBSP4_CONTEXT, RM_L4PER_MMCSD3_CONTEXT, RM_L4PER_MMCSD4_CONTEXT,
676 * RM_L4PER_MMCSD5_CONTEXT, RM_L4PER_SLIMBUS2_CONTEXT, RM_L4SEC_PKAEIP29_CONTEXT
678 #define OMAP4430_LOSTMEM_NONRETAINED_BANK_SHIFT 8
679 #define OMAP4430_LOSTMEM_NONRETAINED_BANK_MASK (1 << 8)
682 * Used by RM_ABE_DMIC_CONTEXT, RM_ABE_MCBSP1_CONTEXT, RM_ABE_MCBSP2_CONTEXT,
683 * RM_ABE_MCBSP3_CONTEXT, RM_ABE_PDM_CONTEXT, RM_ABE_SLIMBUS_CONTEXT
685 #define OMAP4430_LOSTMEM_PERIHPMEM_SHIFT 8
686 #define OMAP4430_LOSTMEM_PERIHPMEM_MASK (1 << 8)
689 * Used by RM_L4PER_MSPROHG_CONTEXT, RM_L4PER_UART1_CONTEXT,
690 * RM_L4PER_UART2_CONTEXT, RM_L4PER_UART3_CONTEXT, RM_L4PER_UART4_CONTEXT,
691 * RM_L4SEC_CRYPTODMA_CONTEXT
693 #define OMAP4430_LOSTMEM_RETAINED_BANK_SHIFT 8
694 #define OMAP4430_LOSTMEM_RETAINED_BANK_MASK (1 << 8)
696 /* Used by RM_IVAHD_SL2_CONTEXT */
697 #define OMAP4430_LOSTMEM_SL2_MEM_SHIFT 8
698 #define OMAP4430_LOSTMEM_SL2_MEM_MASK (1 << 8)
700 /* Used by RM_IVAHD_IVAHD_CONTEXT */
701 #define OMAP4430_LOSTMEM_TCM1_MEM_SHIFT 8
702 #define OMAP4430_LOSTMEM_TCM1_MEM_MASK (1 << 8)
704 /* Used by RM_IVAHD_IVAHD_CONTEXT */
705 #define OMAP4430_LOSTMEM_TCM2_MEM_SHIFT 9
706 #define OMAP4430_LOSTMEM_TCM2_MEM_MASK (1 << 9)
708 /* Used by RM_TESLA_TESLA_CONTEXT */
709 #define OMAP4430_LOSTMEM_TESLA_EDMA_SHIFT 10
710 #define OMAP4430_LOSTMEM_TESLA_EDMA_MASK (1 << 10)
712 /* Used by RM_TESLA_TESLA_CONTEXT */
713 #define OMAP4430_LOSTMEM_TESLA_L1_SHIFT 8
714 #define OMAP4430_LOSTMEM_TESLA_L1_MASK (1 << 8)
716 /* Used by RM_TESLA_TESLA_CONTEXT */
717 #define OMAP4430_LOSTMEM_TESLA_L2_SHIFT 9
718 #define OMAP4430_LOSTMEM_TESLA_L2_MASK (1 << 9)
720 /* Used by RM_WKUP_SARRAM_CONTEXT */
721 #define OMAP4430_LOSTMEM_WKUP_BANK_SHIFT 8
722 #define OMAP4430_LOSTMEM_WKUP_BANK_MASK (1 << 8)
725 * Used by PM_ABE_PWRSTCTRL, PM_CAM_PWRSTCTRL, PM_CEFUSE_PWRSTCTRL,
726 * PM_CORE_PWRSTCTRL, PM_DSS_PWRSTCTRL, PM_GFX_PWRSTCTRL, PM_IVAHD_PWRSTCTRL,
727 * PM_L3INIT_PWRSTCTRL, PM_L4PER_PWRSTCTRL, PM_MPU_PWRSTCTRL, PM_TESLA_PWRSTCTRL
729 #define OMAP4430_LOWPOWERSTATECHANGE_SHIFT 4
730 #define OMAP4430_LOWPOWERSTATECHANGE_MASK (1 << 4)
732 /* Used by PRM_MODEM_IF_CTRL */
733 #define OMAP4430_MODEM_READY_SHIFT 1
734 #define OMAP4430_MODEM_READY_MASK (1 << 1)
736 /* Used by PRM_MODEM_IF_CTRL */
737 #define OMAP4430_MODEM_SHUTDOWN_IRQ_SHIFT 9
738 #define OMAP4430_MODEM_SHUTDOWN_IRQ_MASK (1 << 9)
740 /* Used by PRM_MODEM_IF_CTRL */
741 #define OMAP4430_MODEM_SLEEP_ST_SHIFT 16
742 #define OMAP4430_MODEM_SLEEP_ST_MASK (1 << 16)
744 /* Used by PRM_MODEM_IF_CTRL */
745 #define OMAP4430_MODEM_WAKE_IRQ_SHIFT 8
746 #define OMAP4430_MODEM_WAKE_IRQ_MASK (1 << 8)
748 /* Used by PM_MPU_PWRSTCTRL */
749 #define OMAP4430_MPU_L1_ONSTATE_SHIFT 16
750 #define OMAP4430_MPU_L1_ONSTATE_MASK (0x3 << 16)
752 /* Used by PM_MPU_PWRSTCTRL */
753 #define OMAP4430_MPU_L1_RETSTATE_SHIFT 8
754 #define OMAP4430_MPU_L1_RETSTATE_MASK (1 << 8)
756 /* Used by PM_MPU_PWRSTST */
757 #define OMAP4430_MPU_L1_STATEST_SHIFT 4
758 #define OMAP4430_MPU_L1_STATEST_MASK (0x3 << 4)
760 /* Used by PM_MPU_PWRSTCTRL */
761 #define OMAP4430_MPU_L2_ONSTATE_SHIFT 18
762 #define OMAP4430_MPU_L2_ONSTATE_MASK (0x3 << 18)
764 /* Used by PM_MPU_PWRSTCTRL */
765 #define OMAP4430_MPU_L2_RETSTATE_SHIFT 9
766 #define OMAP4430_MPU_L2_RETSTATE_MASK (1 << 9)
768 /* Used by PM_MPU_PWRSTST */
769 #define OMAP4430_MPU_L2_STATEST_SHIFT 6
770 #define OMAP4430_MPU_L2_STATEST_MASK (0x3 << 6)
772 /* Used by PM_MPU_PWRSTCTRL */
773 #define OMAP4430_MPU_RAM_ONSTATE_SHIFT 20
774 #define OMAP4430_MPU_RAM_ONSTATE_MASK (0x3 << 20)
776 /* Used by PM_MPU_PWRSTCTRL */
777 #define OMAP4430_MPU_RAM_RETSTATE_SHIFT 10
778 #define OMAP4430_MPU_RAM_RETSTATE_MASK (1 << 10)
780 /* Used by PM_MPU_PWRSTST */
781 #define OMAP4430_MPU_RAM_STATEST_SHIFT 8
782 #define OMAP4430_MPU_RAM_STATEST_MASK (0x3 << 8)
784 /* Used by PRM_RSTST */
785 #define OMAP4430_MPU_SECURITY_VIOL_RST_SHIFT 2
786 #define OMAP4430_MPU_SECURITY_VIOL_RST_MASK (1 << 2)
788 /* Used by PRM_RSTST */
789 #define OMAP4430_MPU_WDT_RST_SHIFT 3
790 #define OMAP4430_MPU_WDT_RST_MASK (1 << 3)
792 /* Used by PM_L4PER_PWRSTCTRL */
793 #define OMAP4430_NONRETAINED_BANK_ONSTATE_SHIFT 18
794 #define OMAP4430_NONRETAINED_BANK_ONSTATE_MASK (0x3 << 18)
796 /* Used by PM_L4PER_PWRSTCTRL */
797 #define OMAP4430_NONRETAINED_BANK_RETSTATE_SHIFT 9
798 #define OMAP4430_NONRETAINED_BANK_RETSTATE_MASK (1 << 9)
800 /* Used by PM_L4PER_PWRSTST */
801 #define OMAP4430_NONRETAINED_BANK_STATEST_SHIFT 6
802 #define OMAP4430_NONRETAINED_BANK_STATEST_MASK (0x3 << 6)
804 /* Used by PM_CORE_PWRSTCTRL */
805 #define OMAP4430_OCP_NRET_BANK_ONSTATE_SHIFT 24
806 #define OMAP4430_OCP_NRET_BANK_ONSTATE_MASK (0x3 << 24)
808 /* Used by PM_CORE_PWRSTCTRL */
809 #define OMAP4430_OCP_NRET_BANK_RETSTATE_SHIFT 12
810 #define OMAP4430_OCP_NRET_BANK_RETSTATE_MASK (1 << 12)
812 /* Used by PM_CORE_PWRSTST */
813 #define OMAP4430_OCP_NRET_BANK_STATEST_SHIFT 12
814 #define OMAP4430_OCP_NRET_BANK_STATEST_MASK (0x3 << 12)
817 * Used by PRM_VC_VAL_CMD_VDD_CORE_L, PRM_VC_VAL_CMD_VDD_IVA_L,
818 * PRM_VC_VAL_CMD_VDD_MPU_L
820 #define OMAP4430_OFF_SHIFT 0
821 #define OMAP4430_OFF_MASK (0xff << 0)
824 * Used by PRM_VC_VAL_CMD_VDD_CORE_L, PRM_VC_VAL_CMD_VDD_IVA_L,
825 * PRM_VC_VAL_CMD_VDD_MPU_L
827 #define OMAP4430_ON_SHIFT 24
828 #define OMAP4430_ON_MASK (0xff << 24)
831 * Used by PRM_VC_VAL_CMD_VDD_CORE_L, PRM_VC_VAL_CMD_VDD_IVA_L,
832 * PRM_VC_VAL_CMD_VDD_MPU_L
834 #define OMAP4430_ONLP_SHIFT 16
835 #define OMAP4430_ONLP_MASK (0xff << 16)
837 /* Used by PRM_LDO_ABB_IVA_CTRL, PRM_LDO_ABB_MPU_CTRL */
838 #define OMAP4430_OPP_CHANGE_SHIFT 2
839 #define OMAP4430_OPP_CHANGE_MASK (1 << 2)
841 /* Used by PRM_LDO_ABB_IVA_CTRL, PRM_LDO_ABB_MPU_CTRL */
842 #define OMAP4430_OPP_SEL_SHIFT 0
843 #define OMAP4430_OPP_SEL_MASK (0x3 << 0)
845 /* Used by PRM_SRAM_COUNT */
846 #define OMAP4430_PCHARGECNT_VALUE_SHIFT 0
847 #define OMAP4430_PCHARGECNT_VALUE_MASK (0x3f << 0)
849 /* Used by PRM_PSCON_COUNT */
850 #define OMAP4430_PCHARGE_TIME_SHIFT 0
851 #define OMAP4430_PCHARGE_TIME_MASK (0xff << 0)
853 /* Used by PM_ABE_PWRSTCTRL */
854 #define OMAP4430_PERIPHMEM_ONSTATE_SHIFT 20
855 #define OMAP4430_PERIPHMEM_ONSTATE_MASK (0x3 << 20)
857 /* Used by PM_ABE_PWRSTCTRL */
858 #define OMAP4430_PERIPHMEM_RETSTATE_SHIFT 10
859 #define OMAP4430_PERIPHMEM_RETSTATE_MASK (1 << 10)
861 /* Used by PM_ABE_PWRSTST */
862 #define OMAP4430_PERIPHMEM_STATEST_SHIFT 8
863 #define OMAP4430_PERIPHMEM_STATEST_MASK (0x3 << 8)
865 /* Used by PRM_PHASE1_CNDP */
866 #define OMAP4430_PHASE1_CNDP_SHIFT 0
867 #define OMAP4430_PHASE1_CNDP_MASK (0xffffffff << 0)
869 /* Used by PRM_PHASE2A_CNDP */
870 #define OMAP4430_PHASE2A_CNDP_SHIFT 0
871 #define OMAP4430_PHASE2A_CNDP_MASK (0xffffffff << 0)
873 /* Used by PRM_PHASE2B_CNDP */
874 #define OMAP4430_PHASE2B_CNDP_SHIFT 0
875 #define OMAP4430_PHASE2B_CNDP_MASK (0xffffffff << 0)
877 /* Used by PRM_PSCON_COUNT */
878 #define OMAP4430_PONOUT_2_PGOODIN_TIME_SHIFT 8
879 #define OMAP4430_PONOUT_2_PGOODIN_TIME_MASK (0xff << 8)
882 * Used by PM_ABE_PWRSTCTRL, PM_CAM_PWRSTCTRL, PM_CEFUSE_PWRSTCTRL,
883 * PM_CORE_PWRSTCTRL, PM_DSS_PWRSTCTRL, PM_EMU_PWRSTCTRL, PM_GFX_PWRSTCTRL,
884 * PM_IVAHD_PWRSTCTRL, PM_L3INIT_PWRSTCTRL, PM_L4PER_PWRSTCTRL,
885 * PM_MPU_PWRSTCTRL, PM_TESLA_PWRSTCTRL
887 #define OMAP4430_POWERSTATE_SHIFT 0
888 #define OMAP4430_POWERSTATE_MASK (0x3 << 0)
891 * Used by PM_ABE_PWRSTST, PM_CAM_PWRSTST, PM_CEFUSE_PWRSTST, PM_CORE_PWRSTST,
892 * PM_DSS_PWRSTST, PM_EMU_PWRSTST, PM_GFX_PWRSTST, PM_IVAHD_PWRSTST,
893 * PM_L3INIT_PWRSTST, PM_L4PER_PWRSTST, PM_MPU_PWRSTST, PM_TESLA_PWRSTST
895 #define OMAP4430_POWERSTATEST_SHIFT 0
896 #define OMAP4430_POWERSTATEST_MASK (0x3 << 0)
898 /* Used by PRM_PWRREQCTRL */
899 #define OMAP4430_PWRREQ_COND_SHIFT 0
900 #define OMAP4430_PWRREQ_COND_MASK (0x3 << 0)
902 /* Used by PRM_VC_CFG_CHANNEL */
903 #define OMAP4430_RACEN_VDD_CORE_L_SHIFT 3
904 #define OMAP4430_RACEN_VDD_CORE_L_MASK (1 << 3)
906 /* Used by PRM_VC_CFG_CHANNEL */
907 #define OMAP4430_RACEN_VDD_IVA_L_SHIFT 11
908 #define OMAP4430_RACEN_VDD_IVA_L_MASK (1 << 11)
910 /* Used by PRM_VC_CFG_CHANNEL */
911 #define OMAP4430_RACEN_VDD_MPU_L_SHIFT 20
912 #define OMAP4430_RACEN_VDD_MPU_L_MASK (1 << 20)
914 /* Used by PRM_VC_CFG_CHANNEL */
915 #define OMAP4430_RAC_VDD_CORE_L_SHIFT 2
916 #define OMAP4430_RAC_VDD_CORE_L_MASK (1 << 2)
918 /* Used by PRM_VC_CFG_CHANNEL */
919 #define OMAP4430_RAC_VDD_IVA_L_SHIFT 10
920 #define OMAP4430_RAC_VDD_IVA_L_MASK (1 << 10)
922 /* Used by PRM_VC_CFG_CHANNEL */
923 #define OMAP4430_RAC_VDD_MPU_L_SHIFT 19
924 #define OMAP4430_RAC_VDD_MPU_L_MASK (1 << 19)
927 * Used by PRM_VOLTSETUP_CORE_OFF, PRM_VOLTSETUP_CORE_RET_SLEEP,
928 * PRM_VOLTSETUP_IVA_OFF, PRM_VOLTSETUP_IVA_RET_SLEEP, PRM_VOLTSETUP_MPU_OFF,
929 * PRM_VOLTSETUP_MPU_RET_SLEEP
931 #define OMAP4430_RAMP_DOWN_COUNT_SHIFT 16
932 #define OMAP4430_RAMP_DOWN_COUNT_MASK (0x3f << 16)
935 * Used by PRM_VOLTSETUP_CORE_OFF, PRM_VOLTSETUP_CORE_RET_SLEEP,
936 * PRM_VOLTSETUP_IVA_OFF, PRM_VOLTSETUP_IVA_RET_SLEEP, PRM_VOLTSETUP_MPU_OFF,
937 * PRM_VOLTSETUP_MPU_RET_SLEEP
939 #define OMAP4430_RAMP_DOWN_PRESCAL_SHIFT 24
940 #define OMAP4430_RAMP_DOWN_PRESCAL_MASK (0x3 << 24)
943 * Used by PRM_VOLTSETUP_CORE_OFF, PRM_VOLTSETUP_CORE_RET_SLEEP,
944 * PRM_VOLTSETUP_IVA_OFF, PRM_VOLTSETUP_IVA_RET_SLEEP, PRM_VOLTSETUP_MPU_OFF,
945 * PRM_VOLTSETUP_MPU_RET_SLEEP
947 #define OMAP4430_RAMP_UP_COUNT_SHIFT 0
948 #define OMAP4430_RAMP_UP_COUNT_MASK (0x3f << 0)
951 * Used by PRM_VOLTSETUP_CORE_OFF, PRM_VOLTSETUP_CORE_RET_SLEEP,
952 * PRM_VOLTSETUP_IVA_OFF, PRM_VOLTSETUP_IVA_RET_SLEEP, PRM_VOLTSETUP_MPU_OFF,
953 * PRM_VOLTSETUP_MPU_RET_SLEEP
955 #define OMAP4430_RAMP_UP_PRESCAL_SHIFT 8
956 #define OMAP4430_RAMP_UP_PRESCAL_MASK (0x3 << 8)
958 /* Used by PRM_VC_CFG_CHANNEL */
959 #define OMAP4430_RAV_VDD_CORE_L_SHIFT 1
960 #define OMAP4430_RAV_VDD_CORE_L_MASK (1 << 1)
962 /* Used by PRM_VC_CFG_CHANNEL */
963 #define OMAP4430_RAV_VDD_IVA_L_SHIFT 9
964 #define OMAP4430_RAV_VDD_IVA_L_MASK (1 << 9)
966 /* Used by PRM_VC_CFG_CHANNEL */
967 #define OMAP4430_RAV_VDD_MPU_L_SHIFT 18
968 #define OMAP4430_RAV_VDD_MPU_L_MASK (1 << 18)
970 /* Used by PRM_VC_VAL_BYPASS */
971 #define OMAP4430_REGADDR_SHIFT 8
972 #define OMAP4430_REGADDR_MASK (0xff << 8)
975 * Used by PRM_VC_VAL_CMD_VDD_CORE_L, PRM_VC_VAL_CMD_VDD_IVA_L,
976 * PRM_VC_VAL_CMD_VDD_MPU_L
978 #define OMAP4430_RET_SHIFT 8
979 #define OMAP4430_RET_MASK (0xff << 8)
981 /* Used by PM_L4PER_PWRSTCTRL */
982 #define OMAP4430_RETAINED_BANK_ONSTATE_SHIFT 16
983 #define OMAP4430_RETAINED_BANK_ONSTATE_MASK (0x3 << 16)
985 /* Used by PM_L4PER_PWRSTCTRL */
986 #define OMAP4430_RETAINED_BANK_RETSTATE_SHIFT 8
987 #define OMAP4430_RETAINED_BANK_RETSTATE_MASK (1 << 8)
989 /* Used by PM_L4PER_PWRSTST */
990 #define OMAP4430_RETAINED_BANK_STATEST_SHIFT 4
991 #define OMAP4430_RETAINED_BANK_STATEST_MASK (0x3 << 4)
994 * Used by PRM_LDO_SRAM_CORE_CTRL, PRM_LDO_SRAM_IVA_CTRL,
995 * PRM_LDO_SRAM_MPU_CTRL
997 #define OMAP4430_RETMODE_ENABLE_SHIFT 0
998 #define OMAP4430_RETMODE_ENABLE_MASK (1 << 0)
1000 /* Used by RM_DUCATI_RSTCTRL, RM_IVAHD_RSTCTRL, RM_TESLA_RSTCTRL */
1001 #define OMAP4430_RST1_SHIFT 0
1002 #define OMAP4430_RST1_MASK (1 << 0)
1004 /* Used by RM_DUCATI_RSTST, RM_IVAHD_RSTST, RM_TESLA_RSTST */
1005 #define OMAP4430_RST1ST_SHIFT 0
1006 #define OMAP4430_RST1ST_MASK (1 << 0)
1008 /* Used by RM_DUCATI_RSTCTRL, RM_IVAHD_RSTCTRL, RM_TESLA_RSTCTRL */
1009 #define OMAP4430_RST2_SHIFT 1
1010 #define OMAP4430_RST2_MASK (1 << 1)
1012 /* Used by RM_DUCATI_RSTST, RM_IVAHD_RSTST, RM_TESLA_RSTST */
1013 #define OMAP4430_RST2ST_SHIFT 1
1014 #define OMAP4430_RST2ST_MASK (1 << 1)
1016 /* Used by RM_DUCATI_RSTCTRL, RM_IVAHD_RSTCTRL */
1017 #define OMAP4430_RST3_SHIFT 2
1018 #define OMAP4430_RST3_MASK (1 << 2)
1020 /* Used by RM_DUCATI_RSTST, RM_IVAHD_RSTST */
1021 #define OMAP4430_RST3ST_SHIFT 2
1022 #define OMAP4430_RST3ST_MASK (1 << 2)
1024 /* Used by PRM_RSTTIME */
1025 #define OMAP4430_RSTTIME1_SHIFT 0
1026 #define OMAP4430_RSTTIME1_MASK (0x3ff << 0)
1028 /* Used by PRM_RSTTIME */
1029 #define OMAP4430_RSTTIME2_SHIFT 10
1030 #define OMAP4430_RSTTIME2_MASK (0x1f << 10)
1032 /* Used by PRM_RSTCTRL */
1033 #define OMAP4430_RST_GLOBAL_COLD_SW_SHIFT 1
1034 #define OMAP4430_RST_GLOBAL_COLD_SW_MASK (1 << 1)
1036 /* Used by PRM_RSTCTRL */
1037 #define OMAP4430_RST_GLOBAL_WARM_SW_SHIFT 0
1038 #define OMAP4430_RST_GLOBAL_WARM_SW_MASK (1 << 0)
1040 /* Used by REVISION_PRM */
1041 #define OMAP4430_R_RTL_SHIFT 11
1042 #define OMAP4430_R_RTL_MASK (0x1f << 11)
1044 /* Used by PRM_VC_CFG_CHANNEL */
1045 #define OMAP4430_SA_VDD_CORE_L_SHIFT 0
1046 #define OMAP4430_SA_VDD_CORE_L_MASK (1 << 0)
1048 /* Renamed from SA_VDD_CORE_L Used by PRM_VC_SMPS_SA */
1049 #define OMAP4430_SA_VDD_CORE_L_0_6_SHIFT 0
1050 #define OMAP4430_SA_VDD_CORE_L_0_6_MASK (0x7f << 0)
1052 /* Used by PRM_VC_CFG_CHANNEL */
1053 #define OMAP4430_SA_VDD_IVA_L_SHIFT 8
1054 #define OMAP4430_SA_VDD_IVA_L_MASK (1 << 8)
1056 /* Renamed from SA_VDD_IVA_L Used by PRM_VC_SMPS_SA */
1057 #define OMAP4430_SA_VDD_IVA_L_PRM_VC_SMPS_SA_SHIFT 8
1058 #define OMAP4430_SA_VDD_IVA_L_PRM_VC_SMPS_SA_MASK (0x7f << 8)
1060 /* Used by PRM_VC_CFG_CHANNEL */
1061 #define OMAP4430_SA_VDD_MPU_L_SHIFT 16
1062 #define OMAP4430_SA_VDD_MPU_L_MASK (1 << 16)
1064 /* Renamed from SA_VDD_MPU_L Used by PRM_VC_SMPS_SA */
1065 #define OMAP4430_SA_VDD_MPU_L_PRM_VC_SMPS_SA_SHIFT 16
1066 #define OMAP4430_SA_VDD_MPU_L_PRM_VC_SMPS_SA_MASK (0x7f << 16)
1068 /* Used by REVISION_PRM */
1069 #define OMAP4430_SCHEME_SHIFT 30
1070 #define OMAP4430_SCHEME_MASK (0x3 << 30)
1072 /* Used by PRM_VC_CFG_I2C_CLK */
1073 #define OMAP4430_SCLH_SHIFT 0
1074 #define OMAP4430_SCLH_MASK (0xff << 0)
1076 /* Used by PRM_VC_CFG_I2C_CLK */
1077 #define OMAP4430_SCLL_SHIFT 8
1078 #define OMAP4430_SCLL_MASK (0xff << 8)
1080 /* Used by PRM_VC_CFG_I2C_CLK */
1081 #define OMAP4430_HSCLH_SHIFT 16
1082 #define OMAP4430_HSCLH_MASK (0xff << 16)
1084 /* Used by PRM_VC_CFG_I2C_CLK */
1085 #define OMAP4430_HSCLL_SHIFT 24
1086 #define OMAP4430_HSCLL_MASK (0xff << 24)
1088 /* Used by PRM_RSTST */
1089 #define OMAP4430_SECURE_WDT_RST_SHIFT 4
1090 #define OMAP4430_SECURE_WDT_RST_MASK (1 << 4)
1092 /* Used by PM_IVAHD_PWRSTCTRL */
1093 #define OMAP4430_SL2_MEM_ONSTATE_SHIFT 18
1094 #define OMAP4430_SL2_MEM_ONSTATE_MASK (0x3 << 18)
1096 /* Used by PM_IVAHD_PWRSTCTRL */
1097 #define OMAP4430_SL2_MEM_RETSTATE_SHIFT 9
1098 #define OMAP4430_SL2_MEM_RETSTATE_MASK (1 << 9)
1100 /* Used by PM_IVAHD_PWRSTST */
1101 #define OMAP4430_SL2_MEM_STATEST_SHIFT 6
1102 #define OMAP4430_SL2_MEM_STATEST_MASK (0x3 << 6)
1104 /* Used by PRM_VC_VAL_BYPASS */
1105 #define OMAP4430_SLAVEADDR_SHIFT 0
1106 #define OMAP4430_SLAVEADDR_MASK (0x7f << 0)
1108 /* Used by PRM_LDO_ABB_IVA_SETUP, PRM_LDO_ABB_MPU_SETUP */
1109 #define OMAP4430_SLEEP_RBB_SEL_SHIFT 3
1110 #define OMAP4430_SLEEP_RBB_SEL_MASK (1 << 3)
1112 /* Used by PRM_SRAM_COUNT */
1113 #define OMAP4430_SLPCNT_VALUE_SHIFT 16
1114 #define OMAP4430_SLPCNT_VALUE_MASK (0xff << 16)
1116 /* Used by PRM_VP_CORE_VSTEPMAX, PRM_VP_IVA_VSTEPMAX, PRM_VP_MPU_VSTEPMAX */
1117 #define OMAP4430_SMPSWAITTIMEMAX_SHIFT 8
1118 #define OMAP4430_SMPSWAITTIMEMAX_MASK (0xffff << 8)
1120 /* Used by PRM_VP_CORE_VSTEPMIN, PRM_VP_IVA_VSTEPMIN, PRM_VP_MPU_VSTEPMIN */
1121 #define OMAP4430_SMPSWAITTIMEMIN_SHIFT 8
1122 #define OMAP4430_SMPSWAITTIMEMIN_MASK (0xffff << 8)
1124 /* Used by PRM_VC_ERRST */
1125 #define OMAP4430_SMPS_RA_ERR_CORE_SHIFT 1
1126 #define OMAP4430_SMPS_RA_ERR_CORE_MASK (1 << 1)
1128 /* Used by PRM_VC_ERRST */
1129 #define OMAP4430_SMPS_RA_ERR_IVA_SHIFT 9
1130 #define OMAP4430_SMPS_RA_ERR_IVA_MASK (1 << 9)
1132 /* Used by PRM_VC_ERRST */
1133 #define OMAP4430_SMPS_RA_ERR_MPU_SHIFT 17
1134 #define OMAP4430_SMPS_RA_ERR_MPU_MASK (1 << 17)
1136 /* Used by PRM_VC_ERRST */
1137 #define OMAP4430_SMPS_SA_ERR_CORE_SHIFT 0
1138 #define OMAP4430_SMPS_SA_ERR_CORE_MASK (1 << 0)
1140 /* Used by PRM_VC_ERRST */
1141 #define OMAP4430_SMPS_SA_ERR_IVA_SHIFT 8
1142 #define OMAP4430_SMPS_SA_ERR_IVA_MASK (1 << 8)
1144 /* Used by PRM_VC_ERRST */
1145 #define OMAP4430_SMPS_SA_ERR_MPU_SHIFT 16
1146 #define OMAP4430_SMPS_SA_ERR_MPU_MASK (1 << 16)
1148 /* Used by PRM_VC_ERRST */
1149 #define OMAP4430_SMPS_TIMEOUT_ERR_CORE_SHIFT 2
1150 #define OMAP4430_SMPS_TIMEOUT_ERR_CORE_MASK (1 << 2)
1152 /* Used by PRM_VC_ERRST */
1153 #define OMAP4430_SMPS_TIMEOUT_ERR_IVA_SHIFT 10
1154 #define OMAP4430_SMPS_TIMEOUT_ERR_IVA_MASK (1 << 10)
1156 /* Used by PRM_VC_ERRST */
1157 #define OMAP4430_SMPS_TIMEOUT_ERR_MPU_SHIFT 18
1158 #define OMAP4430_SMPS_TIMEOUT_ERR_MPU_MASK (1 << 18)
1160 /* Used by PRM_LDO_ABB_IVA_SETUP, PRM_LDO_ABB_MPU_SETUP */
1161 #define OMAP4430_SR2EN_SHIFT 0
1162 #define OMAP4430_SR2EN_MASK (1 << 0)
1164 /* Used by PRM_LDO_ABB_IVA_CTRL, PRM_LDO_ABB_MPU_CTRL */
1165 #define OMAP4430_SR2_IN_TRANSITION_SHIFT 6
1166 #define OMAP4430_SR2_IN_TRANSITION_MASK (1 << 6)
1168 /* Used by PRM_LDO_ABB_IVA_CTRL, PRM_LDO_ABB_MPU_CTRL */
1169 #define OMAP4430_SR2_STATUS_SHIFT 3
1170 #define OMAP4430_SR2_STATUS_MASK (0x3 << 3)
1172 /* Used by PRM_LDO_ABB_IVA_SETUP, PRM_LDO_ABB_MPU_SETUP */
1173 #define OMAP4430_SR2_WTCNT_VALUE_SHIFT 8
1174 #define OMAP4430_SR2_WTCNT_VALUE_MASK (0xff << 8)
1177 * Used by PRM_LDO_SRAM_CORE_CTRL, PRM_LDO_SRAM_IVA_CTRL,
1178 * PRM_LDO_SRAM_MPU_CTRL
1180 #define OMAP4430_SRAMLDO_STATUS_SHIFT 8
1181 #define OMAP4430_SRAMLDO_STATUS_MASK (1 << 8)
1184 * Used by PRM_LDO_SRAM_CORE_CTRL, PRM_LDO_SRAM_IVA_CTRL,
1185 * PRM_LDO_SRAM_MPU_CTRL
1187 #define OMAP4430_SRAM_IN_TRANSITION_SHIFT 9
1188 #define OMAP4430_SRAM_IN_TRANSITION_MASK (1 << 9)
1190 /* Used by PRM_VC_CFG_I2C_MODE */
1191 #define OMAP4430_SRMODEEN_SHIFT 4
1192 #define OMAP4430_SRMODEEN_MASK (1 << 4)
1194 /* Used by PRM_VOLTSETUP_WARMRESET */
1195 #define OMAP4430_STABLE_COUNT_SHIFT 0
1196 #define OMAP4430_STABLE_COUNT_MASK (0x3f << 0)
1198 /* Used by PRM_VOLTSETUP_WARMRESET */
1199 #define OMAP4430_STABLE_PRESCAL_SHIFT 8
1200 #define OMAP4430_STABLE_PRESCAL_MASK (0x3 << 8)
1202 /* Used by PRM_LDO_BANDGAP_SETUP */
1203 #define OMAP4430_STARTUP_COUNT_SHIFT 0
1204 #define OMAP4430_STARTUP_COUNT_MASK (0xff << 0)
1206 /* Renamed from STARTUP_COUNT Used by PRM_SRAM_COUNT */
1207 #define OMAP4430_STARTUP_COUNT_24_31_SHIFT 24
1208 #define OMAP4430_STARTUP_COUNT_24_31_MASK (0xff << 24)
1210 /* Used by PM_IVAHD_PWRSTCTRL */
1211 #define OMAP4430_TCM1_MEM_ONSTATE_SHIFT 20
1212 #define OMAP4430_TCM1_MEM_ONSTATE_MASK (0x3 << 20)
1214 /* Used by PM_IVAHD_PWRSTCTRL */
1215 #define OMAP4430_TCM1_MEM_RETSTATE_SHIFT 10
1216 #define OMAP4430_TCM1_MEM_RETSTATE_MASK (1 << 10)
1218 /* Used by PM_IVAHD_PWRSTST */
1219 #define OMAP4430_TCM1_MEM_STATEST_SHIFT 8
1220 #define OMAP4430_TCM1_MEM_STATEST_MASK (0x3 << 8)
1222 /* Used by PM_IVAHD_PWRSTCTRL */
1223 #define OMAP4430_TCM2_MEM_ONSTATE_SHIFT 22
1224 #define OMAP4430_TCM2_MEM_ONSTATE_MASK (0x3 << 22)
1226 /* Used by PM_IVAHD_PWRSTCTRL */
1227 #define OMAP4430_TCM2_MEM_RETSTATE_SHIFT 11
1228 #define OMAP4430_TCM2_MEM_RETSTATE_MASK (1 << 11)
1230 /* Used by PM_IVAHD_PWRSTST */
1231 #define OMAP4430_TCM2_MEM_STATEST_SHIFT 10
1232 #define OMAP4430_TCM2_MEM_STATEST_MASK (0x3 << 10)
1234 /* Used by RM_TESLA_RSTST */
1235 #define OMAP4430_TESLASS_EMU_RSTST_SHIFT 2
1236 #define OMAP4430_TESLASS_EMU_RSTST_MASK (1 << 2)
1238 /* Used by RM_TESLA_RSTST */
1239 #define OMAP4430_TESLA_DSP_EMU_REQ_RSTST_SHIFT 3
1240 #define OMAP4430_TESLA_DSP_EMU_REQ_RSTST_MASK (1 << 3)
1242 /* Used by PM_TESLA_PWRSTCTRL */
1243 #define OMAP4430_TESLA_EDMA_ONSTATE_SHIFT 20
1244 #define OMAP4430_TESLA_EDMA_ONSTATE_MASK (0x3 << 20)
1246 /* Used by PM_TESLA_PWRSTCTRL */
1247 #define OMAP4430_TESLA_EDMA_RETSTATE_SHIFT 10
1248 #define OMAP4430_TESLA_EDMA_RETSTATE_MASK (1 << 10)
1250 /* Used by PM_TESLA_PWRSTST */
1251 #define OMAP4430_TESLA_EDMA_STATEST_SHIFT 8
1252 #define OMAP4430_TESLA_EDMA_STATEST_MASK (0x3 << 8)
1254 /* Used by PM_TESLA_PWRSTCTRL */
1255 #define OMAP4430_TESLA_L1_ONSTATE_SHIFT 16
1256 #define OMAP4430_TESLA_L1_ONSTATE_MASK (0x3 << 16)
1258 /* Used by PM_TESLA_PWRSTCTRL */
1259 #define OMAP4430_TESLA_L1_RETSTATE_SHIFT 8
1260 #define OMAP4430_TESLA_L1_RETSTATE_MASK (1 << 8)
1262 /* Used by PM_TESLA_PWRSTST */
1263 #define OMAP4430_TESLA_L1_STATEST_SHIFT 4
1264 #define OMAP4430_TESLA_L1_STATEST_MASK (0x3 << 4)
1266 /* Used by PM_TESLA_PWRSTCTRL */
1267 #define OMAP4430_TESLA_L2_ONSTATE_SHIFT 18
1268 #define OMAP4430_TESLA_L2_ONSTATE_MASK (0x3 << 18)
1270 /* Used by PM_TESLA_PWRSTCTRL */
1271 #define OMAP4430_TESLA_L2_RETSTATE_SHIFT 9
1272 #define OMAP4430_TESLA_L2_RETSTATE_MASK (1 << 9)
1274 /* Used by PM_TESLA_PWRSTST */
1275 #define OMAP4430_TESLA_L2_STATEST_SHIFT 6
1276 #define OMAP4430_TESLA_L2_STATEST_MASK (0x3 << 6)
1278 /* Used by PRM_VP_CORE_VLIMITTO, PRM_VP_IVA_VLIMITTO, PRM_VP_MPU_VLIMITTO */
1279 #define OMAP4430_TIMEOUT_SHIFT 0
1280 #define OMAP4430_TIMEOUT_MASK (0xffff << 0)
1282 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
1283 #define OMAP4430_TIMEOUTEN_SHIFT 3
1284 #define OMAP4430_TIMEOUTEN_MASK (1 << 3)
1286 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1287 #define OMAP4430_TRANSITION_EN_SHIFT 8
1288 #define OMAP4430_TRANSITION_EN_MASK (1 << 8)
1290 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1291 #define OMAP4430_TRANSITION_ST_SHIFT 8
1292 #define OMAP4430_TRANSITION_ST_MASK (1 << 8)
1294 /* Used by PRM_VC_VAL_BYPASS */
1295 #define OMAP4430_VALID_SHIFT 24
1296 #define OMAP4430_VALID_MASK (1 << 24)
1298 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1299 #define OMAP4430_VC_BYPASSACK_EN_SHIFT 14
1300 #define OMAP4430_VC_BYPASSACK_EN_MASK (1 << 14)
1302 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1303 #define OMAP4430_VC_BYPASSACK_ST_SHIFT 14
1304 #define OMAP4430_VC_BYPASSACK_ST_MASK (1 << 14)
1306 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1307 #define OMAP4430_VC_CORE_VPACK_EN_SHIFT 22
1308 #define OMAP4430_VC_CORE_VPACK_EN_MASK (1 << 22)
1310 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1311 #define OMAP4430_VC_CORE_VPACK_ST_SHIFT 22
1312 #define OMAP4430_VC_CORE_VPACK_ST_MASK (1 << 22)
1314 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1315 #define OMAP4430_VC_IVA_VPACK_EN_SHIFT 30
1316 #define OMAP4430_VC_IVA_VPACK_EN_MASK (1 << 30)
1318 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1319 #define OMAP4430_VC_IVA_VPACK_ST_SHIFT 30
1320 #define OMAP4430_VC_IVA_VPACK_ST_MASK (1 << 30)
1322 /* Used by PRM_IRQENABLE_MPU_2 */
1323 #define OMAP4430_VC_MPU_VPACK_EN_SHIFT 6
1324 #define OMAP4430_VC_MPU_VPACK_EN_MASK (1 << 6)
1326 /* Used by PRM_IRQSTATUS_MPU_2 */
1327 #define OMAP4430_VC_MPU_VPACK_ST_SHIFT 6
1328 #define OMAP4430_VC_MPU_VPACK_ST_MASK (1 << 6)
1330 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1331 #define OMAP4430_VC_RAERR_EN_SHIFT 12
1332 #define OMAP4430_VC_RAERR_EN_MASK (1 << 12)
1334 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1335 #define OMAP4430_VC_RAERR_ST_SHIFT 12
1336 #define OMAP4430_VC_RAERR_ST_MASK (1 << 12)
1338 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1339 #define OMAP4430_VC_SAERR_EN_SHIFT 11
1340 #define OMAP4430_VC_SAERR_EN_MASK (1 << 11)
1342 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1343 #define OMAP4430_VC_SAERR_ST_SHIFT 11
1344 #define OMAP4430_VC_SAERR_ST_MASK (1 << 11)
1346 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1347 #define OMAP4430_VC_TOERR_EN_SHIFT 13
1348 #define OMAP4430_VC_TOERR_EN_MASK (1 << 13)
1350 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1351 #define OMAP4430_VC_TOERR_ST_SHIFT 13
1352 #define OMAP4430_VC_TOERR_ST_MASK (1 << 13)
1354 /* Used by PRM_VP_CORE_VLIMITTO, PRM_VP_IVA_VLIMITTO, PRM_VP_MPU_VLIMITTO */
1355 #define OMAP4430_VDDMAX_SHIFT 24
1356 #define OMAP4430_VDDMAX_MASK (0xff << 24)
1358 /* Used by PRM_VP_CORE_VLIMITTO, PRM_VP_IVA_VLIMITTO, PRM_VP_MPU_VLIMITTO */
1359 #define OMAP4430_VDDMIN_SHIFT 16
1360 #define OMAP4430_VDDMIN_MASK (0xff << 16)
1362 /* Used by PRM_VOLTCTRL */
1363 #define OMAP4430_VDD_CORE_I2C_DISABLE_SHIFT 12
1364 #define OMAP4430_VDD_CORE_I2C_DISABLE_MASK (1 << 12)
1366 /* Used by PRM_RSTST */
1367 #define OMAP4430_VDD_CORE_VOLT_MGR_RST_SHIFT 8
1368 #define OMAP4430_VDD_CORE_VOLT_MGR_RST_MASK (1 << 8)
1370 /* Used by PRM_VOLTCTRL */
1371 #define OMAP4430_VDD_IVA_I2C_DISABLE_SHIFT 14
1372 #define OMAP4430_VDD_IVA_I2C_DISABLE_MASK (1 << 14)
1374 /* Used by PRM_VOLTCTRL */
1375 #define OMAP4430_VDD_IVA_PRESENCE_SHIFT 9
1376 #define OMAP4430_VDD_IVA_PRESENCE_MASK (1 << 9)
1378 /* Used by PRM_RSTST */
1379 #define OMAP4430_VDD_IVA_VOLT_MGR_RST_SHIFT 7
1380 #define OMAP4430_VDD_IVA_VOLT_MGR_RST_MASK (1 << 7)
1382 /* Used by PRM_VOLTCTRL */
1383 #define OMAP4430_VDD_MPU_I2C_DISABLE_SHIFT 13
1384 #define OMAP4430_VDD_MPU_I2C_DISABLE_MASK (1 << 13)
1386 /* Used by PRM_VOLTCTRL */
1387 #define OMAP4430_VDD_MPU_PRESENCE_SHIFT 8
1388 #define OMAP4430_VDD_MPU_PRESENCE_MASK (1 << 8)
1390 /* Used by PRM_RSTST */
1391 #define OMAP4430_VDD_MPU_VOLT_MGR_RST_SHIFT 6
1392 #define OMAP4430_VDD_MPU_VOLT_MGR_RST_MASK (1 << 6)
1394 /* Used by PRM_VC_ERRST */
1395 #define OMAP4430_VFSM_RA_ERR_CORE_SHIFT 4
1396 #define OMAP4430_VFSM_RA_ERR_CORE_MASK (1 << 4)
1398 /* Used by PRM_VC_ERRST */
1399 #define OMAP4430_VFSM_RA_ERR_IVA_SHIFT 12
1400 #define OMAP4430_VFSM_RA_ERR_IVA_MASK (1 << 12)
1402 /* Used by PRM_VC_ERRST */
1403 #define OMAP4430_VFSM_RA_ERR_MPU_SHIFT 20
1404 #define OMAP4430_VFSM_RA_ERR_MPU_MASK (1 << 20)
1406 /* Used by PRM_VC_ERRST */
1407 #define OMAP4430_VFSM_SA_ERR_CORE_SHIFT 3
1408 #define OMAP4430_VFSM_SA_ERR_CORE_MASK (1 << 3)
1410 /* Used by PRM_VC_ERRST */
1411 #define OMAP4430_VFSM_SA_ERR_IVA_SHIFT 11
1412 #define OMAP4430_VFSM_SA_ERR_IVA_MASK (1 << 11)
1414 /* Used by PRM_VC_ERRST */
1415 #define OMAP4430_VFSM_SA_ERR_MPU_SHIFT 19
1416 #define OMAP4430_VFSM_SA_ERR_MPU_MASK (1 << 19)
1418 /* Used by PRM_VC_ERRST */
1419 #define OMAP4430_VFSM_TIMEOUT_ERR_CORE_SHIFT 5
1420 #define OMAP4430_VFSM_TIMEOUT_ERR_CORE_MASK (1 << 5)
1422 /* Used by PRM_VC_ERRST */
1423 #define OMAP4430_VFSM_TIMEOUT_ERR_IVA_SHIFT 13
1424 #define OMAP4430_VFSM_TIMEOUT_ERR_IVA_MASK (1 << 13)
1426 /* Used by PRM_VC_ERRST */
1427 #define OMAP4430_VFSM_TIMEOUT_ERR_MPU_SHIFT 21
1428 #define OMAP4430_VFSM_TIMEOUT_ERR_MPU_MASK (1 << 21)
1430 /* Used by PRM_VC_VAL_SMPS_RA_VOL */
1431 #define OMAP4430_VOLRA_VDD_CORE_L_SHIFT 0
1432 #define OMAP4430_VOLRA_VDD_CORE_L_MASK (0xff << 0)
1434 /* Used by PRM_VC_VAL_SMPS_RA_VOL */
1435 #define OMAP4430_VOLRA_VDD_IVA_L_SHIFT 8
1436 #define OMAP4430_VOLRA_VDD_IVA_L_MASK (0xff << 8)
1438 /* Used by PRM_VC_VAL_SMPS_RA_VOL */
1439 #define OMAP4430_VOLRA_VDD_MPU_L_SHIFT 16
1440 #define OMAP4430_VOLRA_VDD_MPU_L_MASK (0xff << 16)
1442 /* Used by PRM_VP_CORE_CONFIG, PRM_VP_IVA_CONFIG, PRM_VP_MPU_CONFIG */
1443 #define OMAP4430_VPENABLE_SHIFT 0
1444 #define OMAP4430_VPENABLE_MASK (1 << 0)
1446 /* Used by PRM_VP_CORE_STATUS, PRM_VP_IVA_STATUS, PRM_VP_MPU_STATUS */
1447 #define OMAP4430_VPINIDLE_SHIFT 0
1448 #define OMAP4430_VPINIDLE_MASK (1 << 0)
1450 /* Used by PRM_VP_CORE_VOLTAGE, PRM_VP_IVA_VOLTAGE, PRM_VP_MPU_VOLTAGE */
1451 #define OMAP4430_VPVOLTAGE_SHIFT 0
1452 #define OMAP4430_VPVOLTAGE_MASK (0xff << 0)
1454 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1455 #define OMAP4430_VP_CORE_EQVALUE_EN_SHIFT 20
1456 #define OMAP4430_VP_CORE_EQVALUE_EN_MASK (1 << 20)
1458 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1459 #define OMAP4430_VP_CORE_EQVALUE_ST_SHIFT 20
1460 #define OMAP4430_VP_CORE_EQVALUE_ST_MASK (1 << 20)
1462 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1463 #define OMAP4430_VP_CORE_MAXVDD_EN_SHIFT 18
1464 #define OMAP4430_VP_CORE_MAXVDD_EN_MASK (1 << 18)
1466 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1467 #define OMAP4430_VP_CORE_MAXVDD_ST_SHIFT 18
1468 #define OMAP4430_VP_CORE_MAXVDD_ST_MASK (1 << 18)
1470 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1471 #define OMAP4430_VP_CORE_MINVDD_EN_SHIFT 17
1472 #define OMAP4430_VP_CORE_MINVDD_EN_MASK (1 << 17)
1474 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1475 #define OMAP4430_VP_CORE_MINVDD_ST_SHIFT 17
1476 #define OMAP4430_VP_CORE_MINVDD_ST_MASK (1 << 17)
1478 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1479 #define OMAP4430_VP_CORE_NOSMPSACK_EN_SHIFT 19
1480 #define OMAP4430_VP_CORE_NOSMPSACK_EN_MASK (1 << 19)
1482 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1483 #define OMAP4430_VP_CORE_NOSMPSACK_ST_SHIFT 19
1484 #define OMAP4430_VP_CORE_NOSMPSACK_ST_MASK (1 << 19)
1486 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1487 #define OMAP4430_VP_CORE_OPPCHANGEDONE_EN_SHIFT 16
1488 #define OMAP4430_VP_CORE_OPPCHANGEDONE_EN_MASK (1 << 16)
1490 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1491 #define OMAP4430_VP_CORE_OPPCHANGEDONE_ST_SHIFT 16
1492 #define OMAP4430_VP_CORE_OPPCHANGEDONE_ST_MASK (1 << 16)
1494 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1495 #define OMAP4430_VP_CORE_TRANXDONE_EN_SHIFT 21
1496 #define OMAP4430_VP_CORE_TRANXDONE_EN_MASK (1 << 21)
1498 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1499 #define OMAP4430_VP_CORE_TRANXDONE_ST_SHIFT 21
1500 #define OMAP4430_VP_CORE_TRANXDONE_ST_MASK (1 << 21)
1502 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1503 #define OMAP4430_VP_IVA_EQVALUE_EN_SHIFT 28
1504 #define OMAP4430_VP_IVA_EQVALUE_EN_MASK (1 << 28)
1506 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1507 #define OMAP4430_VP_IVA_EQVALUE_ST_SHIFT 28
1508 #define OMAP4430_VP_IVA_EQVALUE_ST_MASK (1 << 28)
1510 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1511 #define OMAP4430_VP_IVA_MAXVDD_EN_SHIFT 26
1512 #define OMAP4430_VP_IVA_MAXVDD_EN_MASK (1 << 26)
1514 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1515 #define OMAP4430_VP_IVA_MAXVDD_ST_SHIFT 26
1516 #define OMAP4430_VP_IVA_MAXVDD_ST_MASK (1 << 26)
1518 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1519 #define OMAP4430_VP_IVA_MINVDD_EN_SHIFT 25
1520 #define OMAP4430_VP_IVA_MINVDD_EN_MASK (1 << 25)
1522 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1523 #define OMAP4430_VP_IVA_MINVDD_ST_SHIFT 25
1524 #define OMAP4430_VP_IVA_MINVDD_ST_MASK (1 << 25)
1526 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1527 #define OMAP4430_VP_IVA_NOSMPSACK_EN_SHIFT 27
1528 #define OMAP4430_VP_IVA_NOSMPSACK_EN_MASK (1 << 27)
1530 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1531 #define OMAP4430_VP_IVA_NOSMPSACK_ST_SHIFT 27
1532 #define OMAP4430_VP_IVA_NOSMPSACK_ST_MASK (1 << 27)
1534 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1535 #define OMAP4430_VP_IVA_OPPCHANGEDONE_EN_SHIFT 24
1536 #define OMAP4430_VP_IVA_OPPCHANGEDONE_EN_MASK (1 << 24)
1538 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1539 #define OMAP4430_VP_IVA_OPPCHANGEDONE_ST_SHIFT 24
1540 #define OMAP4430_VP_IVA_OPPCHANGEDONE_ST_MASK (1 << 24)
1542 /* Used by PRM_IRQENABLE_DUCATI, PRM_IRQENABLE_MPU */
1543 #define OMAP4430_VP_IVA_TRANXDONE_EN_SHIFT 29
1544 #define OMAP4430_VP_IVA_TRANXDONE_EN_MASK (1 << 29)
1546 /* Used by PRM_IRQSTATUS_DUCATI, PRM_IRQSTATUS_MPU */
1547 #define OMAP4430_VP_IVA_TRANXDONE_ST_SHIFT 29
1548 #define OMAP4430_VP_IVA_TRANXDONE_ST_MASK (1 << 29)
1550 /* Used by PRM_IRQENABLE_MPU_2 */
1551 #define OMAP4430_VP_MPU_EQVALUE_EN_SHIFT 4
1552 #define OMAP4430_VP_MPU_EQVALUE_EN_MASK (1 << 4)
1554 /* Used by PRM_IRQSTATUS_MPU_2 */
1555 #define OMAP4430_VP_MPU_EQVALUE_ST_SHIFT 4
1556 #define OMAP4430_VP_MPU_EQVALUE_ST_MASK (1 << 4)
1558 /* Used by PRM_IRQENABLE_MPU_2 */
1559 #define OMAP4430_VP_MPU_MAXVDD_EN_SHIFT 2
1560 #define OMAP4430_VP_MPU_MAXVDD_EN_MASK (1 << 2)
1562 /* Used by PRM_IRQSTATUS_MPU_2 */
1563 #define OMAP4430_VP_MPU_MAXVDD_ST_SHIFT 2
1564 #define OMAP4430_VP_MPU_MAXVDD_ST_MASK (1 << 2)
1566 /* Used by PRM_IRQENABLE_MPU_2 */
1567 #define OMAP4430_VP_MPU_MINVDD_EN_SHIFT 1
1568 #define OMAP4430_VP_MPU_MINVDD_EN_MASK (1 << 1)
1570 /* Used by PRM_IRQSTATUS_MPU_2 */
1571 #define OMAP4430_VP_MPU_MINVDD_ST_SHIFT 1
1572 #define OMAP4430_VP_MPU_MINVDD_ST_MASK (1 << 1)
1574 /* Used by PRM_IRQENABLE_MPU_2 */
1575 #define OMAP4430_VP_MPU_NOSMPSACK_EN_SHIFT 3
1576 #define OMAP4430_VP_MPU_NOSMPSACK_EN_MASK (1 << 3)
1578 /* Used by PRM_IRQSTATUS_MPU_2 */
1579 #define OMAP4430_VP_MPU_NOSMPSACK_ST_SHIFT 3
1580 #define OMAP4430_VP_MPU_NOSMPSACK_ST_MASK (1 << 3)
1582 /* Used by PRM_IRQENABLE_MPU_2 */
1583 #define OMAP4430_VP_MPU_OPPCHANGEDONE_EN_SHIFT 0
1584 #define OMAP4430_VP_MPU_OPPCHANGEDONE_EN_MASK (1 << 0)
1586 /* Used by PRM_IRQSTATUS_MPU_2 */
1587 #define OMAP4430_VP_MPU_OPPCHANGEDONE_ST_SHIFT 0
1588 #define OMAP4430_VP_MPU_OPPCHANGEDONE_ST_MASK (1 << 0)
1590 /* Used by PRM_IRQENABLE_MPU_2 */
1591 #define OMAP4430_VP_MPU_TRANXDONE_EN_SHIFT 5
1592 #define OMAP4430_VP_MPU_TRANXDONE_EN_MASK (1 << 5)
1594 /* Used by PRM_IRQSTATUS_MPU_2 */
1595 #define OMAP4430_VP_MPU_TRANXDONE_ST_SHIFT 5
1596 #define OMAP4430_VP_MPU_TRANXDONE_ST_MASK (1 << 5)
1598 /* Used by PRM_SRAM_COUNT */
1599 #define OMAP4430_VSETUPCNT_VALUE_SHIFT 8
1600 #define OMAP4430_VSETUPCNT_VALUE_MASK (0xff << 8)
1602 /* Used by PRM_VP_CORE_VSTEPMAX, PRM_VP_IVA_VSTEPMAX, PRM_VP_MPU_VSTEPMAX */
1603 #define OMAP4430_VSTEPMAX_SHIFT 0
1604 #define OMAP4430_VSTEPMAX_MASK (0xff << 0)
1606 /* Used by PRM_VP_CORE_VSTEPMIN, PRM_VP_IVA_VSTEPMIN, PRM_VP_MPU_VSTEPMIN */
1607 #define OMAP4430_VSTEPMIN_SHIFT 0
1608 #define OMAP4430_VSTEPMIN_MASK (0xff << 0)
1610 /* Used by PRM_MODEM_IF_CTRL */
1611 #define OMAP4430_WAKE_MODEM_SHIFT 0
1612 #define OMAP4430_WAKE_MODEM_MASK (1 << 0)
1614 /* Used by PM_DSS_DSS_WKDEP */
1615 #define OMAP4430_WKUPDEP_DISPC_DUCATI_SHIFT 1
1616 #define OMAP4430_WKUPDEP_DISPC_DUCATI_MASK (1 << 1)
1618 /* Used by PM_DSS_DSS_WKDEP */
1619 #define OMAP4430_WKUPDEP_DISPC_MPU_SHIFT 0
1620 #define OMAP4430_WKUPDEP_DISPC_MPU_MASK (1 << 0)
1622 /* Used by PM_DSS_DSS_WKDEP */
1623 #define OMAP4430_WKUPDEP_DISPC_SDMA_SHIFT 3
1624 #define OMAP4430_WKUPDEP_DISPC_SDMA_MASK (1 << 3)
1626 /* Used by PM_DSS_DSS_WKDEP */
1627 #define OMAP4430_WKUPDEP_DISPC_TESLA_SHIFT 2
1628 #define OMAP4430_WKUPDEP_DISPC_TESLA_MASK (1 << 2)
1630 /* Used by PM_ABE_DMIC_WKDEP */
1631 #define OMAP4430_WKUPDEP_DMIC_DMA_SDMA_SHIFT 7
1632 #define OMAP4430_WKUPDEP_DMIC_DMA_SDMA_MASK (1 << 7)
1634 /* Used by PM_ABE_DMIC_WKDEP */
1635 #define OMAP4430_WKUPDEP_DMIC_DMA_TESLA_SHIFT 6
1636 #define OMAP4430_WKUPDEP_DMIC_DMA_TESLA_MASK (1 << 6)
1638 /* Used by PM_ABE_DMIC_WKDEP */
1639 #define OMAP4430_WKUPDEP_DMIC_IRQ_MPU_SHIFT 0
1640 #define OMAP4430_WKUPDEP_DMIC_IRQ_MPU_MASK (1 << 0)
1642 /* Used by PM_ABE_DMIC_WKDEP */
1643 #define OMAP4430_WKUPDEP_DMIC_IRQ_TESLA_SHIFT 2
1644 #define OMAP4430_WKUPDEP_DMIC_IRQ_TESLA_MASK (1 << 2)
1646 /* Used by PM_L4PER_DMTIMER10_WKDEP */
1647 #define OMAP4430_WKUPDEP_DMTIMER10_MPU_SHIFT 0
1648 #define OMAP4430_WKUPDEP_DMTIMER10_MPU_MASK (1 << 0)
1650 /* Used by PM_L4PER_DMTIMER11_WKDEP */
1651 #define OMAP4430_WKUPDEP_DMTIMER11_DUCATI_SHIFT 1
1652 #define OMAP4430_WKUPDEP_DMTIMER11_DUCATI_MASK (1 << 1)
1654 /* Used by PM_L4PER_DMTIMER11_WKDEP */
1655 #define OMAP4430_WKUPDEP_DMTIMER11_MPU_SHIFT 0
1656 #define OMAP4430_WKUPDEP_DMTIMER11_MPU_MASK (1 << 0)
1658 /* Used by PM_L4PER_DMTIMER2_WKDEP */
1659 #define OMAP4430_WKUPDEP_DMTIMER2_MPU_SHIFT 0
1660 #define OMAP4430_WKUPDEP_DMTIMER2_MPU_MASK (1 << 0)
1662 /* Used by PM_L4PER_DMTIMER3_WKDEP */
1663 #define OMAP4430_WKUPDEP_DMTIMER3_DUCATI_SHIFT 1
1664 #define OMAP4430_WKUPDEP_DMTIMER3_DUCATI_MASK (1 << 1)
1666 /* Used by PM_L4PER_DMTIMER3_WKDEP */
1667 #define OMAP4430_WKUPDEP_DMTIMER3_MPU_SHIFT 0
1668 #define OMAP4430_WKUPDEP_DMTIMER3_MPU_MASK (1 << 0)
1670 /* Used by PM_L4PER_DMTIMER4_WKDEP */
1671 #define OMAP4430_WKUPDEP_DMTIMER4_DUCATI_SHIFT 1
1672 #define OMAP4430_WKUPDEP_DMTIMER4_DUCATI_MASK (1 << 1)
1674 /* Used by PM_L4PER_DMTIMER4_WKDEP */
1675 #define OMAP4430_WKUPDEP_DMTIMER4_MPU_SHIFT 0
1676 #define OMAP4430_WKUPDEP_DMTIMER4_MPU_MASK (1 << 0)
1678 /* Used by PM_L4PER_DMTIMER9_WKDEP */
1679 #define OMAP4430_WKUPDEP_DMTIMER9_DUCATI_SHIFT 1
1680 #define OMAP4430_WKUPDEP_DMTIMER9_DUCATI_MASK (1 << 1)
1682 /* Used by PM_L4PER_DMTIMER9_WKDEP */
1683 #define OMAP4430_WKUPDEP_DMTIMER9_MPU_SHIFT 0
1684 #define OMAP4430_WKUPDEP_DMTIMER9_MPU_MASK (1 << 0)
1686 /* Used by PM_DSS_DSS_WKDEP */
1687 #define OMAP4430_WKUPDEP_DSI1_DUCATI_SHIFT 5
1688 #define OMAP4430_WKUPDEP_DSI1_DUCATI_MASK (1 << 5)
1690 /* Used by PM_DSS_DSS_WKDEP */
1691 #define OMAP4430_WKUPDEP_DSI1_MPU_SHIFT 4
1692 #define OMAP4430_WKUPDEP_DSI1_MPU_MASK (1 << 4)
1694 /* Used by PM_DSS_DSS_WKDEP */
1695 #define OMAP4430_WKUPDEP_DSI1_SDMA_SHIFT 7
1696 #define OMAP4430_WKUPDEP_DSI1_SDMA_MASK (1 << 7)
1698 /* Used by PM_DSS_DSS_WKDEP */
1699 #define OMAP4430_WKUPDEP_DSI1_TESLA_SHIFT 6
1700 #define OMAP4430_WKUPDEP_DSI1_TESLA_MASK (1 << 6)
1702 /* Used by PM_DSS_DSS_WKDEP */
1703 #define OMAP4430_WKUPDEP_DSI2_DUCATI_SHIFT 9
1704 #define OMAP4430_WKUPDEP_DSI2_DUCATI_MASK (1 << 9)
1706 /* Used by PM_DSS_DSS_WKDEP */
1707 #define OMAP4430_WKUPDEP_DSI2_MPU_SHIFT 8
1708 #define OMAP4430_WKUPDEP_DSI2_MPU_MASK (1 << 8)
1710 /* Used by PM_DSS_DSS_WKDEP */
1711 #define OMAP4430_WKUPDEP_DSI2_SDMA_SHIFT 11
1712 #define OMAP4430_WKUPDEP_DSI2_SDMA_MASK (1 << 11)
1714 /* Used by PM_DSS_DSS_WKDEP */
1715 #define OMAP4430_WKUPDEP_DSI2_TESLA_SHIFT 10
1716 #define OMAP4430_WKUPDEP_DSI2_TESLA_MASK (1 << 10)
1718 /* Used by PM_WKUP_GPIO1_WKDEP */
1719 #define OMAP4430_WKUPDEP_GPIO1_IRQ1_DUCATI_SHIFT 1
1720 #define OMAP4430_WKUPDEP_GPIO1_IRQ1_DUCATI_MASK (1 << 1)
1722 /* Used by PM_WKUP_GPIO1_WKDEP */
1723 #define OMAP4430_WKUPDEP_GPIO1_IRQ1_MPU_SHIFT 0
1724 #define OMAP4430_WKUPDEP_GPIO1_IRQ1_MPU_MASK (1 << 0)
1726 /* Used by PM_WKUP_GPIO1_WKDEP */
1727 #define OMAP4430_WKUPDEP_GPIO1_IRQ2_TESLA_SHIFT 6
1728 #define OMAP4430_WKUPDEP_GPIO1_IRQ2_TESLA_MASK (1 << 6)
1730 /* Used by PM_L4PER_GPIO2_WKDEP */
1731 #define OMAP4430_WKUPDEP_GPIO2_IRQ1_DUCATI_SHIFT 1
1732 #define OMAP4430_WKUPDEP_GPIO2_IRQ1_DUCATI_MASK (1 << 1)
1734 /* Used by PM_L4PER_GPIO2_WKDEP */
1735 #define OMAP4430_WKUPDEP_GPIO2_IRQ1_MPU_SHIFT 0
1736 #define OMAP4430_WKUPDEP_GPIO2_IRQ1_MPU_MASK (1 << 0)
1738 /* Used by PM_L4PER_GPIO2_WKDEP */
1739 #define OMAP4430_WKUPDEP_GPIO2_IRQ2_TESLA_SHIFT 6
1740 #define OMAP4430_WKUPDEP_GPIO2_IRQ2_TESLA_MASK (1 << 6)
1742 /* Used by PM_L4PER_GPIO3_WKDEP */
1743 #define OMAP4430_WKUPDEP_GPIO3_IRQ1_MPU_SHIFT 0
1744 #define OMAP4430_WKUPDEP_GPIO3_IRQ1_MPU_MASK (1 << 0)
1746 /* Used by PM_L4PER_GPIO3_WKDEP */
1747 #define OMAP4430_WKUPDEP_GPIO3_IRQ2_TESLA_SHIFT 6
1748 #define OMAP4430_WKUPDEP_GPIO3_IRQ2_TESLA_MASK (1 << 6)
1750 /* Used by PM_L4PER_GPIO4_WKDEP */
1751 #define OMAP4430_WKUPDEP_GPIO4_IRQ1_MPU_SHIFT 0
1752 #define OMAP4430_WKUPDEP_GPIO4_IRQ1_MPU_MASK (1 << 0)
1754 /* Used by PM_L4PER_GPIO4_WKDEP */
1755 #define OMAP4430_WKUPDEP_GPIO4_IRQ2_TESLA_SHIFT 6
1756 #define OMAP4430_WKUPDEP_GPIO4_IRQ2_TESLA_MASK (1 << 6)
1758 /* Used by PM_L4PER_GPIO5_WKDEP */
1759 #define OMAP4430_WKUPDEP_GPIO5_IRQ1_MPU_SHIFT 0
1760 #define OMAP4430_WKUPDEP_GPIO5_IRQ1_MPU_MASK (1 << 0)
1762 /* Used by PM_L4PER_GPIO5_WKDEP */
1763 #define OMAP4430_WKUPDEP_GPIO5_IRQ2_TESLA_SHIFT 6
1764 #define OMAP4430_WKUPDEP_GPIO5_IRQ2_TESLA_MASK (1 << 6)
1766 /* Used by PM_L4PER_GPIO6_WKDEP */
1767 #define OMAP4430_WKUPDEP_GPIO6_IRQ1_MPU_SHIFT 0
1768 #define OMAP4430_WKUPDEP_GPIO6_IRQ1_MPU_MASK (1 << 0)
1770 /* Used by PM_L4PER_GPIO6_WKDEP */
1771 #define OMAP4430_WKUPDEP_GPIO6_IRQ2_TESLA_SHIFT 6
1772 #define OMAP4430_WKUPDEP_GPIO6_IRQ2_TESLA_MASK (1 << 6)
1774 /* Used by PM_DSS_DSS_WKDEP */
1775 #define OMAP4430_WKUPDEP_HDMIDMA_SDMA_SHIFT 19
1776 #define OMAP4430_WKUPDEP_HDMIDMA_SDMA_MASK (1 << 19)
1778 /* Used by PM_DSS_DSS_WKDEP */
1779 #define OMAP4430_WKUPDEP_HDMIIRQ_DUCATI_SHIFT 13
1780 #define OMAP4430_WKUPDEP_HDMIIRQ_DUCATI_MASK (1 << 13)
1782 /* Used by PM_DSS_DSS_WKDEP */
1783 #define OMAP4430_WKUPDEP_HDMIIRQ_MPU_SHIFT 12
1784 #define OMAP4430_WKUPDEP_HDMIIRQ_MPU_MASK (1 << 12)
1786 /* Used by PM_DSS_DSS_WKDEP */
1787 #define OMAP4430_WKUPDEP_HDMIIRQ_TESLA_SHIFT 14
1788 #define OMAP4430_WKUPDEP_HDMIIRQ_TESLA_MASK (1 << 14)
1790 /* Used by PM_L4PER_HECC1_WKDEP */
1791 #define OMAP4430_WKUPDEP_HECC1_MPU_SHIFT 0
1792 #define OMAP4430_WKUPDEP_HECC1_MPU_MASK (1 << 0)
1794 /* Used by PM_L4PER_HECC2_WKDEP */
1795 #define OMAP4430_WKUPDEP_HECC2_MPU_SHIFT 0
1796 #define OMAP4430_WKUPDEP_HECC2_MPU_MASK (1 << 0)
1798 /* Used by PM_L3INIT_HSI_WKDEP */
1799 #define OMAP4430_WKUPDEP_HSI_DSP_TESLA_SHIFT 6
1800 #define OMAP4430_WKUPDEP_HSI_DSP_TESLA_MASK (1 << 6)
1802 /* Used by PM_L3INIT_HSI_WKDEP */
1803 #define OMAP4430_WKUPDEP_HSI_MCU_DUCATI_SHIFT 1
1804 #define OMAP4430_WKUPDEP_HSI_MCU_DUCATI_MASK (1 << 1)
1806 /* Used by PM_L3INIT_HSI_WKDEP */
1807 #define OMAP4430_WKUPDEP_HSI_MCU_MPU_SHIFT 0
1808 #define OMAP4430_WKUPDEP_HSI_MCU_MPU_MASK (1 << 0)
1810 /* Used by PM_L4PER_I2C1_WKDEP */
1811 #define OMAP4430_WKUPDEP_I2C1_DMA_SDMA_SHIFT 7
1812 #define OMAP4430_WKUPDEP_I2C1_DMA_SDMA_MASK (1 << 7)
1814 /* Used by PM_L4PER_I2C1_WKDEP */
1815 #define OMAP4430_WKUPDEP_I2C1_IRQ_DUCATI_SHIFT 1
1816 #define OMAP4430_WKUPDEP_I2C1_IRQ_DUCATI_MASK (1 << 1)
1818 /* Used by PM_L4PER_I2C1_WKDEP */
1819 #define OMAP4430_WKUPDEP_I2C1_IRQ_MPU_SHIFT 0
1820 #define OMAP4430_WKUPDEP_I2C1_IRQ_MPU_MASK (1 << 0)
1822 /* Used by PM_L4PER_I2C2_WKDEP */
1823 #define OMAP4430_WKUPDEP_I2C2_DMA_SDMA_SHIFT 7
1824 #define OMAP4430_WKUPDEP_I2C2_DMA_SDMA_MASK (1 << 7)
1826 /* Used by PM_L4PER_I2C2_WKDEP */
1827 #define OMAP4430_WKUPDEP_I2C2_IRQ_DUCATI_SHIFT 1
1828 #define OMAP4430_WKUPDEP_I2C2_IRQ_DUCATI_MASK (1 << 1)
1830 /* Used by PM_L4PER_I2C2_WKDEP */
1831 #define OMAP4430_WKUPDEP_I2C2_IRQ_MPU_SHIFT 0
1832 #define OMAP4430_WKUPDEP_I2C2_IRQ_MPU_MASK (1 << 0)
1834 /* Used by PM_L4PER_I2C3_WKDEP */
1835 #define OMAP4430_WKUPDEP_I2C3_DMA_SDMA_SHIFT 7
1836 #define OMAP4430_WKUPDEP_I2C3_DMA_SDMA_MASK (1 << 7)
1838 /* Used by PM_L4PER_I2C3_WKDEP */
1839 #define OMAP4430_WKUPDEP_I2C3_IRQ_DUCATI_SHIFT 1
1840 #define OMAP4430_WKUPDEP_I2C3_IRQ_DUCATI_MASK (1 << 1)
1842 /* Used by PM_L4PER_I2C3_WKDEP */
1843 #define OMAP4430_WKUPDEP_I2C3_IRQ_MPU_SHIFT 0
1844 #define OMAP4430_WKUPDEP_I2C3_IRQ_MPU_MASK (1 << 0)
1846 /* Used by PM_L4PER_I2C4_WKDEP */
1847 #define OMAP4430_WKUPDEP_I2C4_DMA_SDMA_SHIFT 7
1848 #define OMAP4430_WKUPDEP_I2C4_DMA_SDMA_MASK (1 << 7)
1850 /* Used by PM_L4PER_I2C4_WKDEP */
1851 #define OMAP4430_WKUPDEP_I2C4_IRQ_DUCATI_SHIFT 1
1852 #define OMAP4430_WKUPDEP_I2C4_IRQ_DUCATI_MASK (1 << 1)
1854 /* Used by PM_L4PER_I2C4_WKDEP */
1855 #define OMAP4430_WKUPDEP_I2C4_IRQ_MPU_SHIFT 0
1856 #define OMAP4430_WKUPDEP_I2C4_IRQ_MPU_MASK (1 << 0)
1858 /* Used by PM_L4PER_I2C5_WKDEP */
1859 #define OMAP4430_WKUPDEP_I2C5_DMA_SDMA_SHIFT 7
1860 #define OMAP4430_WKUPDEP_I2C5_DMA_SDMA_MASK (1 << 7)
1862 /* Used by PM_L4PER_I2C5_WKDEP */
1863 #define OMAP4430_WKUPDEP_I2C5_IRQ_MPU_SHIFT 0
1864 #define OMAP4430_WKUPDEP_I2C5_IRQ_MPU_MASK (1 << 0)
1866 /* Used by PM_WKUP_KEYBOARD_WKDEP */
1867 #define OMAP4430_WKUPDEP_KEYBOARD_MPU_SHIFT 0
1868 #define OMAP4430_WKUPDEP_KEYBOARD_MPU_MASK (1 << 0)
1870 /* Used by PM_ABE_MCASP_WKDEP */
1871 #define OMAP4430_WKUPDEP_MCASP1_DMA_SDMA_SHIFT 7
1872 #define OMAP4430_WKUPDEP_MCASP1_DMA_SDMA_MASK (1 << 7)
1874 /* Used by PM_ABE_MCASP_WKDEP */
1875 #define OMAP4430_WKUPDEP_MCASP1_DMA_TESLA_SHIFT 6
1876 #define OMAP4430_WKUPDEP_MCASP1_DMA_TESLA_MASK (1 << 6)
1878 /* Used by PM_ABE_MCASP_WKDEP */
1879 #define OMAP4430_WKUPDEP_MCASP1_IRQ_MPU_SHIFT 0
1880 #define OMAP4430_WKUPDEP_MCASP1_IRQ_MPU_MASK (1 << 0)
1882 /* Used by PM_ABE_MCASP_WKDEP */
1883 #define OMAP4430_WKUPDEP_MCASP1_IRQ_TESLA_SHIFT 2
1884 #define OMAP4430_WKUPDEP_MCASP1_IRQ_TESLA_MASK (1 << 2)
1886 /* Used by PM_L4PER_MCASP2_WKDEP */
1887 #define OMAP4430_WKUPDEP_MCASP2_DMA_SDMA_SHIFT 7
1888 #define OMAP4430_WKUPDEP_MCASP2_DMA_SDMA_MASK (1 << 7)
1890 /* Used by PM_L4PER_MCASP2_WKDEP */
1891 #define OMAP4430_WKUPDEP_MCASP2_DMA_TESLA_SHIFT 6
1892 #define OMAP4430_WKUPDEP_MCASP2_DMA_TESLA_MASK (1 << 6)
1894 /* Used by PM_L4PER_MCASP2_WKDEP */
1895 #define OMAP4430_WKUPDEP_MCASP2_IRQ_MPU_SHIFT 0
1896 #define OMAP4430_WKUPDEP_MCASP2_IRQ_MPU_MASK (1 << 0)
1898 /* Used by PM_L4PER_MCASP2_WKDEP */
1899 #define OMAP4430_WKUPDEP_MCASP2_IRQ_TESLA_SHIFT 2
1900 #define OMAP4430_WKUPDEP_MCASP2_IRQ_TESLA_MASK (1 << 2)
1902 /* Used by PM_L4PER_MCASP3_WKDEP */
1903 #define OMAP4430_WKUPDEP_MCASP3_DMA_SDMA_SHIFT 7
1904 #define OMAP4430_WKUPDEP_MCASP3_DMA_SDMA_MASK (1 << 7)
1906 /* Used by PM_L4PER_MCASP3_WKDEP */
1907 #define OMAP4430_WKUPDEP_MCASP3_DMA_TESLA_SHIFT 6
1908 #define OMAP4430_WKUPDEP_MCASP3_DMA_TESLA_MASK (1 << 6)
1910 /* Used by PM_L4PER_MCASP3_WKDEP */
1911 #define OMAP4430_WKUPDEP_MCASP3_IRQ_MPU_SHIFT 0
1912 #define OMAP4430_WKUPDEP_MCASP3_IRQ_MPU_MASK (1 << 0)
1914 /* Used by PM_L4PER_MCASP3_WKDEP */
1915 #define OMAP4430_WKUPDEP_MCASP3_IRQ_TESLA_SHIFT 2
1916 #define OMAP4430_WKUPDEP_MCASP3_IRQ_TESLA_MASK (1 << 2)
1918 /* Used by PM_ABE_MCBSP1_WKDEP */
1919 #define OMAP4430_WKUPDEP_MCBSP1_MPU_SHIFT 0
1920 #define OMAP4430_WKUPDEP_MCBSP1_MPU_MASK (1 << 0)
1922 /* Used by PM_ABE_MCBSP1_WKDEP */
1923 #define OMAP4430_WKUPDEP_MCBSP1_SDMA_SHIFT 3
1924 #define OMAP4430_WKUPDEP_MCBSP1_SDMA_MASK (1 << 3)
1926 /* Used by PM_ABE_MCBSP1_WKDEP */
1927 #define OMAP4430_WKUPDEP_MCBSP1_TESLA_SHIFT 2
1928 #define OMAP4430_WKUPDEP_MCBSP1_TESLA_MASK (1 << 2)
1930 /* Used by PM_ABE_MCBSP2_WKDEP */
1931 #define OMAP4430_WKUPDEP_MCBSP2_MPU_SHIFT 0
1932 #define OMAP4430_WKUPDEP_MCBSP2_MPU_MASK (1 << 0)
1934 /* Used by PM_ABE_MCBSP2_WKDEP */
1935 #define OMAP4430_WKUPDEP_MCBSP2_SDMA_SHIFT 3
1936 #define OMAP4430_WKUPDEP_MCBSP2_SDMA_MASK (1 << 3)
1938 /* Used by PM_ABE_MCBSP2_WKDEP */
1939 #define OMAP4430_WKUPDEP_MCBSP2_TESLA_SHIFT 2
1940 #define OMAP4430_WKUPDEP_MCBSP2_TESLA_MASK (1 << 2)
1942 /* Used by PM_ABE_MCBSP3_WKDEP */
1943 #define OMAP4430_WKUPDEP_MCBSP3_MPU_SHIFT 0
1944 #define OMAP4430_WKUPDEP_MCBSP3_MPU_MASK (1 << 0)
1946 /* Used by PM_ABE_MCBSP3_WKDEP */
1947 #define OMAP4430_WKUPDEP_MCBSP3_SDMA_SHIFT 3
1948 #define OMAP4430_WKUPDEP_MCBSP3_SDMA_MASK (1 << 3)
1950 /* Used by PM_ABE_MCBSP3_WKDEP */
1951 #define OMAP4430_WKUPDEP_MCBSP3_TESLA_SHIFT 2
1952 #define OMAP4430_WKUPDEP_MCBSP3_TESLA_MASK (1 << 2)
1954 /* Used by PM_L4PER_MCBSP4_WKDEP */
1955 #define OMAP4430_WKUPDEP_MCBSP4_MPU_SHIFT 0
1956 #define OMAP4430_WKUPDEP_MCBSP4_MPU_MASK (1 << 0)
1958 /* Used by PM_L4PER_MCBSP4_WKDEP */
1959 #define OMAP4430_WKUPDEP_MCBSP4_SDMA_SHIFT 3
1960 #define OMAP4430_WKUPDEP_MCBSP4_SDMA_MASK (1 << 3)
1962 /* Used by PM_L4PER_MCBSP4_WKDEP */
1963 #define OMAP4430_WKUPDEP_MCBSP4_TESLA_SHIFT 2
1964 #define OMAP4430_WKUPDEP_MCBSP4_TESLA_MASK (1 << 2)
1966 /* Used by PM_L4PER_MCSPI1_WKDEP */
1967 #define OMAP4430_WKUPDEP_MCSPI1_DUCATI_SHIFT 1
1968 #define OMAP4430_WKUPDEP_MCSPI1_DUCATI_MASK (1 << 1)
1970 /* Used by PM_L4PER_MCSPI1_WKDEP */
1971 #define OMAP4430_WKUPDEP_MCSPI1_MPU_SHIFT 0
1972 #define OMAP4430_WKUPDEP_MCSPI1_MPU_MASK (1 << 0)
1974 /* Used by PM_L4PER_MCSPI1_WKDEP */
1975 #define OMAP4430_WKUPDEP_MCSPI1_SDMA_SHIFT 3
1976 #define OMAP4430_WKUPDEP_MCSPI1_SDMA_MASK (1 << 3)
1978 /* Used by PM_L4PER_MCSPI1_WKDEP */
1979 #define OMAP4430_WKUPDEP_MCSPI1_TESLA_SHIFT 2
1980 #define OMAP4430_WKUPDEP_MCSPI1_TESLA_MASK (1 << 2)
1982 /* Used by PM_L4PER_MCSPI2_WKDEP */
1983 #define OMAP4430_WKUPDEP_MCSPI2_DUCATI_SHIFT 1
1984 #define OMAP4430_WKUPDEP_MCSPI2_DUCATI_MASK (1 << 1)
1986 /* Used by PM_L4PER_MCSPI2_WKDEP */
1987 #define OMAP4430_WKUPDEP_MCSPI2_MPU_SHIFT 0
1988 #define OMAP4430_WKUPDEP_MCSPI2_MPU_MASK (1 << 0)
1990 /* Used by PM_L4PER_MCSPI2_WKDEP */
1991 #define OMAP4430_WKUPDEP_MCSPI2_SDMA_SHIFT 3
1992 #define OMAP4430_WKUPDEP_MCSPI2_SDMA_MASK (1 << 3)
1994 /* Used by PM_L4PER_MCSPI3_WKDEP */
1995 #define OMAP4430_WKUPDEP_MCSPI3_MPU_SHIFT 0
1996 #define OMAP4430_WKUPDEP_MCSPI3_MPU_MASK (1 << 0)
1998 /* Used by PM_L4PER_MCSPI3_WKDEP */
1999 #define OMAP4430_WKUPDEP_MCSPI3_SDMA_SHIFT 3
2000 #define OMAP4430_WKUPDEP_MCSPI3_SDMA_MASK (1 << 3)
2002 /* Used by PM_L4PER_MCSPI4_WKDEP */
2003 #define OMAP4430_WKUPDEP_MCSPI4_MPU_SHIFT 0
2004 #define OMAP4430_WKUPDEP_MCSPI4_MPU_MASK (1 << 0)
2006 /* Used by PM_L4PER_MCSPI4_WKDEP */
2007 #define OMAP4430_WKUPDEP_MCSPI4_SDMA_SHIFT 3
2008 #define OMAP4430_WKUPDEP_MCSPI4_SDMA_MASK (1 << 3)
2010 /* Used by PM_L3INIT_MMC1_WKDEP */
2011 #define OMAP4430_WKUPDEP_MMC1_DUCATI_SHIFT 1
2012 #define OMAP4430_WKUPDEP_MMC1_DUCATI_MASK (1 << 1)
2014 /* Used by PM_L3INIT_MMC1_WKDEP */
2015 #define OMAP4430_WKUPDEP_MMC1_MPU_SHIFT 0
2016 #define OMAP4430_WKUPDEP_MMC1_MPU_MASK (1 << 0)
2018 /* Used by PM_L3INIT_MMC1_WKDEP */
2019 #define OMAP4430_WKUPDEP_MMC1_SDMA_SHIFT 3
2020 #define OMAP4430_WKUPDEP_MMC1_SDMA_MASK (1 << 3)
2022 /* Used by PM_L3INIT_MMC1_WKDEP */
2023 #define OMAP4430_WKUPDEP_MMC1_TESLA_SHIFT 2
2024 #define OMAP4430_WKUPDEP_MMC1_TESLA_MASK (1 << 2)
2026 /* Used by PM_L3INIT_MMC2_WKDEP */
2027 #define OMAP4430_WKUPDEP_MMC2_DUCATI_SHIFT 1
2028 #define OMAP4430_WKUPDEP_MMC2_DUCATI_MASK (1 << 1)
2030 /* Used by PM_L3INIT_MMC2_WKDEP */
2031 #define OMAP4430_WKUPDEP_MMC2_MPU_SHIFT 0
2032 #define OMAP4430_WKUPDEP_MMC2_MPU_MASK (1 << 0)
2034 /* Used by PM_L3INIT_MMC2_WKDEP */
2035 #define OMAP4430_WKUPDEP_MMC2_SDMA_SHIFT 3
2036 #define OMAP4430_WKUPDEP_MMC2_SDMA_MASK (1 << 3)
2038 /* Used by PM_L3INIT_MMC2_WKDEP */
2039 #define OMAP4430_WKUPDEP_MMC2_TESLA_SHIFT 2
2040 #define OMAP4430_WKUPDEP_MMC2_TESLA_MASK (1 << 2)
2042 /* Used by PM_L3INIT_MMC6_WKDEP */
2043 #define OMAP4430_WKUPDEP_MMC6_DUCATI_SHIFT 1
2044 #define OMAP4430_WKUPDEP_MMC6_DUCATI_MASK (1 << 1)
2046 /* Used by PM_L3INIT_MMC6_WKDEP */
2047 #define OMAP4430_WKUPDEP_MMC6_MPU_SHIFT 0
2048 #define OMAP4430_WKUPDEP_MMC6_MPU_MASK (1 << 0)
2050 /* Used by PM_L3INIT_MMC6_WKDEP */
2051 #define OMAP4430_WKUPDEP_MMC6_TESLA_SHIFT 2
2052 #define OMAP4430_WKUPDEP_MMC6_TESLA_MASK (1 << 2)
2054 /* Used by PM_L4PER_MMCSD3_WKDEP */
2055 #define OMAP4430_WKUPDEP_MMCSD3_DUCATI_SHIFT 1
2056 #define OMAP4430_WKUPDEP_MMCSD3_DUCATI_MASK (1 << 1)
2058 /* Used by PM_L4PER_MMCSD3_WKDEP */
2059 #define OMAP4430_WKUPDEP_MMCSD3_MPU_SHIFT 0
2060 #define OMAP4430_WKUPDEP_MMCSD3_MPU_MASK (1 << 0)
2062 /* Used by PM_L4PER_MMCSD3_WKDEP */
2063 #define OMAP4430_WKUPDEP_MMCSD3_SDMA_SHIFT 3
2064 #define OMAP4430_WKUPDEP_MMCSD3_SDMA_MASK (1 << 3)
2066 /* Used by PM_L4PER_MMCSD4_WKDEP */
2067 #define OMAP4430_WKUPDEP_MMCSD4_DUCATI_SHIFT 1
2068 #define OMAP4430_WKUPDEP_MMCSD4_DUCATI_MASK (1 << 1)
2070 /* Used by PM_L4PER_MMCSD4_WKDEP */
2071 #define OMAP4430_WKUPDEP_MMCSD4_MPU_SHIFT 0
2072 #define OMAP4430_WKUPDEP_MMCSD4_MPU_MASK (1 << 0)
2074 /* Used by PM_L4PER_MMCSD4_WKDEP */
2075 #define OMAP4430_WKUPDEP_MMCSD4_SDMA_SHIFT 3
2076 #define OMAP4430_WKUPDEP_MMCSD4_SDMA_MASK (1 << 3)
2078 /* Used by PM_L4PER_MMCSD5_WKDEP */
2079 #define OMAP4430_WKUPDEP_MMCSD5_DUCATI_SHIFT 1
2080 #define OMAP4430_WKUPDEP_MMCSD5_DUCATI_MASK (1 << 1)
2082 /* Used by PM_L4PER_MMCSD5_WKDEP */
2083 #define OMAP4430_WKUPDEP_MMCSD5_MPU_SHIFT 0
2084 #define OMAP4430_WKUPDEP_MMCSD5_MPU_MASK (1 << 0)
2086 /* Used by PM_L4PER_MMCSD5_WKDEP */
2087 #define OMAP4430_WKUPDEP_MMCSD5_SDMA_SHIFT 3
2088 #define OMAP4430_WKUPDEP_MMCSD5_SDMA_MASK (1 << 3)
2090 /* Used by PM_L3INIT_PCIESS_WKDEP */
2091 #define OMAP4430_WKUPDEP_PCIESS_MPU_SHIFT 0
2092 #define OMAP4430_WKUPDEP_PCIESS_MPU_MASK (1 << 0)
2094 /* Used by PM_L3INIT_PCIESS_WKDEP */
2095 #define OMAP4430_WKUPDEP_PCIESS_TESLA_SHIFT 2
2096 #define OMAP4430_WKUPDEP_PCIESS_TESLA_MASK (1 << 2)
2098 /* Used by PM_ABE_PDM_WKDEP */
2099 #define OMAP4430_WKUPDEP_PDM_DMA_SDMA_SHIFT 7
2100 #define OMAP4430_WKUPDEP_PDM_DMA_SDMA_MASK (1 << 7)
2102 /* Used by PM_ABE_PDM_WKDEP */
2103 #define OMAP4430_WKUPDEP_PDM_DMA_TESLA_SHIFT 6
2104 #define OMAP4430_WKUPDEP_PDM_DMA_TESLA_MASK (1 << 6)
2106 /* Used by PM_ABE_PDM_WKDEP */
2107 #define OMAP4430_WKUPDEP_PDM_IRQ_MPU_SHIFT 0
2108 #define OMAP4430_WKUPDEP_PDM_IRQ_MPU_MASK (1 << 0)
2110 /* Used by PM_ABE_PDM_WKDEP */
2111 #define OMAP4430_WKUPDEP_PDM_IRQ_TESLA_SHIFT 2
2112 #define OMAP4430_WKUPDEP_PDM_IRQ_TESLA_MASK (1 << 2)
2114 /* Used by PM_WKUP_RTC_WKDEP */
2115 #define OMAP4430_WKUPDEP_RTC_MPU_SHIFT 0
2116 #define OMAP4430_WKUPDEP_RTC_MPU_MASK (1 << 0)
2118 /* Used by PM_L3INIT_SATA_WKDEP */
2119 #define OMAP4430_WKUPDEP_SATA_MPU_SHIFT 0
2120 #define OMAP4430_WKUPDEP_SATA_MPU_MASK (1 << 0)
2122 /* Used by PM_L3INIT_SATA_WKDEP */
2123 #define OMAP4430_WKUPDEP_SATA_TESLA_SHIFT 2
2124 #define OMAP4430_WKUPDEP_SATA_TESLA_MASK (1 << 2)
2126 /* Used by PM_ABE_SLIMBUS_WKDEP */
2127 #define OMAP4430_WKUPDEP_SLIMBUS1_DMA_SDMA_SHIFT 7
2128 #define OMAP4430_WKUPDEP_SLIMBUS1_DMA_SDMA_MASK (1 << 7)
2130 /* Used by PM_ABE_SLIMBUS_WKDEP */
2131 #define OMAP4430_WKUPDEP_SLIMBUS1_DMA_TESLA_SHIFT 6
2132 #define OMAP4430_WKUPDEP_SLIMBUS1_DMA_TESLA_MASK (1 << 6)
2134 /* Used by PM_ABE_SLIMBUS_WKDEP */
2135 #define OMAP4430_WKUPDEP_SLIMBUS1_IRQ_MPU_SHIFT 0
2136 #define OMAP4430_WKUPDEP_SLIMBUS1_IRQ_MPU_MASK (1 << 0)
2138 /* Used by PM_ABE_SLIMBUS_WKDEP */
2139 #define OMAP4430_WKUPDEP_SLIMBUS1_IRQ_TESLA_SHIFT 2
2140 #define OMAP4430_WKUPDEP_SLIMBUS1_IRQ_TESLA_MASK (1 << 2)
2142 /* Used by PM_L4PER_SLIMBUS2_WKDEP */
2143 #define OMAP4430_WKUPDEP_SLIMBUS2_DMA_SDMA_SHIFT 7
2144 #define OMAP4430_WKUPDEP_SLIMBUS2_DMA_SDMA_MASK (1 << 7)
2146 /* Used by PM_L4PER_SLIMBUS2_WKDEP */
2147 #define OMAP4430_WKUPDEP_SLIMBUS2_DMA_TESLA_SHIFT 6
2148 #define OMAP4430_WKUPDEP_SLIMBUS2_DMA_TESLA_MASK (1 << 6)
2150 /* Used by PM_L4PER_SLIMBUS2_WKDEP */
2151 #define OMAP4430_WKUPDEP_SLIMBUS2_IRQ_MPU_SHIFT 0
2152 #define OMAP4430_WKUPDEP_SLIMBUS2_IRQ_MPU_MASK (1 << 0)
2154 /* Used by PM_L4PER_SLIMBUS2_WKDEP */
2155 #define OMAP4430_WKUPDEP_SLIMBUS2_IRQ_TESLA_SHIFT 2
2156 #define OMAP4430_WKUPDEP_SLIMBUS2_IRQ_TESLA_MASK (1 << 2)
2158 /* Used by PM_ALWON_SR_CORE_WKDEP */
2159 #define OMAP4430_WKUPDEP_SR_CORE_DUCATI_SHIFT 1
2160 #define OMAP4430_WKUPDEP_SR_CORE_DUCATI_MASK (1 << 1)
2162 /* Used by PM_ALWON_SR_CORE_WKDEP */
2163 #define OMAP4430_WKUPDEP_SR_CORE_MPU_SHIFT 0
2164 #define OMAP4430_WKUPDEP_SR_CORE_MPU_MASK (1 << 0)
2166 /* Used by PM_ALWON_SR_IVA_WKDEP */
2167 #define OMAP4430_WKUPDEP_SR_IVA_DUCATI_SHIFT 1
2168 #define OMAP4430_WKUPDEP_SR_IVA_DUCATI_MASK (1 << 1)
2170 /* Used by PM_ALWON_SR_IVA_WKDEP */
2171 #define OMAP4430_WKUPDEP_SR_IVA_MPU_SHIFT 0
2172 #define OMAP4430_WKUPDEP_SR_IVA_MPU_MASK (1 << 0)
2174 /* Used by PM_ALWON_SR_MPU_WKDEP */
2175 #define OMAP4430_WKUPDEP_SR_MPU_MPU_SHIFT 0
2176 #define OMAP4430_WKUPDEP_SR_MPU_MPU_MASK (1 << 0)
2178 /* Used by PM_WKUP_TIMER12_WKDEP */
2179 #define OMAP4430_WKUPDEP_TIMER12_MPU_SHIFT 0
2180 #define OMAP4430_WKUPDEP_TIMER12_MPU_MASK (1 << 0)
2182 /* Used by PM_WKUP_TIMER1_WKDEP */
2183 #define OMAP4430_WKUPDEP_TIMER1_MPU_SHIFT 0
2184 #define OMAP4430_WKUPDEP_TIMER1_MPU_MASK (1 << 0)
2186 /* Used by PM_ABE_TIMER5_WKDEP */
2187 #define OMAP4430_WKUPDEP_TIMER5_MPU_SHIFT 0
2188 #define OMAP4430_WKUPDEP_TIMER5_MPU_MASK (1 << 0)
2190 /* Used by PM_ABE_TIMER5_WKDEP */
2191 #define OMAP4430_WKUPDEP_TIMER5_TESLA_SHIFT 2
2192 #define OMAP4430_WKUPDEP_TIMER5_TESLA_MASK (1 << 2)
2194 /* Used by PM_ABE_TIMER6_WKDEP */
2195 #define OMAP4430_WKUPDEP_TIMER6_MPU_SHIFT 0
2196 #define OMAP4430_WKUPDEP_TIMER6_MPU_MASK (1 << 0)
2198 /* Used by PM_ABE_TIMER6_WKDEP */
2199 #define OMAP4430_WKUPDEP_TIMER6_TESLA_SHIFT 2
2200 #define OMAP4430_WKUPDEP_TIMER6_TESLA_MASK (1 << 2)
2202 /* Used by PM_ABE_TIMER7_WKDEP */
2203 #define OMAP4430_WKUPDEP_TIMER7_MPU_SHIFT 0
2204 #define OMAP4430_WKUPDEP_TIMER7_MPU_MASK (1 << 0)
2206 /* Used by PM_ABE_TIMER7_WKDEP */
2207 #define OMAP4430_WKUPDEP_TIMER7_TESLA_SHIFT 2
2208 #define OMAP4430_WKUPDEP_TIMER7_TESLA_MASK (1 << 2)
2210 /* Used by PM_ABE_TIMER8_WKDEP */
2211 #define OMAP4430_WKUPDEP_TIMER8_MPU_SHIFT 0
2212 #define OMAP4430_WKUPDEP_TIMER8_MPU_MASK (1 << 0)
2214 /* Used by PM_ABE_TIMER8_WKDEP */
2215 #define OMAP4430_WKUPDEP_TIMER8_TESLA_SHIFT 2
2216 #define OMAP4430_WKUPDEP_TIMER8_TESLA_MASK (1 << 2)
2218 /* Used by PM_L4PER_UART1_WKDEP */
2219 #define OMAP4430_WKUPDEP_UART1_MPU_SHIFT 0
2220 #define OMAP4430_WKUPDEP_UART1_MPU_MASK (1 << 0)
2222 /* Used by PM_L4PER_UART1_WKDEP */
2223 #define OMAP4430_WKUPDEP_UART1_SDMA_SHIFT 3
2224 #define OMAP4430_WKUPDEP_UART1_SDMA_MASK (1 << 3)
2226 /* Used by PM_L4PER_UART2_WKDEP */
2227 #define OMAP4430_WKUPDEP_UART2_MPU_SHIFT 0
2228 #define OMAP4430_WKUPDEP_UART2_MPU_MASK (1 << 0)
2230 /* Used by PM_L4PER_UART2_WKDEP */
2231 #define OMAP4430_WKUPDEP_UART2_SDMA_SHIFT 3
2232 #define OMAP4430_WKUPDEP_UART2_SDMA_MASK (1 << 3)
2234 /* Used by PM_L4PER_UART3_WKDEP */
2235 #define OMAP4430_WKUPDEP_UART3_DUCATI_SHIFT 1
2236 #define OMAP4430_WKUPDEP_UART3_DUCATI_MASK (1 << 1)
2238 /* Used by PM_L4PER_UART3_WKDEP */
2239 #define OMAP4430_WKUPDEP_UART3_MPU_SHIFT 0
2240 #define OMAP4430_WKUPDEP_UART3_MPU_MASK (1 << 0)
2242 /* Used by PM_L4PER_UART3_WKDEP */
2243 #define OMAP4430_WKUPDEP_UART3_SDMA_SHIFT 3
2244 #define OMAP4430_WKUPDEP_UART3_SDMA_MASK (1 << 3)
2246 /* Used by PM_L4PER_UART3_WKDEP */
2247 #define OMAP4430_WKUPDEP_UART3_TESLA_SHIFT 2
2248 #define OMAP4430_WKUPDEP_UART3_TESLA_MASK (1 << 2)
2250 /* Used by PM_L4PER_UART4_WKDEP */
2251 #define OMAP4430_WKUPDEP_UART4_MPU_SHIFT 0
2252 #define OMAP4430_WKUPDEP_UART4_MPU_MASK (1 << 0)
2254 /* Used by PM_L4PER_UART4_WKDEP */
2255 #define OMAP4430_WKUPDEP_UART4_SDMA_SHIFT 3
2256 #define OMAP4430_WKUPDEP_UART4_SDMA_MASK (1 << 3)
2258 /* Used by PM_L3INIT_UNIPRO1_WKDEP */
2259 #define OMAP4430_WKUPDEP_UNIPRO1_DUCATI_SHIFT 1
2260 #define OMAP4430_WKUPDEP_UNIPRO1_DUCATI_MASK (1 << 1)
2262 /* Used by PM_L3INIT_UNIPRO1_WKDEP */
2263 #define OMAP4430_WKUPDEP_UNIPRO1_MPU_SHIFT 0
2264 #define OMAP4430_WKUPDEP_UNIPRO1_MPU_MASK (1 << 0)
2266 /* Used by PM_L3INIT_USB_HOST_WKDEP */
2267 #define OMAP4430_WKUPDEP_USB_HOST_DUCATI_SHIFT 1
2268 #define OMAP4430_WKUPDEP_USB_HOST_DUCATI_MASK (1 << 1)
2270 /* Used by PM_L3INIT_USB_HOST_FS_WKDEP */
2271 #define OMAP4430_WKUPDEP_USB_HOST_FS_DUCATI_SHIFT 1
2272 #define OMAP4430_WKUPDEP_USB_HOST_FS_DUCATI_MASK (1 << 1)
2274 /* Used by PM_L3INIT_USB_HOST_FS_WKDEP */
2275 #define OMAP4430_WKUPDEP_USB_HOST_FS_MPU_SHIFT 0
2276 #define OMAP4430_WKUPDEP_USB_HOST_FS_MPU_MASK (1 << 0)
2278 /* Used by PM_L3INIT_USB_HOST_WKDEP */
2279 #define OMAP4430_WKUPDEP_USB_HOST_MPU_SHIFT 0
2280 #define OMAP4430_WKUPDEP_USB_HOST_MPU_MASK (1 << 0)
2282 /* Used by PM_L3INIT_USB_OTG_WKDEP */
2283 #define OMAP4430_WKUPDEP_USB_OTG_DUCATI_SHIFT 1
2284 #define OMAP4430_WKUPDEP_USB_OTG_DUCATI_MASK (1 << 1)
2286 /* Used by PM_L3INIT_USB_OTG_WKDEP */
2287 #define OMAP4430_WKUPDEP_USB_OTG_MPU_SHIFT 0
2288 #define OMAP4430_WKUPDEP_USB_OTG_MPU_MASK (1 << 0)
2290 /* Used by PM_L3INIT_USB_TLL_WKDEP */
2291 #define OMAP4430_WKUPDEP_USB_TLL_DUCATI_SHIFT 1
2292 #define OMAP4430_WKUPDEP_USB_TLL_DUCATI_MASK (1 << 1)
2294 /* Used by PM_L3INIT_USB_TLL_WKDEP */
2295 #define OMAP4430_WKUPDEP_USB_TLL_MPU_SHIFT 0
2296 #define OMAP4430_WKUPDEP_USB_TLL_MPU_MASK (1 << 0)
2298 /* Used by PM_WKUP_USIM_WKDEP */
2299 #define OMAP4430_WKUPDEP_USIM_MPU_SHIFT 0
2300 #define OMAP4430_WKUPDEP_USIM_MPU_MASK (1 << 0)
2302 /* Used by PM_WKUP_USIM_WKDEP */
2303 #define OMAP4430_WKUPDEP_USIM_SDMA_SHIFT 3
2304 #define OMAP4430_WKUPDEP_USIM_SDMA_MASK (1 << 3)
2306 /* Used by PM_WKUP_WDT2_WKDEP */
2307 #define OMAP4430_WKUPDEP_WDT2_DUCATI_SHIFT 1
2308 #define OMAP4430_WKUPDEP_WDT2_DUCATI_MASK (1 << 1)
2310 /* Used by PM_WKUP_WDT2_WKDEP */
2311 #define OMAP4430_WKUPDEP_WDT2_MPU_SHIFT 0
2312 #define OMAP4430_WKUPDEP_WDT2_MPU_MASK (1 << 0)
2314 /* Used by PM_ABE_WDT3_WKDEP */
2315 #define OMAP4430_WKUPDEP_WDT3_MPU_SHIFT 0
2316 #define OMAP4430_WKUPDEP_WDT3_MPU_MASK (1 << 0)
2318 /* Used by PM_L3INIT_HSI_WKDEP */
2319 #define OMAP4430_WKUPDEP_WGM_HSI_WAKE_MPU_SHIFT 8
2320 #define OMAP4430_WKUPDEP_WGM_HSI_WAKE_MPU_MASK (1 << 8)
2322 /* Used by PM_L3INIT_XHPI_WKDEP */
2323 #define OMAP4430_WKUPDEP_XHPI_DUCATI_SHIFT 1
2324 #define OMAP4430_WKUPDEP_XHPI_DUCATI_MASK (1 << 1)
2326 /* Used by PRM_IO_PMCTRL */
2327 #define OMAP4430_WUCLK_CTRL_SHIFT 8
2328 #define OMAP4430_WUCLK_CTRL_MASK (1 << 8)
2330 /* Used by PRM_IO_PMCTRL */
2331 #define OMAP4430_WUCLK_STATUS_SHIFT 9
2332 #define OMAP4430_WUCLK_STATUS_MASK (1 << 9)
2334 /* Used by REVISION_PRM */
2335 #define OMAP4430_X_MAJOR_SHIFT 8
2336 #define OMAP4430_X_MAJOR_MASK (0x7 << 8)
2338 /* Used by REVISION_PRM */
2339 #define OMAP4430_Y_MINOR_SHIFT 0
2340 #define OMAP4430_Y_MINOR_MASK (0x3f << 0)
2341 #endif