From patchwork Fri Sep 27 10:29:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2953631 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 F10B3BFF0B for ; Fri, 27 Sep 2013 10:30:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D15120334 for ; Fri, 27 Sep 2013 10:30:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08E3B20333 for ; Fri, 27 Sep 2013 10:30:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751622Ab3I0K3t (ORCPT ); Fri, 27 Sep 2013 06:29:49 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:60813 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751605Ab3I0K3t (ORCPT ); Fri, 27 Sep 2013 06:29:49 -0400 Received: by mail-pb0-f41.google.com with SMTP id rp2so2397875pbb.14 for ; Fri, 27 Sep 2013 03:29:48 -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; bh=ptsNt0ffY6WN8YuGmIq6WAEtgQpHQV7BSPFxzZ/3TRg=; b=W5I5CsWSWMAhvKJMfdAiXQpZMA8T8GnFU2uJ9kgCbrys7JONtLkR4q9+CwUilnO4ho XpZ910rTGt36+HPliF/cCKzXF+rf1Lt7XYugzcwjxa6Xi9CDMRxJijUFan+I6LipmmJU 6T71z9T7vMNlvH6/fOEWfQ1aY+skeamUNeH4iESvy2VcBzHI2cgJGhB6UGbSWUtvOw2g U2rtrx1p0vAyzKShteCgxMu5dEgXWQybcxQTEQ2LWR+zzJfcrs90CFxBToCIzhl02sOh u8LmheHcE8w6mf3o3NuHtHm/sRVihH6EDrfDTIx9Uk9MFLePt2B69S8AyF8JrGhFMIkc Vgdg== X-Gm-Message-State: ALoCoQn16o5JwKk3iwULhdtR2O05Bziw7l7Eg1P0iY/jQ6JQSFBsGrBJurgrbn/V7mGJD32vx0dA X-Received: by 10.68.189.163 with SMTP id gj3mr6532375pbc.102.1380277788511; Fri, 27 Sep 2013 03:29:48 -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:47 -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 1/3] ARM: dts: exynos4210-origen: Add fixed voltage regulator to simple bus Date: Fri, 27 Sep 2013 15:59:38 +0530 Message-Id: <1380277780-10903-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 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/exynos4210-origen.dts | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index 6906e8a..a6d9c32 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -32,13 +32,20 @@ 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: 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; + }; }; tmu@100C0000 {