diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2015-05-14 10:45:18 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:07:04 +0200 |
commit | 8f7849c4f9aa2fbed629736c8930d8d1d2c426bc (patch) | |
tree | 8e967bb407d30261b1950d8eaf17f51e9590330c /drivers/mmc/host/dw_mmc.h | |
parent | Document: dw_mmc-k3: add document of hi6220 mmc (diff) | |
download | linux-8f7849c4f9aa2fbed629736c8930d8d1d2c426bc.tar.xz linux-8f7849c4f9aa2fbed629736c8930d8d1d2c426bc.zip |
mmc: dw_mmc: add switch_voltage
switch_voltage is required on some platform since special register accessing
Signed-off-by: Jorge A. Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Dan Yuan <yuandan@hisilicon.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.h')
-rw-r--r-- | drivers/mmc/host/dw_mmc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index f45ab91de339..c7236170bf98 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -287,5 +287,7 @@ struct dw_mci_drv_data { int (*execute_tuning)(struct dw_mci_slot *slot); int (*prepare_hs400_tuning)(struct dw_mci *host, struct mmc_ios *ios); + int (*switch_voltage)(struct mmc_host *mmc, + struct mmc_ios *ios); }; #endif /* _DW_MMC_H_ */ |