davinci: dm6467/T EVM: fix setting up of reference clock rate
commit56e580d7783ba49a50ccc1b1f3130e5ed2dc52e7
authorSekhar Nori <nsekhar@ti.com>
Tue, 14 Jun 2011 15:33:20 +0000 (14 15:33 +0000)
committerSekhar Nori <nsekhar@ti.com>
Wed, 6 Jul 2011 11:18:45 +0000 (6 16:48 +0530)
tree89ae7f1de834df5fd7425c40e6a7697d0a696401
parent0c6fce5eb6a9866674dcf6c26913d0908a119ba3
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>
arch/arm/mach-davinci/board-dm646x-evm.c
arch/arm/mach-davinci/clock.c
arch/arm/mach-davinci/clock.h
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/dm646x.h