Skip to content
Commit 3465401e authored by Judith Mendez's avatar Judith Mendez Committed by Greg Kroah-Hartman
Browse files

mmc: sdhci_am654: Add OTAP/ITAP delay enable

[ Upstream commit 387c1bf7 ]

Currently the OTAP/ITAP delay enable functionality is incorrect in
the am654_set_clock function. The OTAP delay is not enabled when
timing < SDR25 bus speed mode. The ITAP delay is not enabled for
timings that do not carry out tuning.

Add this OTAP/ITAP delay functionality according to the datasheet
[1] OTAPDLYENA and ITAPDLYENA for MMC0.

[1] https://www.ti.com/lit/ds/symlink/am62p.pdf



Fixes: 8ee5fc0e ("mmc: sdhci_am654: Update OTAPDLY writes")
Signed-off-by: default avatarJudith Mendez <jm@ti.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240320223837.959900-4-jm@ti.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9b8590cb
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