From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balaji T K Subject: [PATCH 04/13] mmc: omap_hsmmc: update needs_vmmc for dt Date: Tue, 30 Apr 2013 19:33:44 +0530 Message-ID: <1367330633-5941-5-git-send-email-balajitk@ti.com> References: <1367330633-5941-1-git-send-email-balajitk@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1367330633-5941-1-git-send-email-balajitk@ti.com> Sender: linux-omap-owner@vger.kernel.org To: linux-omap@vger.kernel.org, linux-mmc@vger.kernel.org, cjb@laptop.org, tony@atomide.com, b-cousson@ti.com Cc: Balaji T K List-Id: linux-mmc@vger.kernel.org update needs_vmmc, needs_vmmc_aux for dt boot Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 4f7ca7a..5fd78b2 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1756,6 +1756,9 @@ 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; + pdata->needs_vmmc = of_property_read_bool(np, "vmmc-supply"); + pdata->needs_vmmc_aux = of_property_read_bool(np, "vmmc_aux-supply"); + return pdata; } #else -- 1.7.5.4