summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_emc.h
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2011-10-21 21:47:36 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-22 23:48:38 -0700
commit75858469df737abbd028f704d611b3d09991eef8 (patch)
tree54e9d5d7d44bef4102e7cd9b3d76822b141120a7 /arch/arm/mach-tegra/tegra3_emc.h
parent1c435236df4316b6587fa011683e2dbd4440fede (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.h3
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