From patchwork Thu Dec 13 13:22:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 13530 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 CC50923E1F for ; Thu, 13 Dec 2012 13:22:29 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 79029A1940F for ; Thu, 13 Dec 2012 13:22:29 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so3917407ieb.11 for ; Thu, 13 Dec 2012 05:22:29 -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=GtHP2e7IrEMoX/Qn8OtEX8OhuKNDEOjcgqLdkMhfplU=; b=MenhjA3jk0ko1F6wQPNa5c5wB3ehn2jnfhXeLCG84wG0vI69JAF5EPblb+PYCH+aKb 17LjQgLPZaXWlX4rcBE0UOtaO1+JfHM2zi7ZgUpUmFGSLCrP2FwLmKc4tMYLJUScn/Sx VD3kywRvusFY7T4jmK3x7MH1u9fgmpL2kW8mJrPdOx00v6Amcqn9kZdq+wtzxEgSd2l8 a9d1q53LhMB6AVTqeH1lM71dy0fBUSdf1iGan0/iLsS64G0yquCSeuZhAM7sKKUCGtFJ 1fme6n6gsKZ1iZSnP450Px554fZHPrW5uy4dne7LYT5NCECNSbrAYiX7jbsO37AYUOVL 9Spg== Received: by 10.50.36.164 with SMTP id r4mr1483143igj.57.1355404948946; Thu, 13 Dec 2012 05:22:28 -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 n20csp9204igt; Thu, 13 Dec 2012 05:22:28 -0800 (PST) Received: by 10.194.85.168 with SMTP id i8mr8323237wjz.18.1355404947996; Thu, 13 Dec 2012 05:22:27 -0800 (PST) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx.google.com with ESMTPS id s9si9609452wic.10.2012.12.13.05.22.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Dec 2012 05:22:27 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.179 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.179; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.179 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-f179.google.com with SMTP id o1so1538251wic.0 for ; Thu, 13 Dec 2012 05:22:27 -0800 (PST) Received: by 10.180.75.135 with SMTP id c7mr29000832wiw.10.1355404947491; Thu, 13 Dec 2012 05:22:27 -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 g2sm2568128wiy.0.2012.12.13.05.22.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Dec 2012 05:22:26 -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 3/8] ARM: ux500: Specify the ux5x0 MMCI regulator's on/off GPIO as high-enable Date: Thu, 13 Dec 2012 13:22:05 +0000 Message-Id: <1355404930-5691-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355404930-5691-1-git-send-email-lee.jones@linaro.org> References: <1355404930-5691-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlWHDuG03NfX64uhiTB60U7YtezRmZSZ0q7JfBNMotEYFMmJF2kV+60SfrBg1uQwHXTuYxY 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. Acked-by: Linus Walleij 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 6b1aa6d..88f90217 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 2900000 0x0>;