From patchwork Tue Apr 30 14:03:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balaji T K X-Patchwork-Id: 2504601 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 41A1C3FD85 for ; Tue, 30 Apr 2013 14:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760741Ab3D3OEJ (ORCPT ); Tue, 30 Apr 2013 10:04:09 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:58083 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760692Ab3D3OEG (ORCPT ); Tue, 30 Apr 2013 10:04:06 -0400 Received: from dbdlxv05.itg.ti.com ([172.24.171.60]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3UE42Bg019733; Tue, 30 Apr 2013 09:04:03 -0500 Received: from DBDE73.ent.ti.com (dbde73.ent.ti.com [172.24.171.98]) by dbdlxv05.itg.ti.com (8.14.3/8.13.8) with ESMTP id r3UE3ve4005936; Tue, 30 Apr 2013 09:04:01 -0500 Received: from dbdp32.itg.ti.com (172.24.170.251) by DBDE73.ent.ti.com (172.24.171.98) with Microsoft SMTP Server id 14.2.342.3; Tue, 30 Apr 2013 22:03:57 +0800 Received: from ulaa0393241.apr.dhcp.ti.com (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3UE3smd003935; Tue, 30 Apr 2013 19:33:57 +0530 From: Balaji T K To: , , , , CC: 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> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1367330633-5941-1-git-send-email-balajitk@ti.com> References: <1367330633-5941-1-git-send-email-balajitk@ti.com> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: 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