]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
ARM: tegra: loki: Enable Tboard temp auto-shutdown
authorAnkita Garg <ankitag@nvidia.com>
Tue, 13 May 2014 21:17:56 +0000 (14:17 -0700)
committerDiwakar Tundlam <dtundlam@nvidia.com>
Thu, 15 May 2014 01:06:33 +0000 (18:06 -0700)
commitb60bd1ef7c9b33a1c865ac452afc1003553f2713
tree5406a07bed747a44154bd14624d7a72926894258
parent2c299409b8ff86ec8a05f3af06b048cce2583213
ARM: tegra: loki: Enable Tboard temp auto-shutdown

This change enables Tboard temperature based auto
shutdown. The system is setup to shutdown if the
Tboard temperature is above 105C. Lower adc values
correspond to higher Tboard temperatures. Adc value
of 765 corresponds to Tboard temp of 105C. In max
perf mode at 15W while fast charging, Tboard temp
can reach upto ~100C, so need a few degrees of
margin to protect against false shutdown events.

Bug 1507251

Change-Id: I9f3cf1b1b209b00643b22400af61f487375e17e9
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/401654
(cherry picked from commit 05ec1460f75467e0f8955a1cf9b41964ed68b3b7)
Reviewed-on: http://git-master/r/408963
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
arch/arm/boot/dts/tegra124-foster.dts
arch/arm/boot/dts/tegra124-loki-e2530-a01.dts
arch/arm/boot/dts/tegra124-loki-e2530-a03.dts