2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 08:38:24 +08:00

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

View File

@ -58,6 +58,7 @@ static struct pll_data pll0_data = {
static struct clk ref_clk = { static struct clk ref_clk = {
.name = "ref_clk", .name = "ref_clk",
.rate = DA850_REF_FREQ, .rate = DA850_REF_FREQ,
.set_rate = davinci_simple_set_rate,
}; };
static struct clk pll0_clk = { static struct clk pll0_clk = {