diff mbox

OMAP3: PM: 2 new entries in SDRC table for Qimonda HYB18M512160AF-6

Message ID 1243855807-31226-1-git-send-email-rnayak@ti.com (mailing list archive)
State Superseded
Delegated to: Kevin Hilman
Headers show

Commit Message

Rajendra Nayak June 1, 2009, 11:30 a.m. UTC
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 <rnayak@ti.com>
---
 .../mach-omap2/sdram-qimonda-hyb18m512160af-6.h    |   22 ++++++++++++++++---
 1 files changed, 18 insertions(+), 4 deletions(-)

Comments

Paul Walmsley June 3, 2009, 12:35 a.m. UTC | #1
Hello Rajendra,

On Mon, 1 Jun 2009, Rajendra Nayak wrote:

> 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 <rnayak@ti.com>

Commit ID c82881eac1c6999abd768c548ad196c1973d3a55 on l-o master has 
resolved this.


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rajendra Nayak June 4, 2009, 11:56 a.m. UTC | #2
Ok.. thanks. I just saw this missing in the PM branch and
hence posted this. 

>-----Original Message-----
>From: Paul Walmsley [mailto:paul@pwsan.com] 
>Sent: Wednesday, June 03, 2009 6:06 AM
>To: Nayak, Rajendra
>Cc: linux-omap@vger.kernel.org
>Subject: Re: [PATCH] OMAP3: PM: 2 new entries in SDRC table 
>for Qimonda HYB18M512160AF-6
>
>Hello Rajendra,
>
>On Mon, 1 Jun 2009, Rajendra Nayak wrote:
>
>> 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 <rnayak@ti.com>
>
>Commit ID c82881eac1c6999abd768c548ad196c1973d3a55 on l-o master has 
>resolved this.
>
>
>- Paul
>
>--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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
 	},
 };