ARM: S5P6440: Remove usage of clk_h_low and add clk_hclk_low clock
authorThomas Abraham <thomas.ab@samsung.com>
Thu, 13 May 2010 00:27:17 +0000 (09:27 +0900)
committerBen Dooks <ben-linux@fluff.org>
Thu, 13 May 2010 01:42:46 +0000 (10:42 +0900)
commit93ad94db5509ccac65a57f6fc599d61a61767efc
tree1f712e812b0e03b65bd71e1ef2c120d1df406c72
parent47051461ab1cc8049e676902bf1972268bed4b9a
ARM: S5P6440: Remove usage of clk_h_low and add clk_hclk_low clock

The clk_h_low clock is of type 'struct clk' whereas on S5P6440,
the hclk_low clock is more suitable to be of type 'struct clksrc_clk'
(since hclk_low clock is derived from a choice of clock sources and
then divided by a divisor).

This patch modifies the following.

1. Removes the definition and usage of clk_h_clk clock.
2. Adds the clk_hclk_low clock of type 'struct clksrc_clk' clock.
3. Adds clk_hclk_low to the list of system clocks.
4. The clock rate of hclk_low is derived from the clk_hclk_low clock.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s5p6440/clock.c