caps2-mmc-hs200-1.8v and caps2-mmc-hs200-1.2v can be used to the general capability. Signed-off-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx> --- drivers/mmc/core/host.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 49bc403..96ac4c1 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -429,6 +429,10 @@ int mmc_of_parse(struct mmc_host *host) host->pm_caps |= MMC_PM_KEEP_POWER; if (of_find_property(np, "enable-sdio-wakeup", &len)) host->pm_caps |= MMC_PM_WAKE_SDIO_IRQ; + if (of_find_property(np, "caps2-mmc-hs200-1_8v", NULL)) + host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; + if (of_find_property(np, "caps2-mmc-hs200-1_2v", NULL)) + host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; return 0; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html