From patchwork Fri Jul 26 10:30:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18602 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D96AA25DFF for ; Fri, 26 Jul 2013 10:47:24 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id a1sf2752037qcx.6 for ; Fri, 26 Jul 2013 03:47:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=UfwqPgu+sCIigg6HF+cCW4wzu0DNC55GBj/Ay+R0gDo=; b=cVvleaZ59yzvi0OGpKyk55xXnJ6O79z00TC8qYCEDLk4+vv+27PxZ3uVd8kKZHRnxt lbBCfjX6+7VM5TspHlg2uBapayb9nE9zeJu0bHmhP6q0r1cFE1dldYqzurCMZdFW3h74 7oGBSIe475aR5EqxVjEo/wUc0AXXY9g9bM0jxiDba8Efs4+c8cL8trOAWNx8w/1eAl8G L64n14E5Q1fbIp+UxEMbB9wS6DZ9eJTfxKvWYdbSigvdv9KUDmKPPpKPn5YYY3IH+nEg j6vncQMdS0Xm//RJv5F9AWtaZJsyjrolvEI9A/+QPXwA4t1bY1XsGUsUcfa/12ntV2mA q9Hw== X-Received: by 10.236.41.103 with SMTP id g67mr24451146yhb.45.1374835644635; Fri, 26 Jul 2013 03:47:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.12.111 with SMTP id x15ls1103264qeb.58.gmail; Fri, 26 Jul 2013 03:47:24 -0700 (PDT) X-Received: by 10.220.249.7 with SMTP id mi7mr2930214vcb.72.1374835644523; Fri, 26 Jul 2013 03:47:24 -0700 (PDT) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by mx.google.com with ESMTPS id tk7si13877631vdc.26.2013.07.26.03.47.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 03:47:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.50; Received: by mail-vb0-f50.google.com with SMTP id x13so685595vbb.23 for ; Fri, 26 Jul 2013 03:47:24 -0700 (PDT) X-Received: by 10.52.27.172 with SMTP id u12mr16699625vdg.64.1374835644442; Fri, 26 Jul 2013 03:47:24 -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.58.165.8 with SMTP id yu8csp16212veb; Fri, 26 Jul 2013 03:47:23 -0700 (PDT) X-Received: by 10.68.166.229 with SMTP id zj5mr5982271pbb.91.1374835643479; Fri, 26 Jul 2013 03:47:23 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by mx.google.com with ESMTPS id ib1si33969897pbc.340.2013.07.26.03.47.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 03:47:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.173 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.173; Received: by mail-pd0-f173.google.com with SMTP id bv13so2778959pdb.32 for ; Fri, 26 Jul 2013 03:47:22 -0700 (PDT) X-Received: by 10.66.83.7 with SMTP id m7mr54793605pay.150.1374835642755; Fri, 26 Jul 2013 03:47:22 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id qh10sm19507142pbb.33.2013.07.26.03.47.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 03:47:22 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, kgene@kernel.org Subject: [PATCH 1/2] ARM: dts: exynos4210-origen: Add fixed voltage regulator to simple bus Date: Fri, 26 Jul 2013 16:00:56 +0530 Message-Id: <1374834657-29088-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkxcnimHAnzk4uVfuNpO6VuL9ZenzgXdV++vbpDVTvj2r6ynkwFN2+tCkS+wyEOyf+rumGL X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.50 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 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 --- arch/arm/boot/dts/exynos4210-origen.dts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index 5537af8..ae2653e 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -32,13 +32,19 @@ bootargs ="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; }; - 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: 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; + }; }; tmu@100C0000 {