arm: tegra: soctherm: Support configuring OC alarms
authorDiwakar Tundlam <dtundlam@nvidia.com>
Tue, 19 Mar 2013 07:23:54 +0000 (00:23 -0700)
committerMrutyunjay Sawant <msawant@nvidia.com>
Tue, 2 Apr 2013 11:05:22 +0000 (04:05 -0700)
commit1f26035e199eb6058db7f576a0de34cd3a37a2c7
treef42b257e72ab18686064f341e959324164318143
parent1927a8824de27eea314d7b1a4ac08741edb6daba
arm: tegra: soctherm: Support configuring OC alarms

Added support to program throttling when OC alarms are triggered.
Support OC1-OC5 with CPU+GPU throttling with preset throttle depths.
Disable suspend cooling device when any OC alarm is configured.

Enhanced regs debug node to display more information about OC alarm
configuration and status.

Enable OC2 and OC4 handling for Dalmore and Pluto.
See Bug 1216535 for testing info to trigger throttling with OC4.

Bug 1206300
Bug 1216535

Change-Id: I32eb161ce34ae52725e81c1852d5b00a0b88314a
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/211013
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
arch/arm/mach-tegra/board-dalmore-power.c
arch/arm/mach-tegra/board-pluto-power.c
arch/arm/mach-tegra/tegra11_soctherm.c
arch/arm/mach-tegra/tegra11_soctherm.h