projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a9166
)
mmc: sdhci-of-arasan: Skip Auto tuning for DDR50 mode in ZynqMP platform
author
Manish Narani
<manish.narani@xilinx.com>
Tue, 15 Jun 2021 10:43:53 +0000
(16:13 +0530)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 24 Aug 2021 08:15:28 +0000
(10:15 +0200)
ZynqMP platform does not perform auto tuning in DDR50 mode. Skip the
same while the card is operating in DDR50 mode.
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link:
https://lore.kernel.org/r/1623753837-21035-4-git-send-email-manish.narani@xilinx.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci-of-arasan.c
b/drivers/mmc/host/sdhci-of-arasan.c
index e61dbe0cf9fe65dbe6098489c7083dfd8885fb40..0f6ef4f4582507b6b6d875735b83872ae78d6be0 100644
(file)
--- a/
drivers/mmc/host/sdhci-of-arasan.c
+++ b/
drivers/mmc/host/sdhci-of-arasan.c
@@
-894,6
+894,10
@@
static int arasan_zynqmp_execute_tuning(struct mmc_host *mmc, u32 opcode)
NODE_SD_1;
int err;
+ /* ZynqMP SD controller does not perform auto tuning in DDR50 mode */
+ if (mmc->ios.timing == MMC_TIMING_UHS_DDR50)
+ return 0;
+
arasan_zynqmp_dll_reset(host, device_id);
err = sdhci_execute_tuning(mmc, opcode);