diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2012-08-06 10:27:42 +0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-06 21:47:20 +0400 |
commit | 96a1bd1e11ade7be969d275edd4c06749684cdba (patch) | |
tree | d76dde0eb30d5dab8cb81ad8d27fc5554e0cbe03 /arch/arm/mach-tegra/include | |
parent | 23fc5b246119f665cfa075ce7567f31a017b11b8 (diff) | |
download | linux-96a1bd1e11ade7be969d275edd4c06749684cdba.tar.xz |
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')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/clk.h | 3 |
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); |