]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
tegra: p1761: enable OC4 soc_therm HW throttle
authorTimo Alho <talho@nvidia.com>
Tue, 7 Jan 2014 10:21:52 +0000 (12:21 +0200)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 9 Jan 2014 01:44:25 +0000 (17:44 -0800)
commit4de8d209b9a2faee48cc0e939a03469a7b2a3cee
treea2e696eaf6c84642b5ba87ff6703c53df28ff78b
parent9c9853ec2c436d1c256991673c412e83db664348
tegra: p1761: enable OC4 soc_therm HW throttle

This patch enables OC4 HW throttle for P1761 TN8 platform. INA power
monitor sensor is driving the OC4 soc_therm input to throttle GPU&CPU
when safe battery current limits are exceeded.

For now, the battery OC limit is set to 6450mA

Bug 1339846

Change-Id: I8767adea4ee82226deba2b7ccf72a5f6e8f6115f
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/352695
Reviewed-by: Steve Rogers <srogers@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
arch/arm/mach-tegra/board-ardbeg-power.c
arch/arm/mach-tegra/board-tn8-p1761-powermon.c