From patchwork Tue Jun 16 11:52:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 30597 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5GBr6uR008005 for ; Tue, 16 Jun 2009 11:53:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755270AbZFPLwo (ORCPT ); Tue, 16 Jun 2009 07:52:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756150AbZFPLwo (ORCPT ); Tue, 16 Jun 2009 07:52:44 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:55722 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755270AbZFPLwm (ORCPT ); Tue, 16 Jun 2009 07:52:42 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id n5GBqddO009207 for ; Tue, 16 Jun 2009 06:52:45 -0500 Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n5GBqZED028511; Tue, 16 Jun 2009 17:22:35 +0530 (IST) Received: from linfarm476.india.ti.com (localhost [127.0.0.1]) by linfarm476.india.ti.com (8.12.11/8.12.11) with ESMTP id n5GBqZbB002244; Tue, 16 Jun 2009 17:22:35 +0530 Received: (from x0016154@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id n5GBqZHJ002242; Tue, 16 Jun 2009 17:22:35 +0530 From: Rajendra Nayak To: linux-omap@vger.kernel.org Cc: dderrick@ti.com, r-woodruff2@ti.com, Rajendra Nayak Subject: [PATCH 03/04] OMAP3: PM: Fix I2C voltage levels send to T2 for different Power modes Date: Tue, 16 Jun 2009 17:22:33 +0530 Message-Id: <1245153154-1876-3-git-send-email-rnayak@ti.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1245153154-1876-2-git-send-email-rnayak@ti.com> References: <1245153154-1876-1-git-send-email-rnayak@ti.com> <1245153154-1876-2-git-send-email-rnayak@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The ONLP and ONOFF values programed for both VDD1 and VDD2 were not optimal. New values used are VDD1 ON - 1.2v ONLP - 1.0v ONRET - .975v ONOFF - .6v VDD2 ON - 1.15v ONLP - 1.0v ONRET - .975v ONOFF - .6v Signed-off-by: Rajendra Nayak --- arch/arm/mach-omap2/pm34xx.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index d4225b4..c2d8b09 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -87,14 +87,14 @@ static struct prm_setup_vc prm_setup = { .voltsetup_time2 = 0xfff, .voltoffset = 0xff, .voltsetup2 = 0xff, - .vdd0_on = 0x30, - .vdd0_onlp = 0x1e, - .vdd0_ret = 0x1e, - .vdd0_off = 0x30, - .vdd1_on = 0x2c, - .vdd1_onlp = 0x1e, - .vdd1_ret = 0x1e, - .vdd1_off = 0x2c, + .vdd0_on = 0x30, /* 1.2v */ + .vdd0_onlp = 0x20, /* 1.0v */ + .vdd0_ret = 0x1e, /* 0.975v */ + .vdd0_off = 0x00, /* 0.6v */ + .vdd1_on = 0x2c, /* 1.15v */ + .vdd1_onlp = 0x20, /* 1.0v */ + .vdd1_ret = 0x1e, /* .975v */ + .vdd1_off = 0x00, /* 0.6v */ }; static inline void omap3_per_save_context(void)