aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv310
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv310')
-rw-r--r--arch/arm/mach-s5pv310/clock.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/clock.c b/arch/arm/mach-s5pv310/clock.c
index 20f35138a193..7b7199a3ebe9 100644
--- a/arch/arm/mach-s5pv310/clock.c
+++ b/arch/arm/mach-s5pv310/clock.c
@@ -30,6 +30,22 @@ static struct clk clk_sclk_hdmi27m = {
30 .rate = 27000000, 30 .rate = 27000000,
31}; 31};
32 32
33static struct clk clk_sclk_hdmiphy = {
34 .name = "sclk_hdmiphy",
35 .id = -1,
36};
37
38static struct clk clk_sclk_usbphy0 = {
39 .name = "sclk_usbphy0",
40 .id = -1,
41 .rate = 27000000,
42};
43
44static struct clk clk_sclk_usbphy1 = {
45 .name = "sclk_usbphy1",
46 .id = -1,
47};
48
33static int s5pv310_clksrc_mask_peril0_ctrl(struct clk *clk, int enable) 49static int s5pv310_clksrc_mask_peril0_ctrl(struct clk *clk, int enable)
34{ 50{
35 return s5p_gatectrl(S5P_CLKSRC_MASK_PERIL0, clk, enable); 51 return s5p_gatectrl(S5P_CLKSRC_MASK_PERIL0, clk, enable);
@@ -354,6 +370,9 @@ static struct clk *clkset_group_list[] = {
354 [0] = &clk_ext_xtal_mux, 370 [0] = &clk_ext_xtal_mux,
355 [1] = &clk_xusbxti, 371 [1] = &clk_xusbxti,
356 [2] = &clk_sclk_hdmi27m, 372 [2] = &clk_sclk_hdmi27m,
373 [3] = &clk_sclk_usbphy0,
374 [4] = &clk_sclk_usbphy1,
375 [5] = &clk_sclk_hdmiphy,
357 [6] = &clk_mout_mpll.clk, 376 [6] = &clk_mout_mpll.clk,
358 [7] = &clk_mout_epll.clk, 377 [7] = &clk_mout_epll.clk,
359 [8] = &clk_sclk_vpll.clk, 378 [8] = &clk_sclk_vpll.clk,