]> 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)
commitd0c13253d658b23da90d1fc83d890f706fd52c74
tree73107fcd904db7cab212ce15ed482cc87fe5b36c
parent67f9ceec01086591295e1408d775c82b61718362
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