aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2012-07-04 05:41:03 -0400
committerPaul Walmsley <paul@pwsan.com>2012-07-04 05:41:03 -0400
commit768c69f5e9227a855a7bbb490b18628133fa891a (patch)
treecb852d99543723173a6604d165902486b2717f7e /arch/arm/plat-omap
parent248b3b3d841b01d0a5a55b746fc7e5e9edbe65e6 (diff)
ARM: OMAP3/4: omap_hwmod: Add rstst_offs field to struct omap_hwmod_omap4_prcm
In case of AM33XX device, XXX_RSTST register offset is not consistent across PRM modules/instances, PRM_XXX RSTST ========================= PRM_PER_MOD: 0x04 PRM_WKUP_MOD: 0x0C PRM_MPU_MOD: NA PRM_DEVICE_MOD: 0x08 This means, we need to pass on XXX_RSTST register offset information through omap_hwmod data, similar to XXX_RSTCTRL. Currently, this field is only applicable and used for AM33XX devices. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Kevin Hilman <khilman@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/include/plat/omap_hwmod.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h
index 2c1710386963..7cb8d7dddcc5 100644
--- a/arch/arm/plat-omap/include/plat/omap_hwmod.h
+++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h
@@ -384,11 +384,13 @@ struct omap_hwmod_omap2_prcm {
384 * struct omap_hwmod_omap4_prcm - OMAP4-specific PRCM data 384 * struct omap_hwmod_omap4_prcm - OMAP4-specific PRCM data
385 * @clkctrl_reg: PRCM address of the clock control register 385 * @clkctrl_reg: PRCM address of the clock control register
386 * @rstctrl_reg: address of the XXX_RSTCTRL register located in the PRM 386 * @rstctrl_reg: address of the XXX_RSTCTRL register located in the PRM
387 * @rstst_reg: (AM33XX only) address of the XXX_RSTST register in the PRM
387 * @submodule_wkdep_bit: bit shift of the WKDEP range 388 * @submodule_wkdep_bit: bit shift of the WKDEP range
388 */ 389 */
389struct omap_hwmod_omap4_prcm { 390struct omap_hwmod_omap4_prcm {
390 u16 clkctrl_offs; 391 u16 clkctrl_offs;
391 u16 rstctrl_offs; 392 u16 rstctrl_offs;
393 u16 rstst_offs;
392 u16 context_offs; 394 u16 context_offs;
393 u8 submodule_wkdep_bit; 395 u8 submodule_wkdep_bit;
394 u8 modulemode; 396 u8 modulemode;