summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra_cl_dvfs.h
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2013-05-10 20:57:23 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:14:36 -0700
commitfe2be3da078682675f143776eae7e70b9937da80 (patch)
treee6ef58d48dc8b6aa35d89d2cb9cf89a6da089d4a /arch/arm/mach-tegra/tegra_cl_dvfs.h
parenta191b1311ed5aa1f3e44a7e7f67c0b6ee0b45a0e (diff)
ARM: tegra: dvfs: Add CL-DVFS regulator undershoot guard-band
Added mechanism to enforce regulator undershoot guard-band when requesting new CL-DVFS frequency. It is based on already in use CL-DVFS force mode. The forced voltage value is now limited from below by (Vmin plus guard-band). The value of guard-band is specified by Cl-DVFS platform data. The minimum forced voltage is calculated by applying guard-band to voltage floors in CL-DVFS Vmin thermal profile (need also to make sure that forced and safe voltages are not equal to avoid filtering on entry to close loop mode). Depending on regulator and board design this guard-band may not be needed. In this case guard-band value is set to zero. Bug 1285525 Change-Id: I74d1da9c38d84301fe22738a6b9de0cd74f61022 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/227721 (cherry picked from commit 51060e4540d4ccb1721af1d9dee0db02e53d426b) Reviewed-on: http://git-master/r/231355 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra_cl_dvfs.h')
-rw-r--r--arch/arm/mach-tegra/tegra_cl_dvfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra_cl_dvfs.h b/arch/arm/mach-tegra/tegra_cl_dvfs.h
index d3a82c673390..9594ab6dbc89 100644
--- a/arch/arm/mach-tegra/tegra_cl_dvfs.h
+++ b/arch/arm/mach-tegra/tegra_cl_dvfs.h
@@ -80,6 +80,7 @@ struct tegra_cl_dvfs_platform_data {
struct voltage_reg_map *vdd_map;
int vdd_map_size;
+ int pmu_undershoot_gb;
struct tegra_cl_dvfs_cfg_param *cfg_param;
};