mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
[ARM] S3C64XX: Add HCLKx2
Add doubled HCLK to S3C64xx. Signed-off-by: Werner Almesberger <werner@openmoko.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
parent
e2c977dca2
commit
a03f7daf6d
3 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,7 @@ extern struct clk clk_xtal;
|
|||
extern struct clk clk_ext;
|
||||
|
||||
/* S3C64XX specific clocks */
|
||||
extern struct clk clk_h2;
|
||||
extern struct clk clk_27m;
|
||||
extern struct clk clk_48m;
|
||||
|
||||
|
|
|
@ -27,6 +27,12 @@
|
|||
#include <plat/devs.h>
|
||||
#include <plat/clock.h>
|
||||
|
||||
struct clk clk_h2 = {
|
||||
.name = "hclk2",
|
||||
.id = -1,
|
||||
.rate = 0,
|
||||
};
|
||||
|
||||
struct clk clk_27m = {
|
||||
.name = "clk_27m",
|
||||
.id = -1,
|
||||
|
@ -246,6 +252,7 @@ static struct clk *clks[] __initdata = {
|
|||
&clk_epll,
|
||||
&clk_27m,
|
||||
&clk_48m,
|
||||
&clk_h2,
|
||||
};
|
||||
|
||||
void __init s3c64xx_register_clocks(void)
|
||||
|
|
|
@ -636,6 +636,7 @@ void __init_or_cpufreq s3c6400_setup_clocks(void)
|
|||
clk_fout_epll.rate = epll;
|
||||
clk_fout_apll.rate = apll;
|
||||
|
||||
clk_h2.rate = hclk2;
|
||||
clk_h.rate = hclk;
|
||||
clk_p.rate = pclk;
|
||||
clk_f.rate = fclk;
|
||||
|
|
Loading…
Reference in a new issue