[PATCH v2 6/6] ARM: OMAP4: PM: Adds CM1/2 register field masks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds OMAP4 specific CM1 and CM2 module
register field masks

Signed-off-by: Rajendra Nayak <rnayak@xxxxxx>
---
 arch/arm/mach-omap2/cm1-regbits-44xx.h |  154 ++++++++++++++++++
 arch/arm/mach-omap2/cm2-regbits-44xx.h |  272 ++++++++++++++++++++++++++++++++
 2 files changed, 426 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/cm1-regbits-44xx.h b/arch/arm/mach-omap2/cm1-regbits-44xx.h
index 184f6b0..1defa51 100644
--- a/arch/arm/mach-omap2/cm1-regbits-44xx.h
+++ b/arch/arm/mach-omap2/cm1-regbits-44xx.h
@@ -158,4 +158,158 @@
 #define OMAP4430_OPTFCLKEN_BGAP_32K		(1 << 8)
 #define OMAP4430_REV				(1 << 0)
 
+
+#define OMAP4430_CLKSEL_L4_MASK			BITFIELD(8, 8)
+#define OMAP4430_CM_CLKSEL_CORE_RESTORE_CLKSEL_L3_MASK	BITFIELD(4, 4)
+#define OMAP4430_CLKSEL_CORE_MASK		BITFIELD(0, 0)
+#define OMAP4430_PAD_CLKS_GATE_MASK		BITFIELD(8, 8)
+#define OMAP4430_CLKSEL_OPP_MASK		BITFIELD(1, 0)
+#define OMAP4430_CM_DLL_CTRL_DLL_OVERRIDE_MASK	BITFIELD(0, 0)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_REGM4XEN_MASK		BITFIELD(11, 11)
+#define OMAP4430_DPLL_LPMODE_EN_MASK		BITFIELD(10, 10)
+#define OMAP4430_DPLL_DRIFTGUARD_EN_MASK	BITFIELD(3, 3)
+#define OMAP4430_DPLL_EN_MASK			BITFIELD(2, 0)
+#define OMAP4430_ST_DPLL_CLK_MASK		BITFIELD(0, 0)
+#define OMAP4430_DPLL_DCOCLKLDO_PWDN_MASK	BITFIELD(4, 4)
+#define OMAP4430_AUTO_DPLL_MODE_MASK		BITFIELD(2, 0)
+#define OMAP4430_DPLL_BYP_CLKSEL_MASK		BITFIELD(23, 23)
+#define OMAP4430_DPLL_CLKOUTHIF_CLKSEL_MASK	BITFIELD(20, 20)
+#define OMAP4430_CM1_DPLL_MULT_MASK		BITFIELD(18, 8)
+#define OMAP4430_CM1_DPLL_DIV_MASK		BITFIELD(6, 0)
+#define OMAP4430_DPLL_M2_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_DPLL_CLKOUT_MASK		BITFIELD(9, 9)
+#define OMAP4430_DPLL_CLKOUT_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_DPLL_CLKOUT_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_DPLL_CLKOUT_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_DPLL_M3_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_DPLL_CLKOUTHIF_MASK		BITFIELD(9, 9)
+#define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_DPLL_CLKOUTHIF_DIV_MASK	BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_MASK	BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT1_MASK	BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT1_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT2_MASK		BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT2_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT3_MASK		BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT3_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT4_MASK		BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT4_DIV_MASK	BITFIELD(4, 0)
+#define OMAP4430_DELTAMSTEP_MASK		BITFIELD(19, 0)
+#define OMAP4430_MODFREQDIV_EXPONENT_MASK	BITFIELD(10, 8)
+#define OMAP4430_MODFREQDIV_MANTISSA_MASK	BITFIELD(6, 0)
+#define OMAP4430_OVERRIDE_ENABLE_MASK		BITFIELD(19, 19)
+#define OMAP4430_CORE_DPLL_EMU_MULT_MASK	BITFIELD(18, 8)
+#define OMAP4430_RESERVED_MASK			BITFIELD(7, 7)
+#define OMAP4430_CORE_DPLL_EMU_DIV_MASK		BITFIELD(6, 0)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_CLKSEL_MASK		BITFIELD(1, 0)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_DPLL_CLKOUTX2_MASK		BITFIELD(11, 11)
+#define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_MASK	BITFIELD(10, 10)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_DDRPHY_M6_DIV_MASK		BITFIELD(28, 24)
+#define OMAP4430_DPLL_DDRPHY_M5_DIV_MASK		BITFIELD(23, 19)
+#define OMAP4430_DPLL_DDRPHY_DPLL_EN_MASK		BITFIELD(18, 16)
+#define OMAP4430_DPLL_CORE_M2_DIV_MASK			BITFIELD(15, 11)
+#define OMAP4430_DPLL_CORE_DPLL_EN_MASK			BITFIELD(10, 8)
+#define OMAP4430_DLL_RESET_MASK				BITFIELD(3, 3)
+#define OMAP4430_SHADOW_FREQ_DLL_OVERRIDE_MASK		BITFIELD(2, 2)
+#define OMAP4430_DPLL_CORE_SYS_REF_CLKSEL_MASK		BITFIELD(1, 1)
+#define OMAP4430_FREQ_UPDATE_MASK			BITFIELD(0, 0)
+#define OMAP4430_DPLL_CORE_M5_DIV_MASK			BITFIELD(7, 3)
+#define OMAP4430_CM_SHADOW_FREQ_CONFIG2_CLKSEL_L3_MASK	BITFIELD(2, 2)
+#define OMAP4430_CM_SHADOW_FREQ_CONFIG2_CLKSEL_CORE_MASK	BITFIELD(1, 1)
+#define OMAP4430_GPMC_FREQ_UPDATE_MASK			BITFIELD(0, 0)
+#define OMAP4430_PRESCAL_MASK				BITFIELD(5, 0)
+#define OMAP4430_CLKACTIVITY_ABE_24M_GFCLK_MASK		BITFIELD(13, 13)
+#define OMAP4430_CLKACTIVITY_ABE_ALWON_32K_CLK_MASK	BITFIELD(12, 12)
+#define OMAP4430_CLKACTIVITY_ABE_SYSCLK_MASK		BITFIELD(11, 11)
+#define OMAP4430_CLKACTIVITY_FUNC_24M_GFCLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_OCP_ABE_GICLK_MASK		BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_ABE_X2_CLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_CLKTRCTRL_MASK			BITFIELD(1, 0)
+#define OMAP4430_IDLEST_MASK			BITFIELD(17, 16)
+#define OMAP4430_MODULEMODE_MASK		BITFIELD(1, 0)
+#define OMAP4430_CLKSEL_AESS_FCLK_MASK		BITFIELD(24, 24)
+#define OMAP4430_STBYST_MASK			BITFIELD(18, 18)
+#define OMAP4430_CM1_CLKSEL_INTERNAL_SOURCE_MASK	BITFIELD(27, 26)
+#define OMAP4430_CM1_CLKSEL_SOURCE_MASK		BITFIELD(25, 24)
+#define OMAP4430_OPTFCLKEN_FCLK2_MASK		BITFIELD(10, 10)
+#define OMAP4430_OPTFCLKEN_FCLK1_MASK		BITFIELD(9, 9)
+#define OMAP4430_OPTFCLKEN_FCLK0_MASK		BITFIELD(8, 8)
+#define OMAP4430_GPTIMER_CLKSEL_MASK		BITFIELD(24, 24)
+#define OMAP4430_CLKACTIVITY_MPU_DPLL_CLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_D2D_STATDEP_MASK		BITFIELD(18, 18)
+#define OMAP4430_CEFUSE_STATDEP_MASK		BITFIELD(17, 17)
+#define OMAP4430_ALWONCORE_STATDEP_MASK		BITFIELD(16, 16)
+#define OMAP4430_L4WKUP_STATDEP_MASK		BITFIELD(15, 15)
+#define OMAP4430_L4SEC_STATDEP_MASK		BITFIELD(14, 14)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_L4CFG_STATDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_SDMA_STATDEP_MASK		BITFIELD(11, 11)
+#define OMAP4430_GFX_STATDEP_MASK		BITFIELD(10, 10)
+#define OMAP4430_ISS_STATDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_DSS_STATDEP_MASK		BITFIELD(8, 8)
+#define OMAP4430_L3INIT_STATDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_L3_2_STATDEP_MASK		BITFIELD(6, 6)
+#define OMAP4430_L3_1_STATDEP_MASK		BITFIELD(5, 5)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_STATDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_TESLA_STATDEP_MASK		BITFIELD(1, 1)
+#define OMAP4430_DUCATI_STATDEP_MASK		BITFIELD(0, 0)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_L3_1_DYNDEP_MASK		BITFIELD(5, 5)
+#define OMAP4430_MEMIF_DYNDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_DYNDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_CLKACTIVITY_TESLA_ROOT_CLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_CEFUSE_STATDEP_MASK		BITFIELD(17, 17)
+#define OMAP4430_ALWONCORE_STATDEP_MASK		BITFIELD(16, 16)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_L4CFG_STATDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_ISS_STATDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_L3INIT_STATDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_L3_1_STATDEP_MASK		BITFIELD(5, 5)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_STATDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_ABE_DYNDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_DYNDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_CLKACTIVITY_BGAP_32K_GFCLK_MASK	BITFIELD(12, 12)
+#define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_MASK	BITFIELD(11, 11)
+#define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L4_AO_ICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_BGAP_32K_MASK	BITFIELD(8, 8)
+#define OMAP4430_REV_MASK			BITFIELD(7, 0)
 #endif /* __ARCH_ARM_MACH_OMAP2_CM1_REGBITS_44XX_H */
diff --git a/arch/arm/mach-omap2/cm2-regbits-44xx.h b/arch/arm/mach-omap2/cm2-regbits-44xx.h
index 286948d..c0af5bc 100644
--- a/arch/arm/mach-omap2/cm2-regbits-44xx.h
+++ b/arch/arm/mach-omap2/cm2-regbits-44xx.h
@@ -266,4 +266,276 @@
 #define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK	(1 << 9)
 #define OMAP4430_CLKACTIVITY_L4_AO_ICLK		(1 << 8)
 
+#define OMAP4430_CLKACTIVITY_FDIF_GFCLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_ISS_GCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_CAM_PHY_CTRL_GCLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_CLKTRCTRL_MASK			BITFIELD(1, 0)
+#define OMAP4430_L3_2_STATDEP_MASK		BITFIELD(6, 6)
+#define OMAP4430_L3_1_STATDEP_MASK		BITFIELD(5, 5)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_L3_2_DYNDEP_MASK		BITFIELD(6, 6)
+#define OMAP4430_STBYST_MASK			BITFIELD(18, 18)
+#define OMAP4430_IDLEST_MASK			BITFIELD(17, 16)
+#define OMAP4430_OPTFCLKEN_CTRLCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_MODULEMODE_MASK		BITFIELD(1, 0)
+#define OMAP4430_CLKSEL_FCLK_MASK		BITFIELD(25, 24)
+#define OMAP4430_CLKACTIVITY_UTMI_P3_GFCLK_MASK	BITFIELD(30, 30)
+#define OMAP4430_CLKACTIVITY_INIT_60M_P2_GFCLK_MASK	BITFIELD(29, 29)
+#define OMAP4430_CLKACTIVITY_INIT_60M_P1_GFCLK_MASK	BITFIELD(28, 28)
+#define OMAP4430_CLKACTIVITY_UTMI_ROOT_GFCLK_MASK	BITFIELD(25, 25)
+#define OMAP4430_CLKACTIVITY_TLL_CH2_GFCLK_MASK		BITFIELD(24, 24)
+#define OMAP4430_CLKACTIVITY_TLL_CH1_GFCLK_MASK		BITFIELD(23, 23)
+#define OMAP4430_CLKACTIVITY_TLL_CH0_GFCLK_MASK		BITFIELD(22, 22)
+#define OMAP4430_CLKACTIVITY_INIT_HSMMC6_GFCLK_MASK	BITFIELD(19, 19)
+#define OMAP4430_CLKACTIVITY_INIT_HSMMC2_GFCLK_MASK	BITFIELD(18, 18)
+#define OMAP4430_CLKACTIVITY_INIT_HSMMC1_GFCLK_MASK	BITFIELD(17, 17)
+#define OMAP4430_CLKACTIVITY_L3INIT_DPLL_ALWON_CLK_MASK	BITFIELD(14, 14)
+#define OMAP4430_CLKACTIVITY_INIT_48MC_GFCLK_MASK	BITFIELD(13, 13)
+#define OMAP4430_CLKACTIVITY_INIT_48M_GFCLK_MASK	BITFIELD(12, 12)
+#define OMAP4430_CLKACTIVITY_INIT_96M_GFCLK_MASK	BITFIELD(11, 11)
+#define OMAP4430_CLKACTIVITY_EMAC_50MHZ_CLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_L4_INIT_GICLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_INIT_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_L4WKUP_STATDEP_MASK		BITFIELD(15, 15)
+#define OMAP4430_L4SEC_STATDEP_MASK		BITFIELD(14, 14)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_L4CFG_STATDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_STATDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_L3_1_DYNDEP_MASK		BITFIELD(5, 5)
+#define OMAP4430_CLKSEL_MASK			BITFIELD(24, 24)
+#define OMAP4430_OPTFCLKEN_TXPHYCLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_CLKSEL_UTMI_P2_MASK		BITFIELD(25, 25)
+#define OMAP4430_CLKSEL_UTMI_P1_MASK		BITFIELD(24, 24)
+#define OMAP4430_OPTFCLKEN_FUNC48MCLK_MASK	BITFIELD(15, 15)
+#define OMAP4430_OPTFCLKEN_UTMI_P3_CLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_OPTFCLKEN_UTMI_P2_CLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_OPTFCLKEN_UTMI_P1_CLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_SAR_MODE_MASK			BITFIELD(4, 4)
+#define OMAP4430_CLKSEL_60M_MASK		BITFIELD(24, 24)
+#define OMAP4430_OPTFCLKEN_XCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_SAR_MODE_MASK			BITFIELD(4, 4)
+#define OMAP4430_OPTFCLKEN_PHY_48M_MASK		BITFIELD(8, 8)
+#define OMAP4430_CLKACTIVITY_IVAHD_ROOT_CLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_CLKACTIVITY_DSS_ALWON_SYS_CLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_DSS_FCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_DSS_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_OPTFCLKEN_TV_CLK_MASK		BITFIELD(11, 11)
+#define OMAP4430_OPTFCLKEN_SYS_CLK_MASK		BITFIELD(10, 10)
+#define OMAP4430_OPTFCLKEN_48MHZ_CLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_OPTFCLKEN_DSSCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_CLKACTIVITY_PER_ABE_24M_GFCLK_MASK	BITFIELD(25, 25)
+#define OMAP4430_CLKACTIVITY_PER_SYS_GFCLK_MASK		BITFIELD(24, 24)
+#define OMAP4430_CLKACTIVITY_PER_MCBSP4_GFCLK_MASK	BITFIELD(22, 22)
+#define OMAP4430_CLKACTIVITY_PER_MCASP3_GFCLK_MASK	BITFIELD(21, 21)
+#define OMAP4430_CLKACTIVITY_PER_MCASP2_GFCLK_MASK	BITFIELD(20, 20)
+#define OMAP4430_CLKACTIVITY_PER_96M_GFCLK_MASK		BITFIELD(19, 19)
+#define OMAP4430_CLKACTIVITY_PER_48M_GFCLK_MASK		BITFIELD(18, 18)
+#define OMAP4430_CLKACTIVITY_PER_32K_GFCLK_MASK		BITFIELD(17, 17)
+#define OMAP4430_CLKACTIVITY_PER_24MC_GFCLK_MASK	BITFIELD(16, 16)
+#define OMAP4430_CLKACTIVITY_FUNC_12M_GFCLK_MASK	BITFIELD(15, 15)
+#define OMAP4430_CLKACTIVITY_DMT9_GFCLK_MASK	BITFIELD(14, 14)
+#define OMAP4430_CLKACTIVITY_DMT4_GFCLK_MASK	BITFIELD(13, 13)
+#define OMAP4430_CLKACTIVITY_DMT3_GFCLK_MASK	BITFIELD(12, 12)
+#define OMAP4430_CLKACTIVITY_DMT2_GFCLK_MASK	BITFIELD(11, 11)
+#define OMAP4430_CLKACTIVITY_DMT11_GFCLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_DMT10_GFCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L4_PER_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_L4SEC_DYNDEP_MASK		BITFIELD(14, 14)
+#define OMAP4430_DSS_DYNDEP_MASK		BITFIELD(8, 8)
+#define OMAP4430_L3INIT_DYNDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_OPTFCLKEN_DBCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_DBCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_DBCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_DBCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_DBCLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_CM2_CLKSEL_INTERNAL_SOURCE_MASK	BITFIELD(25, 25)
+#define OMAP4430_CM2_CLKSEL_SOURCE_MASK		BITFIELD(24, 24)
+#define OMAP4430_OPTFCLKEN_PERABE24M_GFCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_OPTFCLKEN_PER24MC_GFCLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_CLKACTIVITY_L4_SECURE_GICLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_SECURE_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_CLKACTIVITY_SGX_GFCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_GFX_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_CLKSEL_PER_192M_MASK		BITFIELD(26, 25)
+#define OMAP4430_CLKSEL_SGX_FCLK_MASK		BITFIELD(24, 24)
+#define OMAP4430_CLKACTIVITY_L3_1_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_L4CFG_DYNDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_MEMIF_DYNDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_DYNDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_CLKACTIVITY_L3_2_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_L4SEC_DYNDEP_MASK		BITFIELD(14, 14)
+#define OMAP4430_L4PER_DYNDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_GFX_DYNDEP_MASK		BITFIELD(10, 10)
+#define OMAP4430_ISS_DYNDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_L3INIT_DYNDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_IVAHD_DYNDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_DUCATI_DYNDEP_MASK		BITFIELD(0, 0)
+#define OMAP4430_CLKACTIVITY_DUCATI_GCLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_CEFUSE_STATDEP_MASK		BITFIELD(17, 17)
+#define OMAP4430_ALWONCORE_STATDEP_MASK		BITFIELD(16, 16)
+#define OMAP4430_L4WKUP_STATDEP_MASK		BITFIELD(15, 15)
+#define OMAP4430_L4SEC_STATDEP_MASK		BITFIELD(14, 14)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_L4CFG_STATDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_SDMA_STATDEP_MASK		BITFIELD(11, 11)
+#define OMAP4430_GFX_STATDEP_MASK		BITFIELD(10, 10)
+#define OMAP4430_ISS_STATDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_DSS_STATDEP_MASK		BITFIELD(8, 8)
+#define OMAP4430_L3INIT_STATDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_STATDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_TESLA_STATDEP_MASK		BITFIELD(1, 1)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_ISS_DYNDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_DMA_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_L4WKUP_STATDEP_MASK		BITFIELD(15, 15)
+#define OMAP4430_L4SEC_STATDEP_MASK		BITFIELD(14, 14)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_L4CFG_STATDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_ISS_STATDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_DSS_STATDEP_MASK		BITFIELD(8, 8)
+#define OMAP4430_L3INIT_STATDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_STATDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_DUCATI_STATDEP_MASK		BITFIELD(0, 0)
+#define OMAP4430_CLKACTIVITY_ASYNC_PHY2_CLK_MASK	BITFIELD(13, 13)
+#define OMAP4430_CLKACTIVITY_ASYNC_PHY1_CLK_MASK	BITFIELD(12, 12)
+#define OMAP4430_CLKACTIVITY_ASYNC_DLL_CLK_MASK	BITFIELD(11, 11)
+#define OMAP4430_CLKACTIVITY_PHY_ROOT_CLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_DLL_CLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_EMIF_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_DLL_CLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_OPTFCLKEN_DLL_CLK_MASK		BITFIELD(8, 8)
+#define OMAP4430_CLKACTIVITY_L4_D2D_GICLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L3_D2D_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_L4PER_STATDEP_MASK		BITFIELD(13, 13)
+#define OMAP4430_L4CFG_STATDEP_MASK		BITFIELD(12, 12)
+#define OMAP4430_L3INIT_STATDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_MEMIF_STATDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_ABE_STATDEP_MASK		BITFIELD(3, 3)
+#define OMAP4430_IVAHD_STATDEP_MASK		BITFIELD(2, 2)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_MEMIF_DYNDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_CLKACTIVITY_L4_CFG_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_WINDOWSIZE_MASK		BITFIELD(27, 24)
+#define OMAP4430_D2D_DYNDEP_MASK		BITFIELD(18, 18)
+#define OMAP4430_CEFUSE_DYNDEP_MASK		BITFIELD(17, 17)
+#define OMAP4430_ALWONCORE_DYNDEP_MASK		BITFIELD(16, 16)
+#define OMAP4430_L4WKUP_DYNDEP_MASK		BITFIELD(15, 15)
+#define OMAP4430_SDMA_DYNDEP_MASK		BITFIELD(11, 11)
+#define OMAP4430_ISS_DYNDEP_MASK		BITFIELD(9, 9)
+#define OMAP4430_L3INIT_DYNDEP_MASK		BITFIELD(7, 7)
+#define OMAP4430_MEMIF_DYNDEP_MASK		BITFIELD(4, 4)
+#define OMAP4430_TESLA_DYNDEP_MASK		BITFIELD(1, 1)
+#define OMAP4430_CLKACTIVITY_L3_INSTR_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_CLKACTIVITY_CUST_EFUSE_SYS_CLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L4_CEFUSE_GICLK_MASK	BITFIELD(8, 8)
+#define OMAP4430_REV_MASK			BITFIELD(7, 0)
+#define OMAP4430_MPU_M3_ISS_ROOT_CLKSEL_MASK	BITFIELD(0, 0)
+#define OMAP4430_USB_60MHZ_CLKSEL_MASK		BITFIELD(0, 0)
+#define OMAP4430_SCALE_FCLK_MASK		BITFIELD(0, 0)
+#define OMAP4430_PERF_REQ_MASK			BITFIELD(7, 0)
+#define OMAP4430_PERF_CURRENT_MASK		BITFIELD(7, 0)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_REGM4XEN_MASK		BITFIELD(11, 11)
+#define OMAP4430_DPLL_LPMODE_EN_MASK		BITFIELD(10, 10)
+#define OMAP4430_DPLL_DRIFTGUARD_EN_MASK	BITFIELD(3, 3)
+#define OMAP4430_DPLL_EN_MASK			BITFIELD(2, 0)
+#define OMAP4430_ST_DPLL_CLK_MASK		BITFIELD(0, 0)
+#define OMAP4430_DPLL_DCOCLKLDO_PWDN_MASK	BITFIELD(4, 4)
+#define OMAP4430_AUTO_DPLL_MODE_MASK		BITFIELD(2, 0)
+#define OMAP4430_DPLL_BYP_CLKSEL_MASK		BITFIELD(23, 23)
+#define OMAP4430_CM2_DPLL_MULT_MASK		BITFIELD(18, 8)
+#define OMAP4430_CM2_DPLL_DIV_MASK		BITFIELD(6, 0)
+#define OMAP4430_DPLL_M2_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_DPLL_CLKOUTX2_MASK		BITFIELD(11, 11)
+#define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_MASK	BITFIELD(10, 10)
+#define OMAP4430_ST_DPLL_CLKOUT_MASK		BITFIELD(9, 9)
+#define OMAP4430_DPLL_CLKOUT_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_DPLL_CLKOUT_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_DPLL_CLKOUT_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_DPLL_M3_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_DPLL_CLKOUTHIF_MASK		BITFIELD(9, 9)
+#define OMAP4430_DPLL_CLKOUTHIF_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_DPLL_CLKOUTHIF_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_DPLL_CLKOUTHIF_DIV_MASK	BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT1_PWDN_MASK	BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT1_MASK	BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT1_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT1_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT1_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT2_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT2_MASK		BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT2_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT2_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT2_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT3_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT3_MASK		BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT3_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT3_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT3_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_HSDIVIDER_CLKOUT4_PWDN_MASK		BITFIELD(12, 12)
+#define OMAP4430_ST_HSDIVIDER_CLKOUT4_MASK		BITFIELD(9, 9)
+#define OMAP4430_HSDIVIDER_CLKOUT4_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_HSDIVIDER_CLKOUT4_DIVCHACK_MASK	BITFIELD(5, 5)
+#define OMAP4430_HSDIVIDER_CLKOUT4_DIV_MASK		BITFIELD(4, 0)
+#define OMAP4430_DELTAMSTEP_MASK			BITFIELD(19, 0)
+#define OMAP4430_MODFREQDIV_EXPONENT_MASK		BITFIELD(10, 8)
+#define OMAP4430_MODFREQDIV_MANTISSA_MASK		BITFIELD(6, 0)
+#define OMAP4430_OVERRIDE_ENABLE_MASK		BITFIELD(19, 19)
+#define OMAP4430_PER_DPLL_EMU_MULT_MASK		BITFIELD(18, 8)
+#define OMAP4430_RESERVED_MASK			BITFIELD(7, 7)
+#define OMAP4430_PER_DPLL_EMU_DIV_MASK		BITFIELD(6, 0)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_DRIFTGUARD_EN_MASK	BITFIELD(3, 3)
+#define OMAP4430_DPLL_SD_DIV_MASK		BITFIELD(31, 24)
+#define OMAP4430_CM2_USB_DPLL_MULT_MASK		BITFIELD(19, 8)
+#define OMAP4430_CM2_USB_DPLL_DIV_MASK		BITFIELD(7, 0)
+#define OMAP4430_ST_DPLL_CLKOUT_MASK		BITFIELD(9, 9)
+#define OMAP4430_DPLL_CLKOUT_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_USB_DPLL_CLKOUT_DIVCHACK_MASK	BITFIELD(7, 7)
+#define OMAP4430_USB_DPLL_CLKOUT_DIV_MASK	BITFIELD(6, 0)
+#define OMAP4430_DELTAMSTEP_MASK		BITFIELD(19, 0)
+#define OMAP4430_MODFREQDIV_EXPONENT_MASK	BITFIELD(10, 8)
+#define OMAP4430_MODFREQDIV_MANTISSA_MASK	BITFIELD(6, 0)
+#define OMAP4430_DPLL_CLKDCOLDO_PWDN_MASK	BITFIELD(12, 12)
+#define OMAP4430_ST_DPLL_CLKDCOLDO_MASK		BITFIELD(9, 9)
+#define OMAP4430_DPLL_CLKDCOLDO_GATE_CTRL_MASK	BITFIELD(8, 8)
+#define OMAP4430_DPLL_SSC_TYPE_MASK		BITFIELD(15, 15)
+#define OMAP4430_DPLL_SSC_DOWNSPREAD_MASK	BITFIELD(14, 14)
+#define OMAP4430_DPLL_SSC_ACK_MASK		BITFIELD(13, 13)
+#define OMAP4430_DPLL_SSC_EN_MASK		BITFIELD(12, 12)
+#define OMAP4430_DPLL_REGM4XEN_MASK		BITFIELD(11, 11)
+#define OMAP4430_DPLL_LPMODE_EN_MASK		BITFIELD(10, 10)
+#define OMAP4430_DPLL_DRIFTGUARD_EN_MASK	BITFIELD(3, 3)
+#define OMAP4430_ST_DPLL_CLKOUTX2_MASK		BITFIELD(11, 11)
+#define OMAP4430_DPLL_CLKOUTX2_GATE_CTRL_MASK	BITFIELD(10, 10)
+#define OMAP4430_DELTAMSTEP_MASK		BITFIELD(19, 0)
+#define OMAP4430_MODFREQDIV_EXPONENT_MASK	BITFIELD(10, 8)
+#define OMAP4430_MODFREQDIV_MANTISSA_MASK	BITFIELD(6, 0)
+#define OMAP4430_CLKACTIVITY_SR_CORE_SYSCLK_MASK	BITFIELD(11, 11)
+#define OMAP4430_CLKACTIVITY_SR_IVA_SYSCLK_MASK	BITFIELD(10, 10)
+#define OMAP4430_CLKACTIVITY_SR_MPU_SYSCLK_MASK	BITFIELD(9, 9)
+#define OMAP4430_CLKACTIVITY_L4_AO_ICLK_MASK	BITFIELD(8, 8)
 #endif /* __ARCH_ARM_MACH_OMAP2_CM2_REGBITS_44XX_H */
-- 
1.5.4.7

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux