From patchwork Fri Sep 27 10:29:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2953641 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8834EBFF0B for ; Fri, 27 Sep 2013 10:30:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C07E20333 for ; Fri, 27 Sep 2013 10:30:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C24D20318 for ; Fri, 27 Sep 2013 10:30:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751638Ab3I0K3w (ORCPT ); Fri, 27 Sep 2013 06:29:52 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:46663 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751616Ab3I0K3v (ORCPT ); Fri, 27 Sep 2013 06:29:51 -0400 Received: by mail-pb0-f44.google.com with SMTP id xa7so2387370pbc.31 for ; Fri, 27 Sep 2013 03:29:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Vjmx1tYci9SqzO+MH1m7s6upGuVHr6mpZIMKstoXXfE=; b=hj5n9G5i6kVMLtb5V8Dbf1SF5gM55pSH2WDzuLM1TVeYKwHc/VABIOLUBb0tzjUSwB jUEwYfswux60ju8k/JrQ88bLkTdriA1YF3qthv4MDVT0mUeNI2/DERgKJkq1/NhfT6D+ UchM/wvcUq0ObqTxOI+cJKpScnnhh2/i7o+tn7JE9HzPqO9uQrJc9G/bZj4oMt9my/VC zZwfw5DfPkwfTcAfDaerYoVrlfE+T2tZEAuAsxPxq9nPIdqfhWHYWMemqjwqWsLUvJj9 tApKD5JRtSpix50hNAi7Antv4UT7A9eIw57C8y1SULblB8eeFX8bNJRBsMrbpVW83xSy EXcw== X-Gm-Message-State: ALoCoQlc8B7sPV/ntJmS/b7gduOHDdWPHd1TdUJLy4HCru4+m6AdxtHTetofFA56w5cClilKbAhd X-Received: by 10.68.252.106 with SMTP id zr10mr6520013pbc.63.1380277791222; Fri, 27 Sep 2013 03:29:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id k4sm7905272pbd.11.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Sep 2013 03:29:50 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, tomasz.figa@gmail.com, sachin.kamat@linaro.org Subject: [PATCH v2 2/3] ARM: dts: exynos4412-origen: Add fixed voltage regulator to simple bus Date: Fri, 27 Sep 2013 15:59:39 +0530 Message-Id: <1380277780-10903-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380277780-10903-1-git-send-email-sachin.kamat@linaro.org> References: <1380277780-10903-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This has been done for Arndale board vide commit aa3edb65 ("ARM: dts: Put Arndale fixed voltage regulators on a simple-bus"). Replicate here for consistency and correctness. Signed-off-by: Sachin Kamat --- Based on Kukjin's for-next branch. Changes since v1: * Added reg property and renamed the node --- arch/arm/boot/dts/exynos4412-origen.dts | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts index 923bcd7..9520155 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts @@ -32,13 +32,20 @@ reg = <0x0203F000 0x1000>; }; - mmc_reg: voltage-regulator { - compatible = "regulator-fixed"; - regulator-name = "VMEM_VDD_2.8V"; - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - gpio = <&gpx1 1 0>; - enable-active-high; + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + mmc_reg: regulator@0 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "VMEM_VDD_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + gpio = <&gpx1 1 0>; + enable-active-high; + }; }; pinctrl@11000000 {