ARM: tegra: clock: Remove Tegra3 initial pll_m refcount
authorAlex Frid <afrid@nvidia.com>
Tue, 25 Oct 2011 01:51:32 +0000 (18:51 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 02:57:34 +0000 (19:57 -0700)
commit7e00955a6584b2f082295b59df57a5e3d3dcbfd1
treed38d1b92fe5900fb3926f51a7693325216fb9e24
parentfc57f889b8ca608fd700bd51af54b10cd71c8bbf
ARM: tegra: clock: Remove Tegra3 initial pll_m refcount

Removed Tegra3 pll_m refcount from common and board initialization.
As a result pll_m is turned off when all client clocks are disabled.
Added pll_m disable/enable control via PMC registers - this one
actually works on Tegra3; kept clock register control in place, just
in case.

Originally implemented in dee91eaf47a7e6b392e9663170dcfdcdde73446c.

Bug 888476

Change-Id: Ifa70d25ce8d93abc12c741d3a51b32110db3f7dd
Reviewed-on: http://git-master/r/60129
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8de74a2b14d06ef754ba043f07a95ad636924c65
arch/arm/mach-tegra/board-cardhu.c