ARM: tegra: clocks: Add emc scaling
authorColin Cross <ccross@android.com>
Tue, 23 Nov 2010 02:37:54 +0000 (18:37 -0800)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 08:16:45 +0000 (00:16 -0800)
commit6d2968284f63efa1d1849165f9e3a80402509212
treea7976141d9c595d2becbfc14cfe99f719ec3a4c7
parentefdf72ad5c42b529286a1991f51badb030043719
ARM: tegra: clocks: Add emc scaling

Add clock ops on the emc peripheral clock that call into the
emc driver to update the memory controller registers for the
new frequency.  Tegra has an interlock between the clock
controller and the memory controller that prevents the new
register values from taking effect until the clock frequency
update occurs.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/tegra2_clocks.c