From patchwork Thu Dec 12 13:31:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 22290 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3DCB223FC9 for ; Thu, 12 Dec 2013 13:31:51 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id a41sf776641yho.4 for ; Thu, 12 Dec 2013 05:31:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=k0WCetHFnibhZM4zDRAgHkfCyKDTNrL18ABDg0Enuvs=; b=Ov5CfFiGEXeGlInvQ/zOGG2YjGipjZEVsmOhUAm48Z4dNMrCZZjBYkOklsA7kQd+P6 MsGnANTxbBSkKCqzuMPtQBW4iR+j2dlcS4cT5jJ+so3aPmh477NALOFjygPGWRL1oGie hSZqJMY15/n/geu3tpyA34HSNoxujpwaNrlThku4ZZQU8Js2f6CjjtHQgdRqOQ3CWmZw iwxgX0Od0nddyLn7bAKD+X7ANqTt+XO4Rbpf6CMHexS6VQnZloRnzMDdU2NxtTmFOGjC 7EzkUKnLwjjUHytSApWkhJtxhPQUhuu8FzUZiIs0Hp54A3bA/DIEfW3IsaFE7WA0f8AQ T+yg== X-Gm-Message-State: ALoCoQl7nT3BlzgobGmti0k9xi4l856Zx21lVT/KAHSHZC1o/loXL1KnkFBmwaA3DVcribqD7FTK X-Received: by 10.58.12.67 with SMTP id w3mr2955770veb.0.1386855110980; Thu, 12 Dec 2013 05:31:50 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.128.41 with SMTP id nl9ls518876qeb.56.gmail; Thu, 12 Dec 2013 05:31:50 -0800 (PST) X-Received: by 10.220.99.72 with SMTP id t8mr3904766vcn.10.1386855110884; Thu, 12 Dec 2013 05:31:50 -0800 (PST) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by mx.google.com with ESMTPS id ph5si7705956veb.128.2013.12.12.05.31.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:31:50 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.44 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.44; Received: by mail-vb0-f44.google.com with SMTP id x8so278007vbf.3 for ; Thu, 12 Dec 2013 05:31:50 -0800 (PST) X-Received: by 10.52.165.240 with SMTP id zb16mr3174194vdb.19.1386855110725; Thu, 12 Dec 2013 05:31:50 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp354616vcz; Thu, 12 Dec 2013 05:31:50 -0800 (PST) X-Received: by 10.152.10.10 with SMTP id e10mr3412663lab.56.1386855109656; Thu, 12 Dec 2013 05:31:49 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) by mx.google.com with ESMTPS id x7si9022870lag.81.2013.12.12.05.31.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:31:49 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.43 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id n7so318253lam.30 for ; Thu, 12 Dec 2013 05:31:49 -0800 (PST) X-Received: by 10.152.21.3 with SMTP id r3mr3770806lae.15.1386855108925; Thu, 12 Dec 2013 05:31:48 -0800 (PST) Received: from linaro-ulf.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id di11sm34838833lac.0.2013.12.12.05.31.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 05:31:48 -0800 (PST) From: Ulf Hansson To: linux-arm-kernel@lists.infradead.org, Linus Walleij Cc: Lee Jones , Ulf Hansson , devicetree@vger.kernel.org Subject: [PATCH 2/3] ARM: ux500: Configure regulator for I/O voltage for SD-card slot Date: Thu, 12 Dec 2013 14:31:37 +0100 Message-Id: <1386855098-14272-3-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1386855098-14272-1-git-send-email-ulf.hansson@linaro.org> References: <1386855098-14272-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.44 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , To be able to enable SDR12|25 for SD-cards, we needed to fixup the configuration in DT of the gpio regulator, which handles the signal voltage level. Some configuration were missing and some were wrong. Cc: Lee Jones Cc: devicetree@vger.kernel.org Signed-off-by: Ulf Hansson --- arch/arm/boot/dts/ste-hrefprev60.dtsi | 2 -- arch/arm/boot/dts/ste-hrefv60plus.dtsi | 5 +++++ arch/arm/boot/dts/ste-snowball.dts | 6 ++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/ste-hrefprev60.dtsi b/arch/arm/boot/dts/ste-hrefprev60.dtsi index af9914e..40f0ecd 100644 --- a/arch/arm/boot/dts/ste-hrefprev60.dtsi +++ b/arch/arm/boot/dts/ste-hrefprev60.dtsi @@ -68,8 +68,6 @@ vmmci: regulator-gpio { gpios = <&tc3589x_gpio 18 0x4>; enable-gpio = <&tc3589x_gpio 17 0x4>; - - status = "okay"; }; pinctrl { diff --git a/arch/arm/boot/dts/ste-hrefv60plus.dtsi b/arch/arm/boot/dts/ste-hrefv60plus.dtsi index 1f7b46b..3b6d118 100644 --- a/arch/arm/boot/dts/ste-hrefv60plus.dtsi +++ b/arch/arm/boot/dts/ste-hrefv60plus.dtsi @@ -22,6 +22,11 @@ cd-gpios = <&gpio2 31 0x4>; // 95 }; + vmmci: regulator-gpio { + gpios = <&gpio0 5 0x4>; + enable-gpio = <&gpio5 9 0x4>; + }; + pinctrl { /* * Set this up using hogs, as time goes by and as seems fit, these diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 9070c37..97d5d21 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts @@ -146,10 +146,8 @@ }; vmmci: regulator-gpio { - gpios = <&gpio6 25 0x4>; - enable-gpio = <&gpio7 4 0x4>; - - status = "okay"; + gpios = <&gpio7 4 0x4>; + enable-gpio = <&gpio6 25 0x4>; }; // External Micro SD slot