diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2014-02-14 13:27:09 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-22 13:51:14 -0500 |
commit | 321bd41de1580f953c637de0fd81e06fcba8b3e8 (patch) | |
tree | 2a994c9ede622e29fce650b90351cd4f16d91893 /drivers/mmc/core/host.c | |
parent | c0baf8485928b2db8a9530672d522d758746a2b6 (diff) | |
download | linux-321bd41de1580f953c637de0fd81e06fcba8b3e8.tar.bz2 |
mmc: core: Add DT bindings for eMMC HS200 1.8/1.2V
Provide the option to configure these speed modes per host, for those
host driver's that can't distinguish this in runtime.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/core/host.c')
-rw-r--r-- | drivers/mmc/core/host.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index d014127f1043..453573d5ab08 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -443,6 +443,10 @@ int mmc_of_parse(struct mmc_host *host) host->caps |= MMC_CAP_1_8V_DDR; if (of_find_property(np, "mmc-ddr-1_2v", &len)) host->caps |= MMC_CAP_1_2V_DDR; + if (of_find_property(np, "mmc-hs200-1_8v", &len)) + host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; + if (of_find_property(np, "mmc-hs200-1_2v", &len)) + host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; return 0; |