diff options
author | Philip Avinash <avinashphilip@ti.com> | 2013-06-06 09:52:36 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2013-06-09 03:12:32 -0400 |
commit | 563ce4d51a555b45f5d43ff9cf127da8dac9f64d (patch) | |
tree | f84a132d1236979e4c913c6bfa63d542feb06848 /arch/arm/mach-omap2/control.h | |
parent | 1919f0f7db055b90a45c2de2ea49c6bd3789b203 (diff) |
ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK
EHRPWM module requires explicit clock gating of TBCLK from control
module. Hence add TBCLK clock node in clock tree for EHRPWM modules.
Signed-off-by: Philip Avinash <avinashphilip@ti.com>
[bigeasy: remove CK_AM33XX]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/control.h')
-rw-r--r-- | arch/arm/mach-omap2/control.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/control.h b/arch/arm/mach-omap2/control.h index e6c328128a0a..35d17a6ec06b 100644 --- a/arch/arm/mach-omap2/control.h +++ b/arch/arm/mach-omap2/control.h | |||
@@ -358,6 +358,14 @@ | |||
358 | #define AM33XX_CONTROL_STATUS_SYSBOOT1_WIDTH 0x2 | 358 | #define AM33XX_CONTROL_STATUS_SYSBOOT1_WIDTH 0x2 |
359 | #define AM33XX_CONTROL_STATUS_SYSBOOT1_MASK (0x3 << 22) | 359 | #define AM33XX_CONTROL_STATUS_SYSBOOT1_MASK (0x3 << 22) |
360 | 360 | ||
361 | /* AM33XX PWMSS Control register */ | ||
362 | #define AM33XX_PWMSS_TBCLK_CLKCTRL 0x664 | ||
363 | |||
364 | /* AM33XX PWMSS Control bitfields */ | ||
365 | #define AM33XX_PWMSS0_TBCLKEN_SHIFT 0 | ||
366 | #define AM33XX_PWMSS1_TBCLKEN_SHIFT 1 | ||
367 | #define AM33XX_PWMSS2_TBCLKEN_SHIFT 2 | ||
368 | |||
361 | /* CONTROL OMAP STATUS register to identify OMAP3 features */ | 369 | /* CONTROL OMAP STATUS register to identify OMAP3 features */ |
362 | #define OMAP3_CONTROL_OMAP_STATUS 0x044c | 370 | #define OMAP3_CONTROL_OMAP_STATUS 0x044c |
363 | 371 | ||