ARM: tegra: clock: Add function to set SDMMC tap delay
authorColin Cross <ccross@android.com>
Sun, 13 Feb 2011 02:24:32 +0000 (18:24 -0800)
committerColin Cross <ccross@android.com>
Mon, 21 Feb 2011 08:16:47 +0000 (00:16 -0800)
commit9743b38969790d33b077ab80b175ea63a0398703
tree5f264886b0fef728534ff6a29a9d82579edb6111
parent7a281284125fe8704ea16fd1ca243971b7c0a105
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>
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/include/mach/clk.h
arch/arm/mach-tegra/tegra2_clocks.c