summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-02-06 13:12:59 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-06-01 09:07:14 +0200
commitcb8496482e8886bbd6bd79462d8062db572b0473 (patch)
tree030ff51ec5db81ff48aae945c140b685c7681f0d /drivers/mmc/host/sdhci.h
parentmmc: mmc: Add driver strength selection (diff)
downloadlinux-cb8496482e8886bbd6bd79462d8062db572b0473.tar.xz
linux-cb8496482e8886bbd6bd79462d8062db572b0473.zip
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