summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-12-28 14:54:10 -0800
committerColin Cross <ccross@android.com>2010-12-29 16:11:51 -0800
commit0792e02b8e84d8d6bbb4235bde98503626ee05a3 (patch)
tree462484b2b3b497fc4ec94690bc4ff818362aa4b9 /arch/arm/mach-tegra/clock.h
parent658a127f90c1e81ce8f66b9996ce25c40cddea3c (diff)
ARM: tegra: clock: Add function to set SDMMC tap delay
The SDMMC controllers have extra bits in the clock source register that adjust the delay between the clock and data to compenstate for delays on the PCB. The values need to be set from the clock code so the clock can be locked during the read-modify-write on the clock source register. Change-Id: Id25b7cc01fa4ec48478b60aefdf5e59bb040fbf2 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r--arch/arm/mach-tegra/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h
index 1d6a9acba412..f3319d30e29c 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -162,5 +162,6 @@ int clk_reparent(struct clk *c, struct clk *parent);
void tegra_clk_init_from_table(struct tegra_clk_init_table *table);
void clk_set_cansleep(struct clk *c);
unsigned long clk_get_rate_locked(struct clk *c);
+void tegra2_sdmmc_tap_delay(struct clk *c, int delay);
#endif