From patchwork Fri Sep 16 10:44:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9335413 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6ED746089F for ; Fri, 16 Sep 2016 10:44:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E69329F1F for ; Fri, 16 Sep 2016 10:44:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 45D2629F28; Fri, 16 Sep 2016 10:44:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1FB129F20 for ; Fri, 16 Sep 2016 10:44:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765382AbcIPKow (ORCPT ); Fri, 16 Sep 2016 06:44:52 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:41446 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765177AbcIPKov (ORCPT ); Fri, 16 Sep 2016 06:44:51 -0400 Received: from penelope.kanocho.kobe.vergenet.net (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPSA id 3247625B791; Fri, 16 Sep 2016 20:44:48 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1474022688; bh=Wee2GsNre0v4P8rkvQ+hCacyyHHPIKizdLdof26tgSE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dhwKZSUoFx++YAjsKd2dpeUW8RMXR7n2ZUbGp3s1F5XpxTOIWAKHzslw/ffZY6Y7x umjshm8eEKUQYPzoIQZeb5FBChAbsw4cZI3srb7C9pdUi7ERFsDH54/CQr5IXXYAAl EONoAC2DailJyiOXCEsOmd8E0Ele0aF4irnKVzm8= Received: by penelope.kanocho.kobe.vergenet.net (Postfix, from userid 7100) id F119C6156C; Fri, 16 Sep 2016 12:44:43 +0200 (CEST) Date: Fri, 16 Sep 2016 12:44:43 +0200 From: Simon Horman To: Wolfram Sang Cc: Wolfram Sang , Ulf Hansson , Magnus Damm , linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v7 07/11] ARM: dts: alt: Enable UHS-I SDR-50 and SDR-104 Message-ID: <20160916104443.GA7566@verge.net.au> References: <1473764228-24768-1-git-send-email-horms+renesas@verge.net.au> <1473764228-24768-8-git-send-email-horms+renesas@verge.net.au> <20160916102710.GJ1411@katana> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160916102710.GJ1411@katana> Organisation: Horms Solutions BV User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Fri, Sep 16, 2016 at 12:27:10PM +0200, Wolfram Sang wrote: > On Tue, Sep 13, 2016 at 12:57:04PM +0200, Simon Horman wrote: > > Add the "1v8" pinctrl state and sd-uhs-sdr50 property to SDHI{0,1}. > > And the sd-uhs-sdr104 property to SDHI0. > > > > Signed-off-by: Simon Horman > > If you drop sdr104 here for now as well: > > Reviewed-by: Wolfram Sang Thanks, done. The result is as follows: From: Simon Horman Date: Tue, 13 Sep 2016 12:57:04 +0200 Subject: [PATCH] ARM: dts: alt: enable UHS for SDHI 0 & 1 Add the "1v8" pinctrl state and sd-uhs-sdr50 property to SDHI{0,1}. Signed-off-by: Simon Horman Reviewed-by: Wolfram Sang Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7794-alt.dts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts index 8d1b35afaf82..325d3f972c57 100644 --- a/arch/arm/boot/dts/r8a7794-alt.dts +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -207,11 +207,25 @@ sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; + power-source = <3300>; + }; + + sdhi0_pins_uhs: sd0_uhs { + groups = "sdhi0_data4", "sdhi0_ctrl"; + function = "sdhi0"; + power-source = <1800>; }; sdhi1_pins: sd1 { groups = "sdhi1_data4", "sdhi1_ctrl"; function = "sdhi1"; + power-source = <3300>; + }; + + sdhi1_pins_uhs: sd1_uhs { + groups = "sdhi1_data4", "sdhi1_ctrl"; + function = "sdhi1"; + power-source = <1800>; }; }; @@ -255,23 +269,27 @@ &sdhi0 { pinctrl-0 = <&sdhi0_pins>; - pinctrl-names = "default"; + pinctrl-1 = <&sdhi0_pins_uhs>; + pinctrl-names = "default", "state_uhs"; vmmc-supply = <&vcc_sdhi0>; vqmmc-supply = <&vccq_sdhi0>; cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; wp-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; + sd-uhs-sdr50; status = "okay"; }; &sdhi1 { pinctrl-0 = <&sdhi1_pins>; - pinctrl-names = "default"; + pinctrl-1 = <&sdhi1_pins_uhs>; + pinctrl-names = "default", "state_uhs"; vmmc-supply = <&vcc_sdhi1>; vqmmc-supply = <&vccq_sdhi1>; cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; wp-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>; + sd-uhs-sdr50; status = "okay"; };