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: 13440 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 70C8823E1A for ; Mon, 10 Dec 2012 08:56:31 +0000 (UTC) Received: from mail-ia0-f174.google.com (mail-ia0-f174.google.com [209.85.210.174]) by fiordland.canonical.com (Postfix) with ESMTP id 1B73BA183C8 for ; Mon, 10 Dec 2012 08:56:31 +0000 (UTC) Received: by mail-ia0-f174.google.com with SMTP id y25so3538513iay.19 for ; Mon, 10 Dec 2012 00:56:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=FIurHD6hly6elxDmIsO7gcuR5xYeQYAqL8mukWuhYI8=; b=P3ltKv5wFj2jjni4+OLIkS7XaFesQiCopB7RDtzNKvLKh6nepGJkne9l4zR3PWrlzD XMarp9NbZ65+R3k5qcz9KkLyO8dYzF1jnooZSeeCnIyBx7HqD8xL6MDgf2+VPVyKdLwU P1/iBwizUUYfnlyOf8pBoBjoMvGVYvN3DLu8x9rWRjw+WtKGPJJmeoMOx8bUUCuV+my+ 7dTS0UYO02nyQTCYsz24bhvPMz2KJd64Ds3Kd/vT9aNdX+aBeMjWt0B2W/bOt16x9y8G G80DoS5C5sQeMELfd4UNtI6J9vckVscyH3/d3SqoHVhYxH51B1X0hEDJSItRAiuAloDA /0tQ== Received: by 10.50.36.164 with SMTP id r4mr5839210igj.57.1355129790533; Mon, 10 Dec 2012 00:56:30 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp54756igt; Mon, 10 Dec 2012 00:56:30 -0800 (PST) Received: by 10.180.107.130 with SMTP id hc2mr8262594wib.12.1355129789583; Mon, 10 Dec 2012 00:56:29 -0800 (PST) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx.google.com with ESMTPS id fu4si7999964wib.20.2012.12.10.00.56.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 00:56:29 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.170; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f170.google.com with SMTP id hq7so935890wib.3 for ; Mon, 10 Dec 2012 00:56:29 -0800 (PST) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, ulf.hansson@linaro.org, Lee Jones 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: ALoCoQmXGTBziv2NuEgGKS2EcpOCZFQmeUCBf6k5ZQZnaZgMhrS6MgPZ92A8kOhwuAnyTpzxkTgY 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 --- 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>;