ARM: tegra: clock: Add function to set SDMMC tap delay
authorColin Cross <ccross@android.com>
Tue, 28 Dec 2010 22:54:10 +0000 (14:54 -0800)
committerColin Cross <ccross@android.com>
Thu, 30 Dec 2010 00:11:51 +0000 (16:11 -0800)
commit0792e02b8e84d8d6bbb4235bde98503626ee05a3
tree462484b2b3b497fc4ec94690bc4ff818362aa4b9
parent658a127f90c1e81ce8f66b9996ce25c40cddea3c
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>
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