From patchwork Mon Jan 4 06:04:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G.N, Vijayakumar" X-Patchwork-Id: 70597 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0464vF4014985 for ; Mon, 4 Jan 2010 06:04:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753115Ab0ADGE4 (ORCPT ); Mon, 4 Jan 2010 01:04:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753001Ab0ADGE4 (ORCPT ); Mon, 4 Jan 2010 01:04:56 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:42834 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752096Ab0ADGEz convert rfc822-to-8bit (ORCPT ); Mon, 4 Jan 2010 01:04:55 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id o0464q5R032162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jan 2010 00:04:54 -0600 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id o0464oZg008393; Mon, 4 Jan 2010 11:34:51 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Mon, 4 Jan 2010 11:34:50 +0530 From: "G.N, Vijayakumar" To: "khilman@deeprootsystems.com" , "linux-omap@vger.kernel.org" CC: "Sripathy, Vishwanath" Date: Mon, 4 Jan 2010 11:34:39 +0530 Subject: [PATCH] OMAP3630 PM: Correct VDD1/VDD2 Retention and On voltage Thread-Topic: [PATCH] OMAP3630 PM: Correct VDD1/VDD2 Retention and On voltage Thread-Index: AcqNA8y6XmgpaAlcQcaQy0zPGscnOA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index d509c08..4d464fb 100755 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c @@ -25,6 +25,24 @@ #include "mux.h" #include "sdram-hynix-h8mbx00u0mer-0em.h" +#include "pm.h" + +/* Update with the optimal setup values to be used on 3630sdp */ +static struct prm_setup_vc omap3_setuptime_table = { + .clksetup = 0x14A, + .voltsetup_time1 = 0x00B3, + .voltsetup_time2 = 0x00A0, + .voltoffset = 0x118, + .voltsetup2 = 0x32, + .vdd0_on = 0x28, /* 1.1v */ + .vdd0_onlp = 0x20, /* 1.0v */ + .vdd0_ret = 0x12, /* 0.83v */ + .vdd0_off = 0x00, /* 0.6v */ + .vdd1_on = 0x2B, /* 1.1375v */ + .vdd1_onlp = 0x20, /* 1.0v */ + .vdd1_ret = 0x14, /* 0.85v */ + .vdd1_off = 0x00, /* 0.6v */ +}; #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) @@ -79,6 +97,7 @@ static void __init omap_sdp_init_irq(void) { omap_board_config = sdp_config; omap_board_config_size = ARRAY_SIZE(sdp_config); + omap3_pm_init_vc(&omap3_setuptime_table); omap2_init_common_hw(h8mbx00u0mer0em_sdrc_params, h8mbx00u0mer0em_sdrc_params, NULL, NULL, NULL); diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c index 0778077..2c1f954 100644 --- a/arch/arm/mach-omap2/board-zoom3.c +++ b/arch/arm/mach-omap2/board-zoom3.c @@ -23,6 +23,24 @@ #include "mux.h" #include "sdram-hynix-h8mbx00u0mer-0em.h" +#include "pm.h" + +/* Update with the optimal setup values to be used on Zoom3 */ +static struct prm_setup_vc omap3_setuptime_table = { + .clksetup = 0x14A, + .voltsetup_time1 = 0x00B3, + .voltsetup_time2 = 0x00A0, + .voltoffset = 0x118, + .voltsetup2 = 0x32, + .vdd0_on = 0x28, /* 1.1v */ + .vdd0_onlp = 0x20, /* 1.0v */ + .vdd0_ret = 0x12, /* 0.83v */ + .vdd0_off = 0x00, /* 0.6v */ + .vdd1_on = 0x2B, /* 1.1375v */ + .vdd1_onlp = 0x20, /* 1.0v */ + .vdd1_ret = 0x14, /* 0.85v */ + .vdd1_off = 0x00, /* 0.6v */ +}; static void __init omap_zoom_map_io(void) { @@ -37,6 +55,7 @@ static void __init omap_zoom_init_irq(void) { omap_board_config = zoom_config; omap_board_config_size = ARRAY_SIZE(zoom_config); + omap3_pm_init_vc(&omap3_setuptime_table); omap2_init_common_hw(h8mbx00u0mer0em_sdrc_params, h8mbx00u0mer0em_sdrc_params, NULL, NULL, NULL);