mmc: sdhci-of-arasan: Issue DLL reset explicitly
authorManish Narani <manish.narani@xilinx.com>
Mon, 16 Nov 2020 08:32:45 +0000 (14:02 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 17 Nov 2020 11:44:44 +0000 (12:44 +0100)
commitd06d60d52ec0b0eef702dd3e7b4699f0b589ad0f
treede4ae61054f3ba5f936dc121bc40765cafb80151
parentd338c6d01dc614cad253d6c042501fa0eb242d5c
mmc: sdhci-of-arasan: Issue DLL reset explicitly

In the current implementation DLL reset will be issued for
each ITAP and OTAP setting inside ATF, this is creating issues
in some scenarios and this sequence is not inline with the TRM.
To fix the issue, DLL reset should be removed from the ATF and
host driver will request it explicitly.
This patch update host driver to explicitly request for DLL reset
before ITAP (assert DLL) and after OTAP (release DLL) settings.

Fixes: a5c8b2ae2e51 ("mmc: sdhci-of-arasan: Add support for ZynqMP Platform Tap Delays Setup")
Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1605515565-117562-4-git-send-email-manish.narani@xilinx.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c