ARM: S5PV310: Should be clk_sclk_apll not clk_mout_apll

This patch adds clk_sclk_apll so that fixes on clk_mout_apll.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

authored by Jongpill Lee and committed by Kukjin Kim 3ff31020 4d235f79

+12 -3
+12 -3
arch/arm/mach-s5pv310/clock.c
··· 39 39 }, 40 40 .sources = &clk_src_apll, 41 41 .reg_src = { .reg = S5P_CLKSRC_CPU, .shift = 0, .size = 1 }, 42 + }; 43 + 44 + static struct clksrc_clk clk_sclk_apll = { 45 + .clk = { 46 + .name = "sclk_apll", 47 + .id = -1, 48 + .parent = &clk_mout_apll.clk, 49 + }, 42 50 .reg_div = { .reg = S5P_CLKDIV_CPU, .shift = 24, .size = 3 }, 43 51 }; 44 52 ··· 69 61 }; 70 62 71 63 static struct clk *clkset_moutcore_list[] = { 72 - [0] = &clk_mout_apll.clk, 64 + [0] = &clk_sclk_apll.clk, 73 65 [1] = &clk_mout_mpll.clk, 74 66 }; 75 67 ··· 162 154 163 155 static struct clk *clkset_corebus_list[] = { 164 156 [0] = &clk_mout_mpll.clk, 165 - [1] = &clk_mout_apll.clk, 157 + [1] = &clk_sclk_apll.clk, 166 158 }; 167 159 168 160 static struct clksrc_sources clkset_mout_corebus = { ··· 228 220 229 221 static struct clk *clkset_aclk_top_list[] = { 230 222 [0] = &clk_mout_mpll.clk, 231 - [1] = &clk_mout_apll.clk, 223 + [1] = &clk_sclk_apll.clk, 232 224 }; 233 225 234 226 static struct clksrc_sources clkset_aclk_200 = { ··· 419 411 /* Clock initialization code */ 420 412 static struct clksrc_clk *sysclks[] = { 421 413 &clk_mout_apll, 414 + &clk_sclk_apll, 422 415 &clk_mout_epll, 423 416 &clk_mout_mpll, 424 417 &clk_moutcore,