|
@@ -1753,6 +1753,12 @@ static struct omap_mmc_platform_data *of_get_hsmmc_pdata(struct device *dev)
|
|
|
if (of_find_property(np, "ti,needs-special-hs-handling", NULL))
|
|
|
pdata->slots[0].features |= HSMMC_HAS_HSPE_SUPPORT;
|
|
|
|
|
|
+ if (of_find_property(np, "keep-power-in-suspend", NULL))
|
|
|
+ pdata->slots[0].pm_caps |= MMC_PM_KEEP_POWER;
|
|
|
+
|
|
|
+ if (of_find_property(np, "enable-sdio-wakeup", NULL))
|
|
|
+ pdata->slots[0].pm_caps |= MMC_PM_WAKE_SDIO_IRQ;
|
|
|
+
|
|
|
return pdata;
|
|
|
}
|
|
|
#else
|