aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/clock.h
diff options
context:
space:
mode:
authordushyanth.sr <dushyanth.sr@stericsson.com>2010-04-15 18:10:51 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:04 -0600
commit4964f19d26679a556faa45773fa9286a07b16777 (patch)
treed80795c7135e6813fa5cc4195cfa6640088e1639 /arch/arm/mach-ux500/clock.h
parentd716f5301ffadeaf814b7716066ccae830f01207 (diff)
clock.c and clock.h : Included clk_get_parent and clk_set_parent functions.
Signed-off-by: dushyanth.sr <dushyanth.sr@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/clock.h')
-rwxr-xr-xarch/arm/mach-ux500/clock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/clock.h b/arch/arm/mach-ux500/clock.h
index c6790968357..eb4a16c955e 100755
--- a/arch/arm/mach-ux500/clock.h
+++ b/arch/arm/mach-ux500/clock.h
@@ -23,6 +23,7 @@ extern int __init clk_init(void);
#define PLL_SW_SOC0 0x20
#define PLL_SW_SOC1 0x40
#define PLL_SW_DDR 0x80
+#define PLL_SELECT_BITS 0xE0
/*Mode clk src macros */
#define MODE_NO_CLK 0x0
@@ -36,6 +37,8 @@ void update_clk_tree(void);
/*CLK38 clk src macros */
#define CLK38_SRC 0x400
#define CLK38 0x200
+/* Clock enable bit */
+#define ENABLE_BIT 0x100
struct clkops {
void (*enable) (struct clk *);