public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Pihet <jpihet@mvista.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: "Reddy, Teerth" <teerth@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH]PM: Initialization of SDRC params for DVFS on Zoom2
Date: Wed, 9 Sep 2009 14:12:07 +0200	[thread overview]
Message-ID: <200909091412.07748.jpihet@mvista.com> (raw)
In-Reply-To: <87ljkpm67t.fsf@deeprootsystems.com>

On Wednesday 09 September 2009 00:17:42 Kevin Hilman wrote:
> "Reddy, Teerth" <teerth@ti.com> writes:
> > This patch initializes the SDRC params for DVFS on Zoom2.
> >
> > Signed-off-by: Teerth Reddy <teerth@ti.com>
> > ---
> >  arch/arm/mach-omap2/board-zoom2.c |    6 ++++--
> >  1 files changed, 4 insertions(+), 2 deletions(-)
> >
> > Index: linux-omap-pm/arch/arm/mach-omap2/board-zoom2.c
> > ===================================================================
> > --- linux-omap-pm.orig/arch/arm/mach-omap2/board-zoom2.c
> > +++ linux-omap-pm/arch/arm/mach-omap2/board-zoom2.c
> > @@ -23,6 +23,7 @@
> >
> >  #include "mmc-twl4030.h"
> >  #include "omap3-opp.h"
> > +#include "sdram-micron-mt46h32m32lf-6.h"
> >
> >  static struct omap_uart_config zoom2_uart_config __initdata = {
> >  	.enabled_uarts	= ((1 << 0) | (1 << 1) | (1 << 2)),
> > @@ -36,8 +37,9 @@ static void __init omap_zoom2_init_irq(v
> >  {
> >  	omap_board_config = zoom2_config;
> >  	omap_board_config_size = ARRAY_SIZE(zoom2_config);
> > -	omap2_init_common_hw(NULL, NULL, omap3_mpu_rate_table,
> > -	                     omap3_dsp_rate_table, omap3_l3_rate_table);
> > +	omap2_init_common_hw(mt46h32m32lf6_sdrc_params, NULL,
> > +		omap3_mpu_rate_table, omap3_dsp_rate_table,
> > +					omap3_l3_rate_table);
>
> Not having looked at the Zoom2 schematics, are you sure this is only
> using a single chip select?  The other boards using the same part
> (beagle, overo) are interfacing to this part using both CSes.
>
> Have you tested DVFS on Zoom2 using the full 256Mb?
Good point!

DVFS works fine using the two chip selects:
        omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
                             mt46h32m32lf6_sdrc_params,
                             omap3_mpu_rate_table,
                             omap3_dsp_rate_table,
                             omap3_l3_rate_table);

One remark though: since the memory chips are popped on top of the OMAP chip 
the schematics are not showing the chip selects connections. In any case 
U-Boot is configuring the SDRC module to use the 2 chip selects, so I think 
this change is needed.

We need confirmation. Anyone from TI knows?

Regards,
Jean

>
> Kevin
>
> >  	omap_init_irq();
> >  	omap_gpio_init();
> >  }
>
> --
> 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



  reply	other threads:[~2009-09-09 12:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-07 13:49 [PATCH]PM: Initialization of SDRC params for DVFS on Zoom2 Reddy, Teerth
2009-09-08 22:17 ` Kevin Hilman
2009-09-09 12:12   ` Jean Pihet [this message]
2009-09-30 18:06     ` Kevin Hilman
2009-10-06 10:34       ` Reddy, Teerth
2009-10-06 13:19         ` Kevin Hilman
2009-10-06 13:32         ` Kevin Hilman
  -- strict thread matches above, loose matches on Subject: below --
2009-10-07  8:57 Reddy, Teerth
2009-10-07 13:13 ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200909091412.07748.jpihet@mvista.com \
    --to=jpihet@mvista.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=teerth@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox