diff options
author | Wei Ni <wni@nvidia.com> | 2016-05-11 18:20:17 +0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-09-27 14:02:32 +0800 |
commit | ce0dbf04f685d48ffdec64a17ebb4965f828c3ff (patch) | |
tree | 29347f927f7a7036b29cac82a6ddbdcd969ad875 /drivers/thermal/tegra/tegra132-soctherm.c | |
parent | 44f3d4170e00debf154e778e7068e5d78c41dd82 (diff) |
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>
Diffstat (limited to 'drivers/thermal/tegra/tegra132-soctherm.c')
-rw-r--r-- | drivers/thermal/tegra/tegra132-soctherm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/tegra/tegra132-soctherm.c b/drivers/thermal/tegra/tegra132-soctherm.c index e2aa84e1b307..ae5d61af2df3 100644 --- a/drivers/thermal/tegra/tegra132-soctherm.c +++ b/drivers/thermal/tegra/tegra132-soctherm.c @@ -193,4 +193,5 @@ const struct tegra_soctherm_soc tegra132_soctherm = { .num_ttgs = ARRAY_SIZE(tegra132_tsensor_groups), .tfuse = &tegra132_soctherm_fuse, .thresh_grain = TEGRA132_THRESH_GRAIN, + .use_ccroc = true, }; |