summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/da850.c
diff options
context:
space:
mode:
authorChristian Riesch <christian.riesch@omicron.at>2011-06-28 15:10:51 +0000
committerSekhar Nori <nsekhar@ti.com>2011-07-06 22:07:30 +0530
commit8d54297b90831b6e87e62ad910f833b8666094c8 (patch)
tree6104d936fb3f2f30e51c37cbb4431050e97754a7 /arch/arm/mach-davinci/da850.c
parentfe0d42203cb5616eeff68b14576a0f7e2dd56625 (diff)
downloadlinux-8d54297b90831b6e87e62ad910f833b8666094c8.tar.bz2
davinci: da850: add a .set_rate method to ref_clk
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>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
-rw-r--r--arch/arm/mach-davinci/da850.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 133aac405853..4e22b8da3493 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -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 = {