提交 05e021f0 编写于 作者: M Maurus Cuelenaere 提交者: Ben Dooks

ARM: S3C64XX: Add USB external clock definition

This adds the xusbxti clock to S3C64XX platform.
Signed-off-by: NMaurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 835879a8
...@@ -88,6 +88,12 @@ struct clk clk_48m = { ...@@ -88,6 +88,12 @@ struct clk clk_48m = {
.enable = clk_48m_ctrl, .enable = clk_48m_ctrl,
}; };
struct clk clk_xusbxti = {
.name = "xusbxti",
.id = -1,
.rate = 48000000,
};
static int inline s3c64xx_gate(void __iomem *reg, static int inline s3c64xx_gate(void __iomem *reg,
struct clk *clk, struct clk *clk,
int enable) int enable)
...@@ -791,6 +797,7 @@ static struct clk *clks[] __initdata = { ...@@ -791,6 +797,7 @@ static struct clk *clks[] __initdata = {
&clk_27m, &clk_27m,
&clk_48m, &clk_48m,
&clk_h2, &clk_h2,
&clk_xusbxti,
}; };
/** /**
......
...@@ -74,6 +74,7 @@ extern struct clk clk_ext; ...@@ -74,6 +74,7 @@ extern struct clk clk_ext;
extern struct clk clk_h2; extern struct clk clk_h2;
extern struct clk clk_27m; extern struct clk clk_27m;
extern struct clk clk_48m; extern struct clk clk_48m;
extern struct clk clk_xusbxti;
extern int clk_default_setrate(struct clk *clk, unsigned long rate); extern int clk_default_setrate(struct clk *clk, unsigned long rate);
extern struct clk_ops clk_ops_def_setrate; extern struct clk_ops clk_ops_def_setrate;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册