diff options
author | Alex Frid <afrid@nvidia.com> | 2011-10-21 21:47:36 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:45 -0800 |
commit | 9738f60a41ff7910e58f3100f5dcb1fb5c2e0321 (patch) | |
tree | 893ab8c3859b3a395f6cc3360744b903ce86dab6 /arch/arm/mach-tegra/tegra3_emc.h | |
parent | 0d68bbc3997b6ef0540c08d7098b3e3d630b6d67 (diff) |
ARM: tegra: clock: Update Tegra3 EMC clock configuration
- Moved initialization of Tegra3 dram configuration variables from
EMC DVFS setup to EMC clock initialization, so that these variables
can be used independently of DVFS.
- Added graceful exit from EMC DVFS setup in case of empty DVFS table
- Applied EMC minimum rate to direct EMC clock round rate operations
(currently applied only to shared EMC bus update).
(cherry picked from commit c6b3f6e0eb0b6e3485d02fc5306a1c09cbacf914)
(cherry picked from commit cbf09d55bb9fa9c9ade7bb472859b4808f47b615)
Change-Id: I84bbdc05ff7a0670ec9d088b98a9df25683db4df
Reviewed-on: http://git-master/r/62029
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R0fb03ff9903aa51aa922b4a49eed96aad0e97a06
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_emc.h')
-rw-r--r-- | arch/arm/mach-tegra/tegra3_emc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra3_emc.h b/arch/arm/mach-tegra/tegra3_emc.h index 29c5c47994ae..24dd5655d22d 100644 --- a/arch/arm/mach-tegra/tegra3_emc.h +++ b/arch/arm/mach-tegra/tegra3_emc.h @@ -43,8 +43,11 @@ struct tegra_emc_table { u32 emc_mode_2; }; +struct clk; + void tegra_init_emc(const struct tegra_emc_table *table, int table_size); +void tegra_emc_dram_type_init(struct clk *c); int tegra_emc_get_dram_type(void); #ifdef CONFIG_PM_SLEEP |