summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/prcm.h
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2010-09-21 10:34:10 -0600
committerPaul Walmsley <paul@pwsan.com>2010-09-21 15:11:42 -0600
commit16b040129e324598d13ff2e2b3469dc2e909ce12 (patch)
tree908190d1d2fb9938eda583ae08eb5240368222ad /arch/arm/plat-omap/include/plat/prcm.h
parent12b1fdb45c2594070bb36e39cd89a33547aad8fb (diff)
downloadop-kernel-dev-16b040129e324598d13ff2e2b3469dc2e909ce12.zip
op-kernel-dev-16b040129e324598d13ff2e2b3469dc2e909ce12.tar.gz
OMAP4: prcm: Add temporarily helper functions for rmw and read inside the PRM
Since OMAP4 is using an absolute address, the current PRM accessors are not useable. OMAP4 adaptation for these API are currently ongoing, so define temp version until the proper ones are defined. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com> Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/prcm.h')
-rw-r--r--arch/arm/plat-omap/include/plat/prcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/prcm.h b/arch/arm/plat-omap/include/plat/prcm.h
index 9fbd914..ab77442 100644
--- a/arch/arm/plat-omap/include/plat/prcm.h
+++ b/arch/arm/plat-omap/include/plat/prcm.h
@@ -38,6 +38,8 @@ u32 prm_read_mod_reg(s16 module, u16 idx);
void prm_write_mod_reg(u32 val, s16 module, u16 idx);
u32 prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx);
u32 prm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask);
+u32 omap4_prm_read_bits_shift(void __iomem *reg, u32 mask);
+u32 omap4_prm_rmw_reg_bits(u32 mask, u32 bits, void __iomem *reg);
u32 cm_read_mod_reg(s16 module, u16 idx);
void cm_write_mod_reg(u32 val, s16 module, u16 idx);
u32 cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx);
OpenPOWER on IntegriCloud