diff options
author | Anshul Jain <anshulj@nvidia.com> | 2012-07-23 14:59:32 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-07-30 20:46:28 -0700 |
commit | 4582bcef392ae029336673f5685a18fc67ac041a (patch) | |
tree | 3f0da45b86faadf3f3f2efde51871ed5b0efd235 /arch/arm/mach-tegra/timer.h | |
parent | 4012b752d64fd88efc3797e42ad8fedb29045e06 (diff) |
ARM: tegra: dvfs: Adjust VDD_CPU to offset aging
Add silicon aging for VDD_CPU, this recovers some of millivolts based on
the age of the chip.
BUG 1006420
Change-Id: Idddb5861ab039e7ece262dec3697a69c3534ccf2
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/116911
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/timer.h')
-rw-r--r-- | arch/arm/mach-tegra/timer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/timer.h b/arch/arm/mach-tegra/timer.h index 4a91792f5d99..47628330dceb 100644 --- a/arch/arm/mach-tegra/timer.h +++ b/arch/arm/mach-tegra/timer.h @@ -45,11 +45,14 @@ struct tegra_twd_context { int tegra_twd_get_state(struct tegra_twd_context *context); void tegra_twd_suspend(struct tegra_twd_context *context); void tegra_twd_resume(struct tegra_twd_context *context); +int tegra_get_linear_age(void); #else static inline int tegra_twd_get_state(struct tegra_twd_context *context) { return -ENODEV; } static inline void tegra_twd_suspend(struct tegra_twd_context *context) {} static inline void tegra_twd_resume(struct tegra_twd_context *context) {} +static inline int tegra_get_linear_age() +{ return -1; } #endif #endif /* _MACH_TEGRA_TIMER_H_ */ |