diff options
author | Alex Frid <afrid@nvidia.com> | 2013-12-03 21:55:36 -0800 |
---|---|---|
committer | Yu-Huan Hsu <yhsu@nvidia.com> | 2013-12-10 16:57:58 -0800 |
commit | 4bd496d5a4185ad2c99e945327ca7e2999d3409e (patch) | |
tree | 27305eaeda9dfdee389f0a5ac68ae6df05514ed0 /arch/arm/mach-tegra/dvfs.h | |
parent | ffce4910c943762ba1635f4ffa3b0448b2773a59 (diff) |
ARM: tegra: dvfs: Add SiMon offsets to DVFS rails
Added Silicon Monitor (SiMon) offsets to DVFS rail object. Offsets
will be applied to minimum voltage requirements for the clocks in the
respective rail domain. Implemented interface to verify expected
offsets properties: all offsets should be equal/below zero, listed in
descending order, starting from zero.
Bug 1343366
Change-Id: Icb2afa77fcd60088284baf9b626e513034c0bb9e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/339673
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.h')
-rw-r--r-- | arch/arm/mach-tegra/dvfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/dvfs.h b/arch/arm/mach-tegra/dvfs.h index 5d9dd4f48da0..4cfa535b4e95 100644 --- a/arch/arm/mach-tegra/dvfs.h +++ b/arch/arm/mach-tegra/dvfs.h @@ -79,6 +79,9 @@ struct dvfs_rail { int therm_mv_floors_num; const int *therm_mv_caps; int therm_mv_caps_num; + const int *simon_vmin_offsets; + int simon_vmin_offs_num; + int simon_domain; int step; int step_up; @@ -265,6 +268,8 @@ struct tegra_cooling_device *tegra_dvfs_get_core_vmax_cdev(void); struct tegra_cooling_device *tegra_dvfs_get_core_vmin_cdev(void); struct tegra_cooling_device *tegra_dvfs_get_gpu_vmin_cdev(void); struct tegra_cooling_device *tegra_dvfs_get_gpu_vts_cdev(void); +void tegra_dvfs_rail_init_simon_vmin_offsets( + int *offsets, int offs_num, struct dvfs_rail *rail); void tegra_dvfs_rail_init_vmin_thermal_profile( int *therm_trips_table, int *therm_floors_table, struct dvfs_rail *rail, struct dvfs_dfll_data *d); |