diff options
author | Victor Shih <victor.shih@genesyslogic.com.tw> | 2023-06-09 15:14:40 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-06-12 15:20:08 +0200 |
commit | 17b492117b00ead1fa0a53035b2fb98b04ba35f4 (patch) | |
tree | 2d2318d43908e51ad09a17a25ce9af433b812281 | |
parent | d2754355512e51c1e6c37975ccc5bdca635b3718 (diff) | |
download | lwn-17b492117b00ead1fa0a53035b2fb98b04ba35f4.tar.gz lwn-17b492117b00ead1fa0a53035b2fb98b04ba35f4.zip |
mmc: sdhci: Add VDD2 definition for power control register
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>
-rw-r--r-- | drivers/mmc/host/sdhci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index f4f2085c274c..f219bdea8f28 100644 --- 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 |