mmc: sdhci_am654: Write ITAPDLY for DDR52 timing
authorJudith Mendez <jm@ti.com>
Wed, 20 Mar 2024 22:38:32 +0000 (17:38 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 2 Apr 2024 10:21:39 +0000 (12:21 +0200)
commitd465234493bb6ad1b9c10a0c9ef9881b8d85081a
treeaecd4ec80374a6d3bb3691e1ca59925650755a14
parent6231d99dd4119312ad41abf9383e18fec66cbe4b
mmc: sdhci_am654: Write ITAPDLY for DDR52 timing

For DDR52 timing, DLL is enabled but tuning is not carried
out, therefore the ITAPDLY value in PHY CTRL 4 register is
not correct. Fix this by writing ITAPDLY after enabling DLL.

Fixes: a161c45f2979 ("mmc: sdhci_am654: Enable DLL only for some speed modes")
Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240320223837.959900-3-jm@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c