ARM: orion5x: switch to use the clock driver for DT platforms
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:24 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 14:40:42 +0000 (14:40 +0000)
commit98d4db263ebcd32af128ed69acd713113ac16e9b
tree3c06d20db68d73f2280e7f3a0563d51c7f26cbef
parent2864ed64ec884cfdd61430c9f1b975f9d410c1df
ARM: orion5x: switch to use the clock driver for DT platforms

This commit moves the Orion5x platforms using the Device Tree to use
the recently introduced clock driver for Orion5x. To achieve that, it:

 * Adds the necessary DT description of the clock.

 * Selects ORION_CLK to enable the compilation of the clock driver.

 * Call of_clk_init() instead of the Orion5x-specific clock
   initialization function.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1398202002-28530-21-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x-mv88f5182.dtsi
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-orion5x/board-dt.c