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>