davinci: cpufreq: add support for keeping an additional clock constant
authorSekhar Nori <nsekhar@ti.com>
Tue, 20 Jul 2010 11:16:50 +0000 (16:46 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 14:40:25 +0000 (07:40 -0700)
commit30a2c5d2f0134df6175af26ce554aacaee304280
tree29fe671fef47283a0838cb38f207f4762a604c89
parentb39639b820ca64e55c39b5217773919ca7973cec
davinci: cpufreq: add support for keeping an additional clock constant

On OMAP-L138 SoC, some of the sysclks need not be at a fixed ratio
to CPU clock and can be kept at a relatively constant rate by
adjusting the PLLDIVn ratio even as cpufreq goes ahead and changes
the CPU clock.

This feature can be used to keep the EMIFA (PLL0 SYSCLK3) clock at a
constant rate so that the EMIF timings need not be re-programmed
whenever the CPU frequency changes.

This patch adds the required suppport to cpufreq driver.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/cpufreq.c