ARM: AM43xx: Add the PRM IRQ register offsets
authorKeerthy <j-keerthy@ti.com>
Wed, 8 Jul 2015 05:42:24 +0000 (11:12 +0530)
committerPaul Walmsley <paul@pwsan.com>
Thu, 23 Jul 2015 11:54:38 +0000 (05:54 -0600)
Add the PRM IRQ register offsets.  This is needed to support PRM I/O
wakeup on AM43xx.

Signed-off-by: Keerthy <j-keerthy@ti.com>
[paul@pwsan.com: improved patch description, moved the PRM_IO_PMCTRL macro
 out of the CM section]
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/prcm43xx.h

index 7eebc27fa89219b3138dfb968a20f26b0edee565..7c34c44eb0ae531b17a29f8bea872b59bde04c3d 100644 (file)
 #define AM43XX_PRM_WKUP_INST                           0x2000
 #define AM43XX_PRM_DEVICE_INST                         0x4000
 
+/* PRM_IRQ offsets */
+#define AM43XX_PRM_IRQSTATUS_MPU_OFFSET                        0x0004
+#define AM43XX_PRM_IRQENABLE_MPU_OFFSET                        0x0008
+
+/* Other PRM offsets */
+#define AM43XX_PRM_IO_PMCTRL_OFFSET                    0x0024
+
 /* RM RSTCTRL offsets */
 #define AM43XX_RM_PER_RSTCTRL_OFFSET                   0x0010
 #define AM43XX_RM_GFX_RSTCTRL_OFFSET                   0x0010