From patchwork Tue Feb 21 09:06:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 6858 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 4B2182447B for ; Tue, 21 Feb 2012 09:06:40 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 14361A183FE for ; Tue, 21 Feb 2012 09:06:39 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id z7so12093446iab.11 for ; Tue, 21 Feb 2012 01:06:39 -0800 (PST) Received: from mr.google.com ([10.50.135.37]) by 10.50.135.37 with SMTP id pp5mr18114990igb.26.1329815199924 (num_hops = 1); Tue, 21 Feb 2012 01:06:39 -0800 (PST) Received: by 10.50.135.37 with SMTP id pp5mr14572177igb.26.1329815199831; Tue, 21 Feb 2012 01:06:39 -0800 (PST) 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.231.11.10 with SMTP id r10csp84698ibr; Tue, 21 Feb 2012 01:06:38 -0800 (PST) Received: by 10.100.84.20 with SMTP id h20mr7069218anb.22.1329815197455; Tue, 21 Feb 2012 01:06:37 -0800 (PST) Received: from bear.ext.ti.com (bear.ext.ti.com. [192.94.94.41]) by mx.google.com with ESMTPS id z9si8562218yhn.66.2012.02.21.01.06.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Feb 2012 01:06:37 -0800 (PST) Received-SPF: neutral (google.com: 192.94.94.41 is neither permitted nor denied by best guess record for domain of a0131687@ula0131687) client-ip=192.94.94.41; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.94.94.41 is neither permitted nor denied by best guess record for domain of a0131687@ula0131687) smtp.mail=a0131687@ula0131687 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id q1L96WHM005628; Tue, 21 Feb 2012 03:06:33 -0600 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 q1L96QV7025078; Tue, 21 Feb 2012 14:36:31 +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 14.1.323.3; Tue, 21 Feb 2012 14:36:26 +0530 Received: from ula0131687 (ula0131687-172024136255.apr.dhcp.ti.com [172.24.136.255]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id q1L96M3f029813; Tue, 21 Feb 2012 14:36:22 +0530 (IST) Received: from a0131687 by ula0131687 with local (Exim 4.72) (envelope-from ) id 1Rzlfy-0005Wx-DU; Tue, 21 Feb 2012 14:36:22 +0530 From: Rajendra Nayak To: , CC: , , , , , , , Rajendra Nayak Subject: [PATCH v3 2/2] arm/dts: twl: Pass regulator data from dt Date: Tue, 21 Feb 2012 14:36:12 +0530 Message-ID: <1329815172-21225-3-git-send-email-rnayak@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1329815172-21225-1-git-send-email-rnayak@ti.com> References: <1329815172-21225-1-git-send-email-rnayak@ti.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmj0v6B5KNrQ2QcHD63eYnKeEtEE27YuGq3wG3IvAcuHXM6/BV12/Y0KhtdpXe8ObhPRsr+ Pass all the voltage regulator information for twl6030/twl4030 PMIC from device tree. Signed-off-by: Rajendra Nayak Signed-off-by: Benoit Cousson --- arch/arm/boot/dts/omap3-beagle.dts | 6 +++ arch/arm/boot/dts/twl4030.dtsi | 18 +++++++++++ arch/arm/boot/dts/twl6030.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts index 714ba5d..54556b1 100644 --- a/arch/arm/boot/dts/omap3-beagle.dts +++ b/arch/arm/boot/dts/omap3-beagle.dts @@ -26,6 +26,12 @@ reg = <0x48>; interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>; + + vsim: regulator@10 { + compatible = "ti,twl4030-vsim"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3000000>; + }; }; }; diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 8be5223..a94654c 100644 --- a/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/dts/twl4030.dtsi @@ -18,4 +18,22 @@ compatible = "ti,twl4030-rtc"; interrupts = <11>; }; + + vdac: regulator@0 { + compatible = "ti,twl4030-vdac"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vpll2: regulator@1 { + compatible = "ti,twl4030-vpll2"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vmmc1: regulator@2 { + compatible = "ti,twl4030-vmmc1"; + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <3150000>; + }; }; diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi index b7b4e5e..efa19e8 100644 --- a/arch/arm/boot/dts/twl6030.dtsi +++ b/arch/arm/boot/dts/twl6030.dtsi @@ -19,4 +19,64 @@ compatible = "ti,twl4030-rtc"; interrupts = <11>; }; + + vaux1: regulator@0 { + compatible = "ti,twl6030-vaux1"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + }; + + vaux2: regulator@1 { + compatible = "ti,twl6030-vaux2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <2800000>; + }; + + vaux3: regulator@2 { + compatible = "ti,twl6030-vaux3"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + }; + + vmmc: regulator@3 { + compatible = "ti,twl6030-vmmc"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3000000>; + }; + + vpp: regulator@4 { + compatible = "ti,twl6030-vpp"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2500000>; + }; + + vusim: regulator@5 { + compatible = "ti,twl6030-vusim"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <2900000>; + }; + + vdac: regulator@6 { + compatible = "ti,twl6030-vdac"; + }; + + vana: regulator@7 { + compatible = "ti,twl6030-vana"; + }; + + vcxio: regulator@8 { + compatible = "ti,twl6030-vcxio"; + }; + + vusb: regulator@9 { + compatible = "ti,twl6030-vusb"; + }; + + vusb: regulator@9 { + compatible = "ti,twl6030-vusb"; + }; + + clk32kg: regulator@10 { + compatible = "ti,twl6030-clk32kg"; + }; };