diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2010-08-10 21:01:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 11:59:05 -0400 |
commit | 9bea3c850dbff2296892298614388bdc71ad2170 (patch) | |
tree | bc5050601ec6349441ef3d35cbda2775808eee20 /drivers/mmc/host/sdhci.h | |
parent | 17866e14f3a4f219e94f1374ece7226479418ff8 (diff) |
sdhci: add regulator support
This patch adds support for regulator API to sdhci core driver.
Regulators can be used to disable power in suspended state to reduce
dissipated energy.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index c98315c197ed..ff070a309f8d 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h | |||
@@ -249,6 +249,8 @@ struct sdhci_host { | |||
249 | 249 | ||
250 | const struct sdhci_ops *ops; /* Low level hw interface */ | 250 | const struct sdhci_ops *ops; /* Low level hw interface */ |
251 | 251 | ||
252 | struct regulator *vmmc; /* Power regulator */ | ||
253 | |||
252 | /* Internal data */ | 254 | /* Internal data */ |
253 | struct mmc_host *mmc; /* MMC structure */ | 255 | struct mmc_host *mmc; /* MMC structure */ |
254 | u64 dma_mask; /* custom DMA mask */ | 256 | u64 dma_mask; /* custom DMA mask */ |