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>
This commit is contained in:
Christian Riesch 2011-06-28 15:10:51 +00:00 committed by Sekhar Nori
parent fe0d42203c
commit 8d54297b90
1 changed files with 1 additions and 0 deletions

View 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 = {