From patchwork Tue Apr 2 08:15:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 2376291 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C4D42DF2A1 for ; Tue, 2 Apr 2013 08:27:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761285Ab3DBI1J (ORCPT ); Tue, 2 Apr 2013 04:27:09 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:44718 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760639Ab3DBI1H (ORCPT ); Tue, 2 Apr 2013 04:27:07 -0400 Received: by mail-pd0-f177.google.com with SMTP id u11so113000pdi.36 for ; Tue, 02 Apr 2013 01:27:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=89RTo3IIi82O4tW2utjKbWgPLgrjtSR22O0lQ0ls2ug=; b=b4TtQsPTOem47WKyl3y1ng4a9dTddOhHH2SRzV+1Is79Z7D6q56JeVCc4S4uuvHlvp zBoKGVPrdwR0SMqHHHdNHNSdERrAD3TQPrPbvt7QqTHORKOHJbJLKEBHO5yAFy85dC97 wAg1bnC7Ft1Y+Cgi0RhZbXrcTUpN+96Y5JdhTaxoytHyBKoQCZO+7uy3cQMoX2UvNEpY ANSb685T8tmebbX+iQLGdOz3DQg6GSYlditLMww7cph8YWS6aAYnICQo3Ho6utobUf3O 48zqoIJvaWP6rRwnfuNEc8HW7ndfSB+xLW/DSwV2S80OrAFGxn1wqj4g0F18axSjLgTy 1XWw== X-Received: by 10.68.163.1 with SMTP id ye1mr23042636pbb.135.1364891226387; Tue, 02 Apr 2013 01:27:06 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id qh4sm1448781pac.8.2013.04.02.01.27.03 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 01:27:05 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, patches@linaro.org, Sachin Kamat Subject: [PATCH V3 5/7] ARM: dts: Add vmmc regulator support for Arndale board Date: Tue, 2 Apr 2013 13:45:05 +0530 Message-Id: <1364890507-19261-6-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364890507-19261-1-git-send-email-tushar.behera@linaro.org> References: <1364890507-19261-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQl/WfFtkDdOjowAuTYfsz67tkvgZennlgmg3O9uNwdWl9QIjC3FAaTTEBCmHcNVhrKuNaK4 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Sachin Kamat Added vmmc regulator node to Arndale DT file. Signed-off-by: Sachin Kamat Signed-off-by: Tushar Behera --- Changes for V3: * Pin-control related modifications. arch/arm/boot/dts/exynos5250-arndale.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 7c3f54b..e7fa72c 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -322,6 +322,7 @@ samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>; + vmmc-supply = <&mmc_reg>; pinctrl-names = "default"; pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; @@ -343,6 +344,7 @@ samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-sdr-timing = <2 3>; samsung,dw-mshc-ddr-timing = <1 2>; + vmmc-supply = <&mmc_reg>; pinctrl-names = "default"; pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; @@ -421,4 +423,13 @@ gpio-key,wakeup; }; }; + + mmc_reg: voltage-regulator { + compatible = "regulator-fixed"; + regulator-name = "VDD_33ON_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + gpio = <&gpx1 1 1>; + enable-active-high; + }; };