@@ -20,9 +20,23 @@
#include "powerdomain.h"
#include "clockdomain.h"
+#include "prm2xxx.h"
#include "prm2xxx_3xxx_private.h"
#include "cm2xxx_3xxx.h"
-#include "prm-regbits-24xx.h"
+
+#define OMAP24XX_FORCESTATE_MASK (1 << 18)
+#define OMAP24XX_AUTOIDLE_MASK (1 << 0)
+#define OMAP24XX_AUTO_EXTVOLT_MASK (1 << 15)
+
+#define OMAP24XX_SETOFF_LEVEL_SHIFT 12
+#define OMAP24XX_MEMRETCTRL_MASK (1 << 8)
+#define OMAP24XX_SETRET_LEVEL_SHIFT 6
+#define OMAP24XX_VOLT_LEVEL_SHIFT 0
+
+#define OMAP24XX_EXTWMPU_RST_SHIFT 6
+#define OMAP24XX_SECU_WD_RST_SHIFT 5
+#define OMAP24XX_MPU_WD_RST_SHIFT 4
+#define OMAP24XX_SECU_VIOL_RST_SHIFT 3
/*
* OMAP24xx PM_PWSTCTRL_*.POWERSTATE and PM_PWSTST_*.LASTSTATEENTERED bits -
@@ -18,7 +18,6 @@
#include "powerdomain.h"
#include "prm2xxx_3xxx_private.h"
-#include "prm-regbits-24xx.h"
#include "clockdomain.h"
/**
Done in preparation to make PRM a standalone driver. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/prm2xxx.c | 16 +++++++++++++++- arch/arm/mach-omap2/prm2xxx_3xxx.c | 1 - 2 files changed, 15 insertions(+), 2 deletions(-)