diff options
author | Alex Frid <afrid@nvidia.com> | 2014-01-16 22:07:21 -0800 |
---|---|---|
committer | Yu-Huan Hsu <yhsu@nvidia.com> | 2014-01-17 14:46:59 -0800 |
commit | b9a322c2ca320c4a30a7991226a1646fc340e485 (patch) | |
tree | caf0d48068734d88e6dfd407ccf6211246ad03d4 /arch/arm/mach-tegra/clock.h | |
parent | 5bf5a77113c0451e1cc3036945babe0c00e4b3ad (diff) |
ARM: tegra: dvfs: Set DFLL clock data in common code
Set CL-DVFS data for DFLL target clock by CL-DVFS driver probe code
(instead of per-chip DFLL clock initialization).
Change-Id: I742093570245f6ef97dfdc908c538de6ff4c338e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/356964
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r-- | arch/arm/mach-tegra/clock.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h index 438f27903fb8..f9fa228ae217 100644 --- a/arch/arm/mach-tegra/clock.h +++ b/arch/arm/mach-tegra/clock.h @@ -2,12 +2,11 @@ * arch/arm/mach-tegra/include/mach/clock.h * * Copyright (C) 2010 Google, Inc. - * Copyright (c) 2012 NVIDIA CORPORATION. All rights reserved. * * Author: * Colin Cross <ccross@google.com> * - * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2010-2014, NVIDIA Corporation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -405,6 +404,11 @@ struct clk *tegra_get_clock_by_name(const char *name); void tegra_clk_init_from_table(struct tegra_clk_init_table *table); #ifndef CONFIG_COMMON_CLK +static inline void clk_set_cl_dvfs_data(struct clk *c, void *cld) +{ + c->u.dfll.cl_dvfs = cld; +} + static inline bool clk_is_auto_dvfs(struct clk *c) { return c->auto_dvfs; |