thermal: tegra: add hw-throttle function
authorWei Ni <wni@nvidia.com>
Wed, 11 May 2016 10:20:17 +0000 (18:20 +0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:02:32 +0000 (14:02 +0800)
commitce0dbf04f685d48ffdec64a17ebb4965f828c3ff
tree29347f927f7a7036b29cac82a6ddbdcd969ad875
parent44f3d4170e00debf154e778e7068e5d78c41dd82
thermal: tegra: add hw-throttle function

Tegra soctherm support HW throttle, when the soctherm snesors'
temperature is above the throttle trip point, it will trigger
pulse skiper to tune clocks accroding to the throttle depth.
Add this function for Tegra124 and Tegra210.
Since Tegra132 use different registers to configure pulse skiper,
will support it in next patch.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/tegra/soctherm.c
drivers/thermal/tegra/soctherm.h
drivers/thermal/tegra/tegra124-soctherm.c
drivers/thermal/tegra/tegra132-soctherm.c
drivers/thermal/tegra/tegra210-soctherm.c