summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-02-06 15:12:59 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 10:07:14 +0300
commitcb8496482e8886bbd6bd79462d8062db572b0473 (patch)
tree030ff51ec5db81ff48aae945c140b685c7681f0d /drivers/mmc/host/sdhci.h
parentcc4f414c885cd04f7227ad9bcd6b18fd78d718d9 (diff)
downloadlinux-cb8496482e8886bbd6bd79462d8062db572b0473.tar.xz
mmc: sdhci: Add a callback to select drive strength
Add a callbak to let host drivers select drive strength. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 923ff223aea4..5521d29368e4 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -538,6 +538,10 @@ struct sdhci_ops {
void (*platform_init)(struct sdhci_host *host);
void (*card_event)(struct sdhci_host *host);
void (*voltage_switch)(struct sdhci_host *host);
+ int (*select_drive_strength)(struct sdhci_host *host,
+ struct mmc_card *card,
+ unsigned int max_dtr, int host_drv,
+ int card_drv, int *drv_type);
};
#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS