From patchwork Fri Jun 21 21:25:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 2764511 Return-Path: X-Original-To: patchwork-linux-arm@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 6A706C0AB1 for ; Fri, 21 Jun 2013 21:26:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 69CB2201A1 for ; Fri, 21 Jun 2013 21:26:42 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 572392016C for ; Fri, 21 Jun 2013 21:26:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uq8qq-0000W6-M6; Fri, 21 Jun 2013 21:26:37 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uq8ql-000601-Vx; Fri, 21 Jun 2013 21:26:32 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uq8qh-0005xZ-DG for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2013 21:26:28 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5LLQ3AG015674; Fri, 21 Jun 2013 16:26:03 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5LLQ3Yb008402; Fri, 21 Jun 2013 16:26:03 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 21 Jun 2013 16:26:03 -0500 Received: from localhost (kahuna.am.dhcp.ti.com [128.247.91.59]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5LLQ3ZQ015813; Fri, 21 Jun 2013 16:26:03 -0500 From: Nishanth Menon To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Mark Brown , Tony Lindgren Subject: [RFC PATCH V2 4/8] ARM: dts: OMAP4: add voltage controller nodes Date: Fri, 21 Jun 2013 16:25:45 -0500 Message-ID: <1371849949-12649-5-git-send-email-nm@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1371849949-12649-1-git-send-email-nm@ti.com> References: <1371849949-12649-1-git-send-email-nm@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130621_172627_630434_81C92B24 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.4 (--------) Cc: Nishanth Menon , linux-doc@vger.kernel.org, Kevin Hilman , devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 OMAP443x, OMAP446x SoC use same offsets for voltage controller, however their voltage characteristics differ a little. Introduce the voltage controller nodes for the same. Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap4.dtsi | 26 ++++++++++++++++++++++++++ arch/arm/boot/dts/omap443x.dtsi | 15 +++++++++++++++ arch/arm/boot/dts/omap4460.dtsi | 16 ++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 3b44546..a153e8d 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -104,6 +104,11 @@ ti,hwmods = "counter_32k"; }; + sysclk_in: sys_clkin { + #clock-cells = <0>; + compatible = "ti,omap-clock"; + }; + dpll_mpu: dpll_mpu { #clock-cells = <0>; compatible = "ti,omap-clock"; @@ -663,5 +668,26 @@ ram-bits = <12>; ti,has-mailbox; }; + + vc: vc@0x4A307B88 { + compatible = "ti,omap4-vc"; + clocks = <&sysclk_in>; + reg = <0x4A307B88 0x40>; + reg-names = "base-address"; + + ti,i2c-high-speed; /* belongs to board file */ + vc_mpu: vc_mpu { + compatible = "ti,omap4-vc-channel-mpu"; + ti,master-channel; + }; + + vc_iva: vc_iva { + compatible = "ti,omap4-vc-channel-iva"; + }; + + vc_core: vc_core { + compatible = "ti,omap4-vc-channel-core"; + }; + }; }; }; diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index bcf455e..2b0deb5 100644 --- a/arch/arm/boot/dts/omap443x.dtsi +++ b/arch/arm/boot/dts/omap443x.dtsi @@ -31,3 +31,18 @@ compatible = "ti,omap4430-bandgap"; }; }; + +&vc_mpu { + ti,retention-micro-volts = <750000>; + ti,off-micro-volts = <0>; +}; + +&vc_iva { + ti,retention-micro-volts = <750000>; + ti,off-micro-volts = <0>; +}; + +&vc_core { + ti,retention-micro-volts = <750000>; + ti,off-micro-volts = <0>; +}; diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi index c2f0f39..16210a1 100644 --- a/arch/arm/boot/dts/omap4460.dtsi +++ b/arch/arm/boot/dts/omap4460.dtsi @@ -39,3 +39,19 @@ gpios = <&gpio3 22 0>; /* tshut */ }; }; + +&vc_mpu { + ti,retention-micro-volts = <750000>; + /* Erratum i738: Reliability impact work around */ + ti,off-micro-volts = <750000>; +}; + +&vc_iva { + ti,retention-micro-volts = <750000>; + ti,off-micro-volts = <0>; +}; + +&vc_core { + ti,retention-micro-volts = <750000>; + ti,off-micro-volts = <0>; +};