From patchwork Sun Sep 1 20:01:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 19661 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C17F425E36 for ; Sun, 1 Sep 2013 20:02:06 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id z20sf4684997yhz.9 for ; Sun, 01 Sep 2013 13:02:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=m8uH+oGr6pxOp55p6D9Drv7vH9fs4Kc0LhaBYCOpjQk=; b=TnFOmwgIlQPaHhYfSLR9b4Y7ZF9ytCyXLECXmYxXWUDXZ+wsOqCnycVvs6iPGinooR 1LaXwwI9CatviI6BFV4Tmu7Sus3R1yL4QrgnOHgDTfA8pgn3WnppnTJiIbB7UESHKjUv Mf4F0m0j1FiReLliNXEbZDvxHTfLVy98M2/zMQoHHZH8AAkwM+t+FoxsRd3rL9gpW0Y7 TkLQE4IKF10GLkvt+U1fGc34xJ66ilNZSZYvmYILgpYRoiyeSLO8sRi9QunpORKTuRMs 6mqNFYVq6P8spzgkkQyAY7NyB40R4v/dTG+nC9Pq+eY6JoXg/uBefwcfIaMEXN01uUys jnTA== X-Received: by 10.236.191.233 with SMTP id g69mr595109yhn.54.1378065726570; Sun, 01 Sep 2013 13:02:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.74.35 with SMTP id q3ls1764100qev.50.gmail; Sun, 01 Sep 2013 13:02:06 -0700 (PDT) X-Received: by 10.221.44.136 with SMTP id ug8mr19239434vcb.13.1378065726481; Sun, 01 Sep 2013 13:02:06 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id k10si2187452vca.49.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Sep 2013 13:02:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 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.179; Received: by mail-ve0-f179.google.com with SMTP id c13so2559499vea.24 for ; Sun, 01 Sep 2013 13:02:06 -0700 (PDT) X-Gm-Message-State: ALoCoQnN+12TlHYDhfmGn/1iikYLba8uSB6ki//5hlsvpoo79fNz0CHwkN5FTK7OPJ4sdU7PZzsa X-Received: by 10.52.92.73 with SMTP id ck9mr15652247vdb.2.1378065726399; Sun, 01 Sep 2013 13:02:06 -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.220.174.196 with SMTP id u4csp78801vcz; Sun, 1 Sep 2013 13:02:05 -0700 (PDT) X-Received: by 10.152.30.74 with SMTP id q10mr3024736lah.27.1378065725359; Sun, 01 Sep 2013 13:02:05 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx.google.com with ESMTPS id i6si3932720lah.116.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Sep 2013 13:02:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.171 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id u14so3327659lbd.16 for ; Sun, 01 Sep 2013 13:02:04 -0700 (PDT) X-Received: by 10.152.21.225 with SMTP id y1mr18271361lae.18.1378065724703; Sun, 01 Sep 2013 13:02:04 -0700 (PDT) Received: from localhost.localdomain (c83-249-209-93.bredband.comhem.se. [83.249.209.93]) by mx.google.com with ESMTPSA id ao4sm4611261lac.1.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 01 Sep 2013 13:02:03 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Linus Walleij Subject: [PATCH 3/4] ARM: nomadik: register VMMC regulator Date: Sun, 1 Sep 2013 22:01:52 +0200 Message-Id: <1378065712-18195-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.1.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 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: , This adds the STw481x VMMC regulator to the Nomadik device tree. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi index 9169d30..0e543e0 100644 --- a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi @@ -707,8 +707,14 @@ pinctrl-0 = <&i2c0_default_mux>, <&i2c0_default_mode>; stw4811@2d { - compatible = "st,stw4811"; - reg = <0x2d>; + compatible = "st,stw4811"; + reg = <0x2d>; + vmmc_regulator: vmmc { + compatible = "st,stw481x-vmmc"; + regulator-name = "VMMC"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; }; }; @@ -839,6 +845,7 @@ cd-inverted; pinctrl-names = "default"; pinctrl-0 = <&mmcsd_default_mux>, <&mmcsd_default_mode>; + vmmc-supply = <&vmmc_regulator>; }; }; };