diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s5pv310/clock.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv310/clock.c b/arch/arm/mach-s5pv310/clock.c index 1f9ed85d3016..b6ad76ff6421 100644 --- a/arch/arm/mach-s5pv310/clock.c +++ b/arch/arm/mach-s5pv310/clock.c | |||
@@ -588,6 +588,54 @@ static struct clksrc_sources clkset_group = { | |||
588 | .nr_sources = ARRAY_SIZE(clkset_group_list), | 588 | .nr_sources = ARRAY_SIZE(clkset_group_list), |
589 | }; | 589 | }; |
590 | 590 | ||
591 | static struct clk *clkset_mout_g2d0_list[] = { | ||
592 | [0] = &clk_mout_mpll.clk, | ||
593 | [1] = &clk_sclk_apll.clk, | ||
594 | }; | ||
595 | |||
596 | static struct clksrc_sources clkset_mout_g2d0 = { | ||
597 | .sources = clkset_mout_g2d0_list, | ||
598 | .nr_sources = ARRAY_SIZE(clkset_mout_g2d0_list), | ||
599 | }; | ||
600 | |||
601 | static struct clksrc_clk clk_mout_g2d0 = { | ||
602 | .clk = { | ||
603 | .name = "mout_g2d0", | ||
604 | .id = -1, | ||
605 | }, | ||
606 | .sources = &clkset_mout_g2d0, | ||
607 | .reg_src = { .reg = S5P_CLKSRC_IMAGE, .shift = 0, .size = 1 }, | ||
608 | }; | ||
609 | |||
610 | static struct clk *clkset_mout_g2d1_list[] = { | ||
611 | [0] = &clk_mout_epll.clk, | ||
612 | [1] = &clk_sclk_vpll.clk, | ||
613 | }; | ||
614 | |||
615 | static struct clksrc_sources clkset_mout_g2d1 = { | ||
616 | .sources = clkset_mout_g2d1_list, | ||
617 | .nr_sources = ARRAY_SIZE(clkset_mout_g2d1_list), | ||
618 | }; | ||
619 | |||
620 | static struct clksrc_clk clk_mout_g2d1 = { | ||
621 | .clk = { | ||
622 | .name = "mout_g2d1", | ||
623 | .id = -1, | ||
624 | }, | ||
625 | .sources = &clkset_mout_g2d1, | ||
626 | .reg_src = { .reg = S5P_CLKSRC_IMAGE, .shift = 4, .size = 1 }, | ||
627 | }; | ||
628 | |||
629 | static struct clk *clkset_mout_g2d_list[] = { | ||
630 | [0] = &clk_mout_g2d0.clk, | ||
631 | [1] = &clk_mout_g2d1.clk, | ||
632 | }; | ||
633 | |||
634 | static struct clksrc_sources clkset_mout_g2d = { | ||
635 | .sources = clkset_mout_g2d_list, | ||
636 | .nr_sources = ARRAY_SIZE(clkset_mout_g2d_list), | ||
637 | }; | ||
638 | |||
591 | static struct clksrc_clk clk_dout_mmc0 = { | 639 | static struct clksrc_clk clk_dout_mmc0 = { |
592 | .clk = { | 640 | .clk = { |
593 | .name = "dout_mmc0", | 641 | .name = "dout_mmc0", |