Skip to content
Commit 6b8dd9ca authored by Judith Mendez's avatar Judith Mendez Committed by Tom Rini
Browse files

mmc: am654_sdhci: Add tuning algorithm for delay chain

Currently the sdhci_am654 driver only supports one tuning
algorithm which should be used only when DLL is enabled. The
ITAPDLY is selected from the largest passing window and the
buffer is viewed as a circular buffer.

The new tuning algorithm should be used when the delay chain
is enabled; the ITAPDLY is selected from the largest passing
window and the buffer is not viewed as a circular buffer.

This implementation is based off of the following paper: [1].

Also add support for multiple failing windows.

[1] https://www.ti.com/lit/an/spract9/spract9.pdf



Fixes: a759abf5 ("mmc: am654_sdhci: Add support for software tuning")
Signed-off-by: default avatarJudith Mendez <jm@ti.com>
parent 3434b88d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment