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: 2833979 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 61FF6C0319 for ; Fri, 26 Jul 2013 10:47:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7BF0720181 for ; Fri, 26 Jul 2013 10:47:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 82E1620179 for ; Fri, 26 Jul 2013 10:47:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756225Ab3GZKrY (ORCPT ); Fri, 26 Jul 2013 06:47:24 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:51238 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983Ab3GZKrX (ORCPT ); Fri, 26 Jul 2013 06:47:23 -0400 Received: by mail-pa0-f41.google.com with SMTP id bj1so1505732pad.28 for ; Fri, 26 Jul 2013 03:47:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=UfwqPgu+sCIigg6HF+cCW4wzu0DNC55GBj/Ay+R0gDo=; b=WsaDtu010dwczUsV0lZJsf4YNcy3AJxbq4ggMSzD30GDagM2+X/bUZJlHeN3Kh5e1n xuQCO5QSoTMHMG941InNOy0Kpbv53YiNnRjS+bX7j8xGYc+UUppHY9aeHWpyigsHSyJ8 Yjj/Fpko4nBBAgX/NXaim4EB/bvO66nQbJLrfx0CzJrBx1pDEkW50q/KqI7rji9CqCqp dPsk3sGhIHC0npRvHu2S2JQxE9TFBVJ+/kFHXteR05P881W++5BkkE33hSKy4RDO5AB6 SJa9rLrXN603HuHn60WYHPgzTnF7mdP2YOGzULPXFcXFLhd9DEuloGxtLH/ZQfmBMck3 w5qQ== 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: ALoCoQmrV2BaHkIpxwwa6Zd8jMBsncQQvbNp9UPuvC4puG4mnSTyW36LbwEfeYxreMx3ZUHnhRS6 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=-8.4 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 --- 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 {