From patchwork Fri Dec 29 17:00:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 122942 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4914987qgn; Fri, 29 Dec 2017 09:03:18 -0800 (PST) X-Google-Smtp-Source: ACJfBotsAJWlQr65pHK0LLKoTpUP4U4yOF4rojWFRXR6hfyzngkEj3nWYfl3dZBFqDZjOdsC79g9 X-Received: by 10.80.219.11 with SMTP id o11mr45843425edk.259.1514566998375; Fri, 29 Dec 2017 09:03:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514566998; cv=none; d=google.com; s=arc-20160816; b=E/lBA+QGOk6wfrP6reWSW6wQu2jV0r0HH7pWMi/7p8cg34hVh44hvfigW7HZTfm3nX hZ2enpMb4d5ib5MQ7vger9K4S0NqoiLVGBGDGUt3N4YbA20f7OlxYDZ4+c1OCdd8LKGN bgZY/dkcf4Gqe1ZKmVo17Vc+xyR6JsFnLB5Xutu3olvflyX9ZkkS9Lg4+72XMtuvj/KB Fl260eLrfl790eeIcQaFv8JQCt9+GEcWAWMgaKp93qw5DWFoe5PdI39WE9kWfksrLPnk P7LJv2R4cKLFOuW8pd//nQmZ+UPMrOFzezoCPW/eg1J15bgZaFF3gYXYAK+czGB0XfZF 63sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=x9W7Og0xAeOdTOczSycSbkJOuvF4RsGuINgEPxD+l98=; b=K4/Kme7pG9K8FFxIPWiExxVwXs46H+i2WEi7KP+2kDA9pAAF5DW8JxH2ZNJPju4NpI M01ObinqC2vBGOQEFcO8hy3DQhv8WqnlSmDAGZk/zbONIO9kpF0Nn55gTBlWKVryGIhH IoVXCJCqVTujcb5sVs8kJeZ5FJ7dHnm/hb1b70zv1P/9cws3mG+cKqPleGi8sBfc1WC6 1XaOYusjQfqAblwKDLZehXLClwY50VjsknrUd/I1V5iLfCzcUkM+FU5fC4dIR8I8P+01 nF6r8sjQSvPgeUJ3niqyaZc9WMvnZQ6X/fOUb10+BTIM5upYHrTi+A9xN6qKJAgZX9I0 pOow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=b2ThMmfM; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id p6si919278edd.133.2017.12.29.09.03.18; Fri, 29 Dec 2017 09:03:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=b2ThMmfM; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id BC0DBC21DAB; Fri, 29 Dec 2017 17:01:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 42067C21DF4; Fri, 29 Dec 2017 17:00:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 84B8AC21D56; Fri, 29 Dec 2017 17:00:39 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 496B3C21D5D for ; Fri, 29 Dec 2017 17:00:38 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-08.nifty.com with ESMTP id vBTH0O9N000541; Sat, 30 Dec 2017 02:00:27 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com vBTH0O9N000541 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1514566827; bh=12xQHC8hICxO4qcOyqXf5v7SGsLdcR9l99ICm+LF774=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b2ThMmfMVODpyOlCRDulG+vYV4fRNb3VKgq6W9knBKnhUEFfziY2cgoMu6V5Pk4tM qXFNT1DVPmMB6+pRX3mPsEbPRj2G9VUqkI3Fl2vcocFfz6x8TWAcydu/c3wqRc/paX 0n0ZnIgvuUhXA/GPUMucc6T8GMGdf4fTeyN+STF+NqVIIUEfzBs6YbmAXzk5EPk8Uw dc72Tn4OrHL5iR2c2BVPMW+LB8jXyb51KDQO+gDFYfXQG68JifkVVRVkqzkFCnhSz/ T86RMeRBaB7Kb2x+cDKFvINxAq/GQucfoewysdDBkukUfN+IQC22W2zPqGTY+WeRu/ SN0enRht5Qg5g== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 30 Dec 2017 02:00:10 +0900 Message-Id: <1514566812-16781-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514566812-16781-1-git-send-email-yamada.masahiro@socionext.com> References: <1514566812-16781-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 6/8] mmc: sdhci-cadence: call mmc_of_parse() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This is needed to parse more capabilities such as mmc-hs200-1_8v. Signed-off-by: Masahiro Yamada --- drivers/mmc/sdhci-cadence.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/sdhci-cadence.c b/drivers/mmc/sdhci-cadence.c index 712b18c..921095b 100644 --- a/drivers/mmc/sdhci-cadence.c +++ b/drivers/mmc/sdhci-cadence.c @@ -190,6 +190,10 @@ static int sdhci_cdns_probe(struct udevice *dev) host->ops = &sdhci_cdns_ops; host->quirks |= SDHCI_QUIRK_WAIT_SEND_CMD; + ret = mmc_of_parse(dev, &plat->cfg); + if (ret) + return ret; + ret = sdhci_cdns_phy_init(plat, gd->fdt_blob, dev_of_offset(dev)); if (ret) return ret;