From patchwork Mon Jun 1 11:30:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 27189 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 n51BUIJY011102 for ; Mon, 1 Jun 2009 11:30:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753312AbZFALaO (ORCPT ); Mon, 1 Jun 2009 07:30:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754007AbZFALaO (ORCPT ); Mon, 1 Jun 2009 07:30:14 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:57875 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312AbZFALaN (ORCPT ); Mon, 1 Jun 2009 07:30:13 -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 n51BU97Q024912 for ; Mon, 1 Jun 2009 06:30:15 -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 n51BU7bC022699; Mon, 1 Jun 2009 17:00:08 +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 n51BU75C031286; Mon, 1 Jun 2009 17:00:07 +0530 Received: (from x0016154@localhost) by linfarm476.india.ti.com (8.12.11/8.12.11/Submit) id n51BU7nl031284; Mon, 1 Jun 2009 17:00:07 +0530 From: Rajendra Nayak To: linux-omap@vger.kernel.org Cc: Rajendra Nayak Subject: [PATCH] OMAP3: PM: 2 new entries in SDRC table for Qimonda HYB18M512160AF-6 Date: Mon, 1 Jun 2009 17:00:07 +0530 Message-Id: <1243855807-31226-1-git-send-email-rnayak@ti.com> X-Mailer: git-send-email 1.5.5 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This patch adds 2 more entries for new SDRC clock rates (166000000 and 83000000) in the sdrc params table for Qimonda HYB18M512160AF-6 sdram part. Without this CORE dvfs is broken on the 3430SDP as omap2_sdrc_get_params() call in the dvfs sequence always return 'rate not found' Signed-off-by: Rajendra Nayak --- .../mach-omap2/sdram-qimonda-hyb18m512160af-6.h | 22 ++++++++++++++++--- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h b/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h index 74a92c8..5b83076 100644 --- a/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h +++ b/arch/arm/mach-omap2/sdram-qimonda-hyb18m512160af-6.h @@ -20,34 +20,48 @@ /* XXX Using ARE = 0x1 (no autorefresh burst) -- can this be changed? */ static struct omap_sdrc_params hyb18m512160af6_sdrc_params[] = { [0] = { - .rate = 165941176, + .rate = 166000000, .actim_ctrla = 0x629db4c6, .actim_ctrlb = 0x00012214, .rfr_ctrl = 0x0004dc01, .mr = 0x00000032, }, [1] = { + .rate = 165941176, + .actim_ctrla = 0x629db4c6, + .actim_ctrlb = 0x00012214, + .rfr_ctrl = 0x0004dc01, + .mr = 0x00000032, + }, + [2] = { .rate = 133333333, .actim_ctrla = 0x5219b485, .actim_ctrlb = 0x00012210, .rfr_ctrl = 0x0003de01, .mr = 0x00000032, }, - [2] = { + [3] = { + .rate = 83000000, + .actim_ctrla = 0x31512283, + .actim_ctrlb = 0x0001220a, + .rfr_ctrl = 0x00025501, + .mr = 0x00000022, + }, + [4] = { .rate = 82970588, .actim_ctrla = 0x31512283, .actim_ctrlb = 0x0001220a, .rfr_ctrl = 0x00025501, .mr = 0x00000022, }, - [3] = { + [5] = { .rate = 66666666, .actim_ctrla = 0x290d2243, .actim_ctrlb = 0x00012208, .rfr_ctrl = 0x0001d601, .mr = 0x00000022, }, - [4] = { + [6] = { .rate = 0 }, };