summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/clk.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-09-26 17:41:01 +0400
committerShawn Guo <shawn.guo@linaro.org>2014-11-23 09:56:19 +0300
commite0fed5133cc3656319e94c258e4a064dca8ccb27 (patch)
tree11fb6e743305737c289f1f83f0206a142c07e4e4 /arch/arm/mach-imx/clk.h
parent6f0628aa9f0fb7c877e52d4d8c6edb11bcd91736 (diff)
downloadlinux-e0fed5133cc3656319e94c258e4a064dca8ccb27.tar.xz
ARM: imx: add CPU clock type
This implements a virtual clock used to abstract away all the steps needed in order to change the ARM clock, so we don't have to push all this clock handling into the cpufreq driver. While it will be used for i.MX53 at first it is generic enough to be used on i.MX6 later on. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/clk.h')
-rw-r--r--arch/arm/mach-imx/clk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk.h b/arch/arm/mach-imx/clk.h
index 4cdf8b6a74e8..5ef82e2f8fc5 100644
--- a/arch/arm/mach-imx/clk.h
+++ b/arch/arm/mach-imx/clk.h
@@ -131,4 +131,8 @@ static inline struct clk *imx_clk_fixed_factor(const char *name,
CLK_SET_RATE_PARENT, mult, div);
}
+struct clk *imx_clk_cpu(const char *name, const char *parent_name,
+ struct clk *div, struct clk *mux, struct clk *pll,
+ struct clk *step);
+
#endif