summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/include/mach
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2012-08-06 11:57:42 +0530
committerStephen Warren <swarren@nvidia.com>2012-09-06 11:47:20 -0600
commit96a1bd1e11ade7be969d275edd4c06749684cdba (patch)
treed76dde0eb30d5dab8cb81ad8d27fc5554e0cbe03 /arch/arm/mach-tegra/include/mach
parent23fc5b246119f665cfa075ce7567f31a017b11b8 (diff)
downloadlinux-stable-96a1bd1e11ade7be969d275edd4c06749684cdba.tar.gz
linux-stable-96a1bd1e11ade7be969d275edd4c06749684cdba.tar.bz2
linux-stable-96a1bd1e11ade7be969d275edd4c06749684cdba.zip
ARM: tegra: Add clk_tegra structure and helper functions
Add Tegra platform specific clock structure clk_tegra and some helper functions for generic clock framework. struct clk_tegra is the single strcture used for all types of clocks. reset and cfg_ex ops moved to clk_tegra from clk_ops. Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r--arch/arm/mach-tegra/include/mach/clk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/clk.h b/arch/arm/mach-tegra/include/mach/clk.h
index d97e403303a0..95f3a547c770 100644
--- a/arch/arm/mach-tegra/include/mach/clk.h
+++ b/arch/arm/mach-tegra/include/mach/clk.h
@@ -34,7 +34,10 @@ enum tegra_clk_ex_param {
void tegra_periph_reset_deassert(struct clk *c);
void tegra_periph_reset_assert(struct clk *c);
+#ifndef CONFIG_COMMON_CLK
unsigned long clk_get_rate_all_locked(struct clk *c);
+#endif
+
void tegra2_sdmmc_tap_delay(struct clk *c, int delay);
int tegra_clk_cfg_ex(struct clk *c, enum tegra_clk_ex_param p, u32 setting);