OMAP2xxx: clock: fix low-frequency oscillator clock rate
authorPaul Walmsley <paul@pwsan.com>
Wed, 16 Feb 2011 22:38:38 +0000 (15:38 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 03:19:39 +0000 (20:19 -0700)
The OMAP2420/2430 external 32-kHz low-frequency oscillator is a 32768
Hz oscillator, not a 32,000 Hz oscillator[1][2].  Fix this in the clock
tree.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
1. OMAP2420/22 Multimedia Processor Data Manual, Version P [SWPS019P],
   section 5.1.4 "External 32-kHz CMOS Clock" (note that it refers to
   a "32.768-kHz" clock; this presumably should be "32.768-KHz")

2. OMAP2430 Multimedia Processor ES2.1 Data Manual, Version V [SWPS023V],
   section 5.1.4 "External 32-kHz CMOS Clock" (note that it refers to
   a "32.768-kHz" clock; this presumably should be "32.768-KHz")

arch/arm/mach-omap2/clock2420_data.c
arch/arm/mach-omap2/clock2430_data.c

index 693a0a8..fd5ba90 100644 (file)
@@ -55,7 +55,7 @@
 static struct clk func_32k_ck = {
        .name           = "func_32k_ck",
        .ops            = &clkops_null,
-       .rate           = 32000,
+       .rate           = 32768,
        .clkdm_name     = "wkup_clkdm",
 };
 
index f00f52e..0d069ef 100644 (file)
@@ -55,7 +55,7 @@
 static struct clk func_32k_ck = {
        .name           = "func_32k_ck",
        .ops            = &clkops_null,
-       .rate           = 32000,
+       .rate           = 32768,
        .clkdm_name     = "wkup_clkdm",
 };