projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70b9b0
)
mmc: sdhci: Write to HOST_CONTROL2 register for HS400 speed mode
author
Faiz Abbas
<faiz_abbas@ti.com>
Mon, 5 Apr 2021 14:44:28 +0000
(20:14 +0530)
committer
Lokesh Vutla
<lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:26:09 +0000
(10:56 +0530)
Enable HS400 speed mode by writing to HOST_CONTROL2 register.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Link:
https://lore.kernel.org/r/20210405144428.12159-1-a-govindraju@ti.com
drivers/mmc/sdhci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/sdhci.c
b/drivers/mmc/sdhci.c
index
d9ab6a0
..
eea4701
100644
(file)
--- a/
drivers/mmc/sdhci.c
+++ b/
drivers/mmc/sdhci.c
@@
-507,6
+507,9
@@
void sdhci_set_uhs_timing(struct sdhci_host *host)
case MMC_HS_200:
reg |= SDHCI_CTRL_UHS_SDR104;
break;
+ case MMC_HS_400:
+ reg |= SDHCI_CTRL_HS400;
+ break;
default:
reg |= SDHCI_CTRL_UHS_SDR12;
}