]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
arm: tegra: soctherm: add interrupt threshold and filtering
authorTimo Alho <talho@nvidia.com>
Thu, 23 Jan 2014 13:12:52 +0000 (15:12 +0200)
committerJuha Tukkinen <jtukkinen@nvidia.com>
Thu, 30 Jan 2014 11:59:51 +0000 (03:59 -0800)
commita0cd0d49b611daeeaf30b9ce0860fe8d37416bac
tree6c4922bc653deab2250f8ed0e711dd5eb264aa2d
parentd7fea349fde271a50670455588330f0f04b6e7b2
arm: tegra: soctherm: add interrupt threshold and filtering

This patch makes OC_ALARM_*_CNT_THRESHOLD and OC_ALARM_*_FILTER
registers configurable from soc_therm platform data.

Also fix naming of ALARM_THRESHOLD_PERIOD to ALARM_THROTTLE_PERIOD as
per register description.

Bug 1444676

Change-Id: I2901e5cd0ccd893aabbf622169e20b90b5977ff7
Signed-off-by: Timo Alho <talho@nvidia.com>
(cherry picked from commit 81e6acf47d4493eea8f615f89a1cc23279037603)
Reviewed-on: http://git-master/r/359396
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
arch/arm/mach-tegra/tegra11_soctherm.c
arch/arm/mach-tegra/tegra11_soctherm.h