diff options
author | Alex Frid <afrid@nvidia.com> | 2013-02-17 00:46:46 -0800 |
---|---|---|
committer | Harshada Kale <hkale@nvidia.com> | 2013-09-12 02:36:38 -0700 |
commit | 455506ccc6e6b13a32c60766db25657e9436352d (patch) | |
tree | d04c29a0933a148215e1928ea9c1b1b4a9f8669e /arch | |
parent | 4f8581ad501bb1f1cceb772d80f38fb4c3c2dfca (diff) |
ARM: tegra: clock: Record boot rates for all clocks
Change-Id: Iea43edd693d1489aa87eff893a1cfcfca1379552
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250523
(cherry picked from commit 42ce0d9e5770de7452f487493d033fece17bce88)
Reviewed-on: http://git-master/r/253675
Tested-by: Shaoming Feng <shaomingf@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/clock.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-tegra/clock.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index 81a6618dedf5..1fa0690835e8 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -795,6 +795,7 @@ static void __init tegra_clk_vefify_rates(void) if (rate > clk_get_max_rate(c)) WARN(1, "tegra: %s boot rate %lu exceeds max rate %lu\n", c->name, rate, clk_get_max_rate(c)); + c->boot_rate = rate; } mutex_unlock(&clock_list_lock); } diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h index 5e02db3856c5..5494361ec9d5 100644 --- a/arch/arm/mach-tegra/clock.h +++ b/arch/arm/mach-tegra/clock.h @@ -151,6 +151,7 @@ struct clk { struct clk_ops *ops; unsigned long dvfs_rate; unsigned long rate; + unsigned long boot_rate; unsigned long max_rate; unsigned long min_rate; bool auto_dvfs; |