Skip to content

Commit

Permalink
davinci: da850: add a .set_rate method to ref_clk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Riesch authored and Sekhar Nori committed Jul 6, 2011
1 parent fe0d422 commit 8d54297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-davinci/da850.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8d54297

Please sign in to comment.