diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-05-17 14:17:42 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-18 05:21:59 -0400 |
commit | 05e021f095ffe9c7c1a695a3e2835f39243c6270 (patch) | |
tree | f05e2fda420142ffad6e6d7cdac67597cdeea780 /arch/arm/mach-s3c64xx | |
parent | 835879a8848e9de93d38cdae99bda18d08545586 (diff) |
ARM: S3C64XX: Add USB external clock definition
This adds the xusbxti clock to S3C64XX platform.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
-rw-r--r-- | arch/arm/mach-s3c64xx/clock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index da8359589019..7a4138beb665 100644 --- a/arch/arm/mach-s3c64xx/clock.c +++ b/arch/arm/mach-s3c64xx/clock.c | |||
@@ -88,6 +88,12 @@ struct clk clk_48m = { | |||
88 | .enable = clk_48m_ctrl, | 88 | .enable = clk_48m_ctrl, |
89 | }; | 89 | }; |
90 | 90 | ||
91 | struct clk clk_xusbxti = { | ||
92 | .name = "xusbxti", | ||
93 | .id = -1, | ||
94 | .rate = 48000000, | ||
95 | }; | ||
96 | |||
91 | static int inline s3c64xx_gate(void __iomem *reg, | 97 | static int inline s3c64xx_gate(void __iomem *reg, |
92 | struct clk *clk, | 98 | struct clk *clk, |
93 | int enable) | 99 | int enable) |
@@ -791,6 +797,7 @@ static struct clk *clks[] __initdata = { | |||
791 | &clk_27m, | 797 | &clk_27m, |
792 | &clk_48m, | 798 | &clk_48m, |
793 | &clk_h2, | 799 | &clk_h2, |
800 | &clk_xusbxti, | ||
794 | }; | 801 | }; |
795 | 802 | ||
796 | /** | 803 | /** |