ARM: tegra: moving the CPU power timer function to PMC driver
authorJoseph Lo <josephl@nvidia.com>
Wed, 3 Apr 2013 11:31:28 +0000 (19:31 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 3 Apr 2013 20:30:22 +0000 (14:30 -0600)
commit0337c3e0c3cbbb3a4f411c292f52fcc314abae67
tree73107fcd904db7cab212ce15ed482cc87fe5b36c
parent7021d1220584ab1e6efd3d59da47b65674d9896a
ARM: tegra: moving the CPU power timer function to PMC driver

The CPU power timer set up function was related to PMC register. Now moving
it to PMC driver. And it also help to clean up the PM related code later.

The timer was calculated based on the input clock of PMC. In this patch, we
also get the clock from DT.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/pmc.c
arch/arm/mach-tegra/pmc.h