diff options
author | Colin Cross <ccross@android.com> | 2011-02-12 18:24:32 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-02-21 00:16:47 -0800 |
commit | 9743b38969790d33b077ab80b175ea63a0398703 (patch) | |
tree | 5f264886b0fef728534ff6a29a9d82579edb6111 /arch/arm/mach-tegra/include | |
parent | 7a281284125fe8704ea16fd1ca243971b7c0a105 (diff) | |
download | blackbird-op-linux-9743b38969790d33b077ab80b175ea63a0398703.tar.gz blackbird-op-linux-9743b38969790d33b077ab80b175ea63a0398703.zip |
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.
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/clk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/clk.h b/arch/arm/mach-tegra/include/mach/clk.h index fa7f9ca1fdbd..c8baf8f80d23 100644 --- a/arch/arm/mach-tegra/include/mach/clk.h +++ b/arch/arm/mach-tegra/include/mach/clk.h @@ -26,4 +26,6 @@ void tegra_periph_reset_deassert(struct clk *c); void tegra_periph_reset_assert(struct clk *c); unsigned long clk_get_rate_all_locked(struct clk *c); +void tegra_sdmmc_tap_delay(struct clk *c, int delay); + #endif |