From: Benoît Thébaudeau Date: Tue, 14 Aug 2012 10:33:06 +0000 (+0000) Subject: mx35: Add definitions for clock gate values X-Git-Tag: v2012.10-rc1~2^2^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ba81baabb3c370af9548348c24d326039589e7f;p=platform%2Fkernel%2Fu-boot.git mx35: Add definitions for clock gate values Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- diff --git a/arch/arm/include/asm/arch-mx35/crm_regs.h b/arch/arm/include/asm/arch-mx35/crm_regs.h index 7a2d1bbbf1..fa71dead30 100644 --- a/arch/arm/include/asm/arch-mx35/crm_regs.h +++ b/arch/arm/include/asm/arch-mx35/crm_regs.h @@ -144,6 +144,12 @@ #define MXC_CCM_ACMR_SSI2_CLK_SEL_MASK (0xF << 0) /* Bit definitions for Clock gating Register*/ +#define MXC_CCM_CGR_CG_MASK 0x3 +#define MXC_CCM_CGR_CG_OFF 0x0 +#define MXC_CCM_CGR_CG_RUN_ON 0x1 +#define MXC_CCM_CGR_CG_RUN_WAIT_ON 0x2 +#define MXC_CCM_CGR_CG_ON 0x3 + #define MXC_CCM_CGR0_ASRC_OFFSET 0 #define MXC_CCM_CGR0_ASRC_MASK (0x3 << 0) #define MXC_CCM_CGR0_ATA_OFFSET 2