diff options
author | Sekhar Nori <nsekhar@ti.com> | 2011-06-14 15:33:20 +0000 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2011-07-06 16:48:45 +0530 |
commit | 56e580d7783ba49a50ccc1b1f3130e5ed2dc52e7 (patch) | |
tree | 89ae7f1de834df5fd7425c40e6a7697d0a696401 /arch/arm/mach-davinci/clock.h | |
parent | 0c6fce5eb6a9866674dcf6c26913d0908a119ba3 (diff) | |
download | blackbird-op-linux-56e580d7783ba49a50ccc1b1f3130e5ed2dc52e7.tar.gz blackbird-op-linux-56e580d7783ba49a50ccc1b1f3130e5ed2dc52e7.zip |
davinci: dm6467/T EVM: fix setting up of reference clock rate
The DM6467 and DM6467T EVMs use different reference clock
frequencies. This difference is currently supported by having
the SoC code call a public board routine which sets up the reference
clock frequency. This does not scale as more boards are added.
Instead, use the clk_set_rate() API to setup the reference clock
frequency to a different value from the board file.
Suggested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/clock.h')
-rw-r--r-- | arch/arm/mach-davinci/clock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/clock.h b/arch/arm/mach-davinci/clock.h index 0dd22031ec62..50b2482e0ba2 100644 --- a/arch/arm/mach-davinci/clock.h +++ b/arch/arm/mach-davinci/clock.h @@ -123,6 +123,8 @@ int davinci_clk_init(struct clk_lookup *clocks); int davinci_set_pllrate(struct pll_data *pll, unsigned int prediv, unsigned int mult, unsigned int postdiv); int davinci_set_sysclk_rate(struct clk *clk, unsigned long rate); +int davinci_set_refclk_rate(unsigned long rate); +int davinci_simple_set_rate(struct clk *clk, unsigned long rate); extern struct platform_device davinci_wdt_device; extern void davinci_watchdog_reset(struct platform_device *); |