]> Pileus Git - ~andy/linux/commit
clk: exynos4: Fix clock aliases for cpufreq related clocks
authorTushar Behera <tushar.behera@linaro.org>
Thu, 20 Jun 2013 10:47:18 +0000 (16:17 +0530)
committerMike Turquette <mturquette@linaro.org>
Sat, 22 Jun 2013 17:50:54 +0000 (10:50 -0700)
commit82ba93b27cf5ac17b753f21d1f65d4f0084f91f9
tree0821d838b63cd458b1ccd3482416cd76e0534365
parent41ccf7f2d35dad9ecfe2f080e758ad0fab9ab862
clk: exynos4: Fix clock aliases for cpufreq related clocks

cpufreq driver for EXYNOS4 based SoCs are not platform drivers, hence
we cannot currently pass the clock names through a device tree node.
Instead, we need to make them available through a global alias.

Clock alias modifications for EXYNOS4 specific clocks are as below.

Alias for clock 'arm_clk' is 'armclk'.
Alias for clock 'mout_apll' is 'mout_apll'.
Alias for clock 'mout_core' is 'moutcore'.

For EXYNOS4210, alias for clock 'sclk_mpll' is 'mout_mpll'.
For EXYNOS4412, alias for clock 'mout_mpll_user_c' is 'mout_mpll'.

Some of the clock aliases are newly defined and some are fixed up.

While at it, also modify the debug messages to print the clock
values appropriately.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/samsung/clk-exynos4.c