aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s5p/clock.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.ab@samsung.com>2010-05-16 20:38:52 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-16 21:37:37 -0400
commitf445dbd5af7863dd7dce4685e39980419d4144eb (patch)
tree194f8c8302003aaeef8d9df7e37b8156e5bcddb2 /arch/arm/plat-s5p/clock.c
parentf44cf78b6b475116a4d3c98576f8697dd4ca7e79 (diff)
ARM: S5PV210: Add support for VPLL
This patch adds the following. 1. Adds 'clk_sclk_hdmi27m' clock to represent the HDMI 27MHz clock. 2. Adds 'clk_vpllsrc; clock of type clksrc_clk to represent the input clock for VPLL. 3. Adds 'clk_sclk_vpll' clock of type clksrc_clk to represent the output of the MUX_VPLL mux. 4. Add clk_sclk_hdmi27m, clk_vpllsrc and clk_sclk_vpll to the list of clocks to be registered. 5. Adds boot time print of 'clk_sclk_vpll' clock rate. 6. Adds 'clk_fout_vpll' clock to plat-s5p such that it is reusable on other s5p platforms. 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>
Diffstat (limited to 'arch/arm/plat-s5p/clock.c')
-rw-r--r--arch/arm/plat-s5p/clock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/clock.c b/arch/arm/plat-s5p/clock.c
index aa96e335073b..4ca0759fa228 100644
--- a/arch/arm/plat-s5p/clock.c
+++ b/arch/arm/plat-s5p/clock.c
@@ -69,6 +69,13 @@ struct clk clk_fout_epll = {
69 .ctrlbit = (1 << 31), 69 .ctrlbit = (1 << 31),
70}; 70};
71 71
72/* VPLL clock output */
73struct clk clk_fout_vpll = {
74 .name = "fout_vpll",
75 .id = -1,
76 .ctrlbit = (1 << 31),
77};
78
72/* ARM clock */ 79/* ARM clock */
73struct clk clk_arm = { 80struct clk clk_arm = {
74 .name = "armclk", 81 .name = "armclk",
@@ -133,6 +140,7 @@ static struct clk *s5p_clks[] __initdata = {
133 &clk_fout_apll, 140 &clk_fout_apll,
134 &clk_fout_mpll, 141 &clk_fout_mpll,
135 &clk_fout_epll, 142 &clk_fout_epll,
143 &clk_fout_vpll,
136 &clk_arm, 144 &clk_arm,
137 &clk_vpll, 145 &clk_vpll,
138}; 146};