From patchwork Tue Apr 2 13:21:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 15818 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5BD5423E10 for ; Tue, 2 Apr 2013 13:22:24 +0000 (UTC) Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by fiordland.canonical.com (Postfix) with ESMTP id 3AFC5A18ED5 for ; Tue, 2 Apr 2013 13:22:24 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id hj8sf600176wib.9 for ; Tue, 02 Apr 2013 06:22:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=iEqY/bCDAa0LYqHhRWnXcxUWUVTIwVz6sa2SA5gA9oM=; b=ZYG7BBP67RS4TXZsY1f3YBc4XJZvGzdeC/AgcPvf1YL0a1AurXOBPP0JRUq5NburOW fnQY5q7afoO5GshOCpp2otCWcJ6C0pTvBJEI6/r7U1oMknm/FRrsbXrQOIr2f7pg5r6k F8rlZePU9usYVIrcuHob+kzaOltmjPZwDV2f3YVyXIaKOkoR73ERl7wxHGmeugfPjAhA jT7kadK/iIO90UIDYGpSyHxAkuPyHSlXc2hkBHuF/KcjeM6tcYhhRgwYytjotKLeFSHy Gas27QEPlKq7XYFl5dHiagkjfS6LSGzRgiqw4iEXOGunGd/gSrfjnDHDHNrloGaYz6gZ E1gg== X-Received: by 10.180.95.3 with SMTP id dg3mr2924523wib.4.1364908944167; Tue, 02 Apr 2013 06:22:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.100.225 with SMTP id fb1ls169961wib.40.gmail; Tue, 02 Apr 2013 06:22:24 -0700 (PDT) X-Received: by 10.194.173.228 with SMTP id bn4mr21601088wjc.20.1364908944099; Tue, 02 Apr 2013 06:22:24 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id z4si534778wjz.244.2013.04.02.06.22.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 06:22:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id pb11so440330veb.6 for ; Tue, 02 Apr 2013 06:22:23 -0700 (PDT) X-Received: by 10.52.93.20 with SMTP id cq20mr10713228vdb.38.1364908942910; Tue, 02 Apr 2013 06:22:22 -0700 (PDT) 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.59.4.204 with SMTP id cg12csp125128ved; Tue, 2 Apr 2013 06:22:21 -0700 (PDT) X-Received: by 10.194.120.169 with SMTP id ld9mr21800533wjb.24.1364908940920; Tue, 02 Apr 2013 06:22:20 -0700 (PDT) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx.google.com with ESMTPS id vd7si536230wjc.232.2013.04.02.06.22.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 06:22:20 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.46 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.46; Received: by mail-wg0-f46.google.com with SMTP id l18so429297wgh.1 for ; Tue, 02 Apr 2013 06:22:20 -0700 (PDT) X-Received: by 10.180.89.243 with SMTP id br19mr8726848wib.5.1364908939973; Tue, 02 Apr 2013 06:22:19 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id n2sm18968272wiy.6.2013.04.02.06.22.18 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 06:22:19 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 7/9] ARM: ux500: Add a VQMMC (level-shifting) regulator DT node for Snowball Date: Tue, 2 Apr 2013 14:21:54 +0100 Message-Id: <1364908916-29803-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1364908916-29803-1-git-send-email-lee.jones@linaro.org> References: <1364908916-29803-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlABixn91KrwUJ/2U2DUz7mmWwx06y36jROrA0NvQ1m4jvkUVhZm3wqENdMcAs6M2e3hfpq X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 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: , Until recently platform code took care of all MMCI level-shifting by way of an ios_handler() call-back. Now it is the driver's responsibility to handle. In order to so that we need to provide the VQMMC regulator reference in Device Tree. This patch takes care of that. Signed-off-by: Lee Jones --- arch/arm/boot/dts/snowball.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/snowball.dts b/arch/arm/boot/dts/snowball.dts index cc99447..6b4f8b9 100644 --- a/arch/arm/boot/dts/snowball.dts +++ b/arch/arm/boot/dts/snowball.dts @@ -119,6 +119,13 @@ }; }; + vmmci: regulator-gpio { + gpios = <&gpio6 25 0x4>; + enable-gpio = <&gpio7 4 0x4>; + + status = "okay"; + }; + // External Micro SD slot sdi0_per1@80126000 { arm,primecell-periphid = <0x10480180>; @@ -126,6 +133,7 @@ bus-width = <4>; mmc-cap-mmc-highspeed; vmmc-supply = <&ab8500_ldo_aux3_reg>; + vqmmc-supply = <&vmmci>; cd-gpios = <&gpio6 26 0x4>; // 218 cd-inverted;