From patchwork Mon Dec 10 08:55:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1856121 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 60C83DFB79 for ; Mon, 10 Dec 2012 09:01:42 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1ThzBf-0000MO-8X; Mon, 10 Dec 2012 08:58:07 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1ThzA6-0008Ar-S8 for linux-arm-kernel@lists.infradead.org; Mon, 10 Dec 2012 08:56:32 +0000 Received: by mail-wi0-f169.google.com with SMTP id hq12so865736wib.0 for ; Mon, 10 Dec 2012 00:56:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=FIurHD6hly6elxDmIsO7gcuR5xYeQYAqL8mukWuhYI8=; b=ESAX1x7Ks8FnDkWdUuz7sjzyiM5boDDG/eoWm6+t+m3BuiGL5JsPHVNc/fWKfhtxR2 Vmwz+nrDzgPsgiN5L7Baa5jNottvIEFJb6nYevGYpdkevvj9iqkKtOjLP67oy+k1Bvg9 Xh9mKv34KCzq8tPREYyX3+nRG0Ap/SttEdPnI+EQM02k0MwPxeO0/de42g0hBDOl75qu yQ50TXI625xGMkT5/JydJjoyhOU5o3eSX+nneQ/OWph15hjRj5mSnnoxuSBeuPH2hs1K OBgP9JsJ1fjHHQw50F+uLw0RV4l1rQdy+4XTnClKhtXoOUPDXbpE7aqwWHIxzrbADHyu 3Txg== Received: by 10.180.85.194 with SMTP id j2mr9357239wiz.12.1355129789069; Mon, 10 Dec 2012 00:56:29 -0800 (PST) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id fv2sm9173114wib.4.2012.12.10.00.56.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 00:56:28 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/12] ARM: ux500: Specify the ux5x0 MMCI regulator's on/off GPIO as high-enable Date: Mon, 10 Dec 2012 08:55:56 +0000 Message-Id: <1355129761-8088-8-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355129761-8088-1-git-send-email-lee.jones@linaro.org> References: <1355129761-8088-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkcxcxWl3NwCrCRnScABb33bpt8W3iWHTkWgkfy5qJhF9UvGS614q+IQjwZys9olQllhYPD X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121210_035631_213196_64AD63A2 X-CRM114-Status: GOOD ( 11.48 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.169 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: ulf.hansson@linaro.org, Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org If not specified, the GPIO control bit is inverted by default i.e. low-enable and high-disable. This is not the case with the MMCI regulator, hence it will turn on during a disable and off when regulator_enable() is invoked. Signed-off-by: Lee Jones Acked-by: Linus Walleij --- arch/arm/boot/dts/dbx5x0.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index bbea89a..0523681 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -638,6 +638,8 @@ regulator-name = "mmci-reg"; regulator-type = "voltage"; + enable-active-high; + states = <1800000 0x1 3300000 0x0>;