From patchwork Tue Aug 13 22:20:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russ Dill X-Patchwork-Id: 2844052 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 39430BF546 for ; Tue, 13 Aug 2013 22:23:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C3942058B for ; Tue, 13 Aug 2013 22:22:59 +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 44AAE20568 for ; Tue, 13 Aug 2013 22:22:58 +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 1V9Mxx-0003dE-3i; Tue, 13 Aug 2013 22:21:26 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9Mxl-0006iG-3K; Tue, 13 Aug 2013 22:21:13 +0000 Received: from mail-oa0-x232.google.com ([2607:f8b0:4003:c02::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V9MxJ-0006eU-1X for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2013 22:20:46 +0000 Received: by mail-oa0-f50.google.com with SMTP id i4so12396880oah.9 for ; Tue, 13 Aug 2013 15:20:23 -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=otvTDxIZgOhOY0F2TOgpoLtqx9hdjgCTe3Dmj1CrxBE=; b=U+4o1VZTW7PTVNruwtxg5ddU93AhcAI56vKugF5UdCUA2lxbQm4PQtQ7cqljwwxBwC aFjd6vxYjUzvTb0cbNhp2bQzCm0sejpIwBHYrpmkFxKE67/OyZZCWp/YCyx/Kb1VxGes FtimFKRXjGXXHGyjD6+TngqBPjiybyJ3grnJq4EB6Xu5E+U1IVGCGQN51CBZnz5bQ9ir vrccpdF0ri2+Qr65FznOp317EVZyoZjPvHW4vbpZ32HcRxDwokgSXzi8YPjw45nfclyA ZRsuZBZK2wE9q/ucx+RFgV/Rdg+0bPgCMez7hoVyIlYzZACeHOCGiLMTnS5rZFRDouq4 Zgaw== X-Received: by 10.182.61.44 with SMTP id m12mr8642269obr.52.1376432423094; Tue, 13 Aug 2013 15:20:23 -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 n2sm41847438obo.6.2013.08.13.15.20.21 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 15:20:22 -0700 (PDT) From: Russ Dill To: linux-omap@vger.kernel.org Subject: [PATCH v4 4/4] ARM: dts: AM33XX vdd core opp50 suspend for EVM-SK Date: Tue, 13 Aug 2013 15:20:12 -0700 Message-Id: <1376432412-8509-5-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_182045_203578_33194796 X-CRM114-Status: UNSURE ( 8.95 ) 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-SK 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-evmsk.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 0c8ad17..704bbb3 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts @@ -174,6 +174,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>; };