From patchwork Tue Aug 13 22:20:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russ Dill X-Patchwork-Id: 2844053 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 BCFACBF546 for ; Tue, 13 Aug 2013 22:23:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B71222058F for ; Tue, 13 Aug 2013 22:23:12 +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 744982057F for ; Tue, 13 Aug 2013 22:23:11 +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 1V9MyI-0003kO-JK; Tue, 13 Aug 2013 22:21:48 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9Mxt-0006is-Sy; Tue, 13 Aug 2013 22:21:21 +0000 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9MxK-0006eW-Mm for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2013 22:20:48 +0000 Received: by mail-ob0-f169.google.com with SMTP id wc20so11265896obb.0 for ; Tue, 13 Aug 2013 15:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=u/08qaEeKXG6TvaOmlkm1tGZ+Bmjg0vVW+hsi5UOCzQ=; b=BsR5yof0TY1XxELsEUnoXASbKk9wgORHct6keJOxq8AI7eUBlj++0vbtarQtFrac3e k/O3QlGVPLdeAuW9fYG5BQ1EwgV0iRR0PZFXna2/9PibEE8XpAV9VUe0Xf7KYEBAdsVg 6uyUrXy0vQtmQggSghUEZWZPgp+rY3M5EM30a5Zcb7rAZHX8L/0oRBZHolvd0lxqpx/Z YAyQ4ecPW6h8sBoBLtMEhlvEXoLffi5NGbe0PzkY56hMj4KTRgK1DEacMsbaUNa7vwhg I51KNLamwmY8LM/OslANEL54sQq8f3uNwxYngQpDusdX2e4PjxHUO6RcelAoTLXizQc9 rhUg== X-Received: by 10.60.115.164 with SMTP id jp4mr810071oeb.19.1376432420902; Tue, 13 Aug 2013 15:20:20 -0700 (PDT) Received: from localhost (pool-173-60-222-174.lsanca.fios.verizon.net. [173.60.222.174]) by mx.google.com with ESMTPSA id z2sm41844277obi.3.2013.08.13.15.20.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 15:20:20 -0700 (PDT) From: Russ Dill To: linux-omap@vger.kernel.org Subject: [PATCH v4 3/4] ARM: dts: add AM33XX vdd core opp50 suspend for AM335X GP EVM. Date: Tue, 13 Aug 2013 15:20:11 -0700 Message-Id: <1376432412-8509-4-git-send-email-Russ.Dill@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1376432412-8509-1-git-send-email-Russ.Dill@ti.com> References: <1376432412-8509-1-git-send-email-Russ.Dill@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130813_182046_863235_F4BCFC03 X-CRM114-Status: UNSURE ( 8.99 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Kevin Hilman , devicetree@vger.kernel.org, devicetree-discuss@lists.ozlabs.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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Hebbar, Gururaja This adds a sleep and wake sequence to set the VDD core voltage to the OPP50 level, 0.950V. This saves power during suspend. The sequences are specific to the EVM layout and PMIC, the TPS65910. The sequences are written out by the Cortex-M3. Signed-off-by: Hebbar, Gururaja Signed-off-by: Russ Dill --- arch/arm/boot/dts/am335x-evm.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 3aee1a4..81ce169 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -166,6 +166,16 @@ status = "okay"; clock-frequency = <400000>; + /* Set OPP50 (0.95V) for VDD core */ + sleep_sequence = /bits/ 8 < + 0x02 0x2d 0x25 0x1f /* Set VDD2 to 0.95V */ + >; + + /* Set OPP100 (1.10V) for VDD core */ + wake_sequence = /bits/ 8 < + 0x02 0x2d 0x25 0x2b /* Set VDD2 to 1.1V */ + >; + tps: tps@2d { reg = <0x2d>; };