Skip to content

Commit 17b4921

Browse files
Victor Shihstorulf
authored andcommitted
mmc: sdhci: Add VDD2 definition for power control register
Add new definition for VDD2 - UHS2 or PCIe/NVMe. Signed-off-by: Ben Chuang <[email protected]> Signed-off-by: Victor Shih <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent d275435 commit 17b4921

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/mmc/host/sdhci.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@
9999
#define SDHCI_POWER_180 0x0A
100100
#define SDHCI_POWER_300 0x0C
101101
#define SDHCI_POWER_330 0x0E
102+
/*
103+
* VDD2 - UHS2 or PCIe/NVMe
104+
* VDD2 power on/off and voltage select
105+
*/
106+
#define SDHCI_VDD2_POWER_ON 0x10
107+
#define SDHCI_VDD2_POWER_120 0x80
108+
#define SDHCI_VDD2_POWER_180 0xA0
102109

103110
#define SDHCI_BLOCK_GAP_CONTROL 0x2A
104111

0 commit comments

Comments
 (0)