]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0def6567526ffac8916e0605f86d943492474b12
tree73107fcd904db7cab212ce15ed482cc87fe5b36c
parent412ca3f55d15b1687ed2861b2c97c485fa7109b0
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