]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: add delay line setting support
authorDong Aisheng <b29396@freescale.com>
Mon, 21 Oct 2013 08:54:40 +0000 (16:54 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:02:28 +0000 (18:02 +0200)
commitbb5e9a408dc5d0e88fd8f10db6ae37a33f4d912e
tree37bfc9cc8ab1a44365248e4882be39d23d03fe0b
parent9f55ab6725a5eaa0ab4959cfba712de8a02f35c6
mmc: sdhci-esdhc-imx: add delay line setting support

The DLL(Delay Line) is newly added to assist in sampling read data.
The DLL provides the ability to programmatically select a quantized
delay (in fractions of the clock period) regardless of on-chip variations
such as process, voltage and temperature (PVT).

This patch adds a user interface to set slave delay line via device tree.
It's usually used in high speed mode like mmc DDR mode when the signal
quality is not good caused by board design, e.g. the signal path is too
long.  User can manually set delay line to find a suitable data sampling
window for card to work properly.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/sdhci-esdhc-imx.c