projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d275435
)
mmc: sdhci: Add VDD2 definition for power control register
author
Victor Shih
<victor.shih@genesyslogic.com.tw>
Fri, 9 Jun 2023 07:14:40 +0000
(15:14 +0800)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 12 Jun 2023 13:20:08 +0000
(15:20 +0200)
Add new definition for VDD2 - UHS2 or PCIe/NVMe.
Signed-off-by: Ben Chuang <ben.chuang@genesyslogic.com.tw>
Signed-off-by: Victor Shih <victor.shih@genesyslogic.com.tw>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link:
https://lore.kernel.org/r/20230609071441.451464-4-victorshihgli@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/sdhci.h
b/drivers/mmc/host/sdhci.h
index f4f2085c274c9d28dbb626cf7eb63da8760e6df9..f219bdea8f280d6ffb647ff4ac8523a13c6214c3 100644
(file)
--- a/
drivers/mmc/host/sdhci.h
+++ b/
drivers/mmc/host/sdhci.h
@@
-99,6
+99,13
@@
#define SDHCI_POWER_180 0x0A
#define SDHCI_POWER_300 0x0C
#define SDHCI_POWER_330 0x0E
+/*
+ * VDD2 - UHS2 or PCIe/NVMe
+ * VDD2 power on/off and voltage select
+ */
+#define SDHCI_VDD2_POWER_ON 0x10
+#define SDHCI_VDD2_POWER_120 0x80
+#define SDHCI_VDD2_POWER_180 0xA0
#define SDHCI_BLOCK_GAP_CONTROL 0x2A