arm: tegra: turn off pll-a/p in LP1
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Wed, 18 Apr 2012 04:55:06 +0000 (09:55 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 04:55:06 +0000 (09:55 +0530)
commit55f46be2e37879dcfe347214cb651f4a6cd6d630
tree343bdcdb8473adf0dc3dbf73828df0d44bee26c1
parent7759f53a6b3116995930b7698f429224c1764cf0
arm: tegra: turn off pll-a/p in LP1

- current code does not turn off pll-a/p in LP1
irrespective of voice call status
- add a new flag to indicate voice call on-going
- use PMC_SCRATCH37 to hold this flag
- if it is set, do not turn-off pll-a/p during LP1
- save-restore PMC_SCRATCH37 if it was used to hold the
voice call on-going flag
- fix few misc formatting issues in tegra3_cpu_clk32k

Bug 924817

Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/85768
(cherry picked from commit 7853981c987ae329620bb54d869016cb74a6c054)

Change-Id: Id5348d2eb44a4bacaf00f6d17edceedaef819e29
Reviewed-on: http://git-master/r/94395
Tested-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Conflicts:

arch/arm/mach-tegra/pm.c

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/sleep-t3.S
arch/arm/mach-tegra/sleep.h