From patchwork Tue Sep 27 10:12:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 4365 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A15BE23EFA for ; Tue, 27 Sep 2011 10:13:32 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 8E253A18065 for ; Tue, 27 Sep 2011 10:13:32 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id 23so9690167fxe.11 for ; Tue, 27 Sep 2011 03:13:32 -0700 (PDT) Received: by 10.223.55.136 with SMTP id u8mr9377659fag.46.1317118412476; Tue, 27 Sep 2011 03:13:32 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.3.234 with SMTP id f10cs67263laf; Tue, 27 Sep 2011 03:13:31 -0700 (PDT) Received: by 10.236.131.37 with SMTP id l25mr45990733yhi.76.1317118409848; Tue, 27 Sep 2011 03:13:29 -0700 (PDT) Received: from bear.ext.ti.com (bear.ext.ti.com. [192.94.94.41]) by mx.google.com with ESMTPS id s9si3241260anl.67.2011.09.27.03.13.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Sep 2011 03:13:29 -0700 (PDT) Received-SPF: pass (google.com: domain of rnayak@ti.com designates 192.94.94.41 as permitted sender) client-ip=192.94.94.41; Authentication-Results: mx.google.com; spf=pass (google.com: domain of rnayak@ti.com designates 192.94.94.41 as permitted sender) smtp.mail=rnayak@ti.com Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p8RADOpj015485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Sep 2011 05:13:26 -0500 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id p8RADOWK024616; Tue, 27 Sep 2011 15:43:24 +0530 (IST) Received: from dbdp31.itg.ti.com (172.24.170.98) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 8.3.106.1; Tue, 27 Sep 2011 15:43:24 +0530 Received: from ula0131687.apr.dhcp.ti.com (ula0131687-172024137082.apr.dhcp.ti.com [172.24.137.82]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p8RAD81O019725; Tue, 27 Sep 2011 15:43:23 +0530 (IST) From: Rajendra Nayak To: , CC: , , , , , , , Rajendra Nayak Subject: [PATCH 7/9] omap4: panda: Pass regulator data from DT Date: Tue, 27 Sep 2011 15:42:50 +0530 Message-ID: <1317118372-17052-8-git-send-email-rnayak@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1317118372-17052-1-git-send-email-rnayak@ti.com> References: <1317118372-17052-1-git-send-email-rnayak@ti.com> MIME-Version: 1.0 Pass the fixed and adjustable voltage regulator information for omap4panda board from device tree. Signed-off-by: Rajendra Nayak --- arch/arm/boot/dts/omap4-panda.dts | 54 +++++++++++++++++++++++++++++++++++++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts/omap4-panda.dts index 2c6ce2b..045dbfc 100644 --- a/arch/arm/boot/dts/omap4-panda.dts +++ b/arch/arm/boot/dts/omap4-panda.dts @@ -48,6 +48,60 @@ compatible = "ti,twl4030-rtc"; interrupts = <11>; }; + + vwl1271: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-fixed-supply = "vwl1271"; + regulator-fixed-microvolts = <1800000>; + regulator-fixed-gpio = <43>; + regulator-fixed-startup-delay = <70000>; + regulator-fixed-enable-high; + regulator-fixed-enabled-at-boot; + }; + + vaux2: regulator@0 { + compatible = "ti,twl6030-vaux2","ti,twl6030"; + regulator-min-uV = <1200000>; + regulator-max-uV = <2800000>; + regulator-mode-normal; + regulator-mode-standby; + regulator-change-mode; + regulator-change-status; + regulator-change-voltage; + }; + + vaux3: regulator@1 { + compatible = "ti,twl6030-vaux3","ti,twl6030"; + regulator-min-uV = <1000000>; + regulator-max-uV = <3000000>; + regulator-mode-normal; + regulator-mode-standby; + regulator-change-mode; + regulator-change-status; + regulator-change-voltage; + }; + + vmmc: regulator@2 { + compatible = "ti,twl6030-vmmc","ti,twl6030"; + regulator-min-uV = <1200000>; + regulator-max-uV = <3000000>; + regulator-mode-normal; + regulator-mode-standby; + regulator-change-mode; + regulator-change-status; + regulator-change-voltage; + }; + + vpp: regulator@3 { + compatible = "ti,twl6030-vpp","ti,twl6030"; + regulator-min-uV = <1800000>; + regulator-max-uV = <2500000>; + regulator-mode-normal; + regulator-mode-standby; + regulator-change-mode; + regulator-change-status; + regulator-change-voltage; + }; }; };