diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2013-08-30 11:13:09 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-09-25 21:33:53 -0400 |
commit | 5dd63f524666d0b1d1b07da7cc993bc8fcd141a9 (patch) | |
tree | 6c8ae66c782ccbc2f3f5832ae4c5d941cd340859 /drivers/mmc/host/dw_mmc.c | |
parent | c6d9deda64d426a25aafeb179962c9cf3c834e2f (diff) |
mmc: dw_mmc: add the capability to support hs200 mode
As host controller can support eMMC's HS200 mode at 1.8V or 1.2V,
these capability will be added.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 696bb468fc8e..d9f864fd0771 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -2187,6 +2187,12 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) | |||
2187 | if (of_find_property(np, "enable-sdio-wakeup", NULL)) | 2187 | if (of_find_property(np, "enable-sdio-wakeup", NULL)) |
2188 | pdata->pm_caps |= MMC_PM_WAKE_SDIO_IRQ; | 2188 | pdata->pm_caps |= MMC_PM_WAKE_SDIO_IRQ; |
2189 | 2189 | ||
2190 | if (of_find_property(np, "caps2-mmc-hs200-1_8v", NULL)) | ||
2191 | pdata->caps2 |= MMC_CAP2_HS200_1_8V_SDR; | ||
2192 | |||
2193 | if (of_find_property(np, "caps2-mmc-hs200-1_2v", NULL)) | ||
2194 | pdata->caps2 |= MMC_CAP2_HS200_1_2V_SDR; | ||
2195 | |||
2190 | return pdata; | 2196 | return pdata; |
2191 | } | 2197 | } |
2192 | 2198 | ||