linux: ARM: tegra: Add tegra_dvfs_predict_millivolts
Naveen Kumar Arepalli [Thu, 23 Jan 2014 11:33:46 +0000 (16:33 +0530)]
Add tegra_dvfs_predict_millivolts function prototype

Bug 1423429

Reviewed-on: http://git-master/r/359373
(cherry picked from commit dab86eab4481e9801d4361a155a4d09ae5d44340)

Change-Id: I93e97f25919846bf37af9cefad2029151b5f1715
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/363808
(cherry picked from commit f299a1bcc3c6844c0d696233f1d80fddd01701c1)
Reviewed-on: http://git-master/r/410187
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

include/linux/clk/tegra.h

index 5e0eef1..2a374c5 100644 (file)
@@ -159,6 +159,7 @@ struct notifier_block;
 int tegra_dvfs_get_freqs(struct clk *c, unsigned long **freqs, int *num_freqs);
 int tegra_dvfs_set_rate(struct clk *c, unsigned long rate);
 int tegra_dvfs_override_core_voltage(struct clk *c, int override_mv);
+int tegra_dvfs_predict_millivolts(struct clk *c, unsigned long rate);
 int tegra_dvfs_set_fmax_at_vmin(struct clk *c, unsigned long f_max, int v_min);
 unsigned long clk_get_rate_all_locked(struct clk *c);
 int tegra_dvfs_rail_disable_by_name(const char *reg_id);