summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-imx35.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2015-04-26 13:33:39 +0800
committerShawn Guo <shawn.guo@linaro.org>2015-06-03 14:44:32 +0800
commit3bec5f8184125ad4441905aee1856ef0a57b66b1 (patch)
tree01fa929eb4a7fdcc4973ae65f41487e421c95c7d /arch/arm/mach-imx/clk-imx35.c
parent961dfd37fa165c8d5019648edcec966f28300959 (diff)
downloadlinux-3bec5f8184125ad4441905aee1856ef0a57b66b1.tar.bz2
ARM: imx: add clk-pllv1 type support
Instead of calling cpu_is_xxx() in clk-pllv1 driver, let's add clk-pllv1 type support to handle the difference/quirk in particular SoC designs. Doing so will help get clk-pllv1 driver ready for being moved out of arch/arm/mach-imx folder. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx35.c')
-rw-r--r--arch/arm/mach-imx/clk-imx35.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c
index 5818521a8766..1a5c819d4664 100644
--- a/arch/arm/mach-imx/clk-imx35.c
+++ b/arch/arm/mach-imx/clk-imx35.c
@@ -92,8 +92,8 @@ int __init mx35_clocks_init(void)
}
clk[ckih] = imx_clk_fixed("ckih", 24000000);
- clk[mpll] = imx_clk_pllv1("mpll", "ckih", base + MX35_CCM_MPCTL);
- clk[ppll] = imx_clk_pllv1("ppll", "ckih", base + MX35_CCM_PPCTL);
+ clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX35, "mpll", "ckih", base + MX35_CCM_MPCTL);
+ clk[ppll] = imx_clk_pllv1(IMX_PLLV1_IMX35, "ppll", "ckih", base + MX35_CCM_PPCTL);
clk[mpll] = imx_clk_fixed_factor("mpll_075", "mpll", 3, 4);