linux/arch/arm/mach-s5pv210
Thomas Abraham 0fe967a1ca ARM: S5PV210: Remove usage of clk_h166 and add clk_hclk_dsys clock
The clk_h166 clock, which is the HCLK clock for DSYS domain, is of
type 'struct clk' whereas on S5PV210, this clock is suitable to be
of type clksrc_clk clock (since it has a choice of clock source
and a pre-divider). So this patch replaces the 'struct clk' type
clock to 'struct clksrc_clk' type clock for the HCLK DSYS clock.

This patch modifies the following.

1. Remove definitions and usage of 'clk_h166' clock.

2. Adds 'clk_sclk_a2m' clock which is one of possible parent clock
   sources for the DSYS HCLK clock.

3. Adds 'clk_hclk_dsys' clock which is of type 'struct clksrc_clk'.

4. Replace all usage of clk_h166 with clk_hclk_dsys clock.

5. Adds clk_sclk_a2m and clk_hclk_dsys into list of clocks to
   be registered.

6. Removes the clock rate calculation of hclk166 and replaces
   it with code that derives the HCLK DSYS clock rate from
   the clk_hclk_dsys 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>
2010-05-17 10:37:35 +09:00
..
include/mach Merge branch 'origin' into devel-stable 2010-03-08 20:21:04 +00:00
Kconfig
Makefile ARM: S5PV210: Add SMDKC110 board support file 2010-02-24 22:47:23 +00:00
Makefile.boot
clock.c ARM: S5PV210: Remove usage of clk_h166 and add clk_hclk_dsys clock 2010-05-17 10:37:35 +09:00
cpu.c
init.c
mach-smdkc110.c ARM: S5PV210: Add SMDKC110 board support file 2010-02-24 22:47:23 +00:00
mach-smdkv210.c ARM: S5PV210: Add SMDKV210 board support file 2010-02-24 22:47:23 +00:00