From: Paul Walmsley Date: Thu, 3 May 2007 22:52:45 +0000 (-0600) Subject: omap2: add Clock Management shared register bit defines to cm.h X-Git-Tag: v2.6.22-omap1~98 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9cfac26f2240f1761d31e3a311d00f98ebc49f2f;p=linux-2.6-omap-h63xx.git omap2: add Clock Management shared register bit defines to cm.h Add Clock Management register bit defines to cm.h that are shared between OMAP24XX and OMAP3430. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/cm.h b/arch/arm/mach-omap2/cm.h index 4c9a7c75d35..1e3bc56b3c1 100644 --- a/arch/arm/mach-omap2/cm.h +++ b/arch/arm/mach-omap2/cm.h @@ -91,4 +91,19 @@ static u32 __attribute__((unused)) cm_read_mod_reg(s16 module, s16 idx) return cm_read_reg(OMAP_CM_REGADDR(module, idx)); } +/* CM register bits shared between 24XX and 3430 */ + +/* CM_CLKSEL_GFX */ +#define OMAP_CLKSEL_GFX_SHIFT 0 +#define OMAP_CLKSEL_GFX_MASK (0x7 << 0) + +/* CM_ICLKEN_GFX */ +#define OMAP_EN_GFX_SHIFT 0 +#define OMAP_EN_GFX (1 << 0) + +/* CM_IDLEST_GFX */ +#define OMAP_ST_GFX (1 << 0) + + + #endif