arm: tegra: soctherm: Fix setting hi-thresh for passive trips
authorDiwakar Tundlam <dtundlam@nvidia.com>
Tue, 5 Feb 2013 02:28:59 +0000 (18:28 -0800)
committerRiham Haidar <rhaidar@nvidia.com>
Thu, 7 Feb 2013 02:28:07 +0000 (18:28 -0800)
commit9fcb5e5b1962d2104409c8f5ba7c4911bde28ad2
treed850c5f3cbb6db6ecc361eb8e56b4f23252d2e7a
parentc58ff7d3913e4ea5b00aca02d71ca10e45116aa0
arm: tegra: soctherm: Fix setting hi-thresh for passive trips

Set the hardware high-threshold = passive trip point instead of 128C.
There's only one passive trip point that software thermal governor
monitors (and polls if the temperature is higher).

This avoids certain thermal runaway cases, esp. with small passive
delays and large hysteresis because the high threshold = passive trip
point raises an interrupt if the temperature goes above it.

Bug 1200077

Change-Id: I4638a85065e4662ba44d291d6eb2ce13f39d5d52
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/197348
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
arch/arm/mach-tegra/tegra11_soctherm.c
arch/arm/mach-tegra/tegra11_soctherm.h