]> Pileus Git - ~andy/linux/commitdiff
davinci: da850: add a .set_rate method to ref_clk
authorChristian Riesch <christian.riesch@omicron.at>
Tue, 28 Jun 2011 15:10:51 +0000 (15:10 +0000)
committerSekhar Nori <nsekhar@ti.com>
Wed, 6 Jul 2011 16:37:30 +0000 (22:07 +0530)
This patch allows setting the input clock frequency of the SoC from
the board specific code using the davinci_set_refclk_rate function.

Suggested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da850.c

index 133aac40585374299ef9d55f651dd8f85fcf4e71..4e22b8da349334dfdb88d52aa07e11cf57979bc3 100644 (file)
@@ -58,6 +58,7 @@ static struct pll_data pll0_data = {
 static struct clk ref_clk = {
        .name           = "ref_clk",
        .rate           = DA850_REF_FREQ,
+       .set_rate       = davinci_simple_set_rate,
 };
 
 static struct clk pll0_clk = {