Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221058
b: refs/heads/master
c: 228ef98
h: refs/heads/master
v: v3
  • Loading branch information
Jongpill Lee authored and Kukjin Kim committed Oct 20, 2010
1 parent aaf157b commit ae11b8e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b99380e1047842de199089cc0945d5d9f0ff6a17
refs/heads/master: 228ef9872b5c7e6fdb67a7a04547b33284242940
15 changes: 14 additions & 1 deletion trunk/arch/arm/mach-s5pv310/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,10 @@ void __init_or_cpufreq s5pv310_setup_clocks(void)
unsigned long xtal;
unsigned long armclk;
unsigned long sclk_dmc;
unsigned long aclk_200;
unsigned long aclk_100;
unsigned long aclk_160;
unsigned long aclk_133;
unsigned int ptr;

printk(KERN_DEBUG "%s: registering clocks\n", __func__);
Expand Down Expand Up @@ -507,10 +511,19 @@ void __init_or_cpufreq s5pv310_setup_clocks(void)
armclk = clk_get_rate(&clk_armclk.clk);
sclk_dmc = clk_get_rate(&clk_sclk_dmc.clk);

printk(KERN_INFO "S5PV310: ARMCLK=%ld, DMC=%ld\n", armclk, sclk_dmc);
aclk_200 = clk_get_rate(&clk_aclk_200.clk);
aclk_100 = clk_get_rate(&clk_aclk_100.clk);
aclk_160 = clk_get_rate(&clk_aclk_160.clk);
aclk_133 = clk_get_rate(&clk_aclk_133.clk);

printk(KERN_INFO "S5PV310: ARMCLK=%ld, DMC=%ld, ACLK200=%ld\n"
"ACLK100=%ld, ACLK160=%ld, ACLK133=%ld\n",
armclk, sclk_dmc, aclk_200,
aclk_100, aclk_160, aclk_133);

clk_f.rate = armclk;
clk_h.rate = sclk_dmc;
clk_p.rate = aclk_100;

for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++)
s3c_set_clksrc(&clksrcs[ptr], true);
Expand Down

0 comments on commit ae11b8e

Please sign in to comment.