]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:39:14 +0000 (13:39 +0100)
commit74b00ca221d2bd20c16bd82d4f711d04cb044714
tree53e884bebc42c08ef46858530d74f897e9265e67
parentac571d62fccb765c2bbc19280c593aca17d7317c
mmc: sdhci-of-arasan: Issue DLL reset explicitly

commit d06d60d52ec0b0eef702dd3e7b4699f0b589ad0f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-of-arasan.c