]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci_am654: Write ITAPDLY for DDR52 timing
authorJudith Mendez <jm@ti.com>
Wed, 20 Mar 2024 22:38:32 +0000 (17:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:41 +0000 (13:39 +0200)
commite5eefc47c934cccccdbd59a17737a01837f95a64
tree1104276f13f01c2a16733110566baf2257415ebb
parentb2d13473d0913e5e8ec70860badcb9c16259ee24
mmc: sdhci_am654: Write ITAPDLY for DDR52 timing

[ Upstream commit d465234493bb6ad1b9c10a0c9ef9881b8d85081a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci_am654.c