From: Kevin Hilman <khilman@deeprootsystems.com>
To: "Reddy, Teerth" <teerth@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Jean Pihet <jpihet@mvista.com>
Subject: Re: [PATCH]PM: Initialization of SDRC params for DVFS on Zoom2
Date: Tue, 06 Oct 2009 06:32:38 -0700 [thread overview]
Message-ID: <87my44sl55.fsf@deeprootsystems.com> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB030A332368@dbde02.ent.ti.com> (Teerth Reddy's message of "Tue\, 6 Oct 2009 16\:04\:48 +0530")
"Reddy, Teerth" <teerth@ti.com> writes:
> Kevin,Jean
>
> Sorry for the late reply.
> I have tested DVFS on Zoom2 with 256Mb with this patch and it works fine.
> In Zoom2 SDRC module uses 2 chip selects. Since u-boot is configuring the SDRC module to use 2 chip selects do we need to configure it in the kernel as well?
> If you think so then this change is needed.
Teerth,
Please break this up into two patches.
1) for linux-omap master: add the SDRC params for both CSes to init_common_hw
2) for PM branch: addition of rate tables for DVFS
Thanks,
> Regards
> Teerth
>
>
>
> -----Original Message-----
> From: Kevin Hilman [mailto:khilman@deeprootsystems.com]
> Sent: Wednesday, September 30, 2009 11:36 PM
> To: Reddy, Teerth
> Cc: linux-omap@vger.kernel.org; Jean Pihet
> Subject: Re: [PATCH]PM: Initialization of SDRC params for DVFS on Zoom2
>
> Teerth, ping.
>
> On Wed, Sep 9, 2009 at 5:12 AM, Jean Pihet <jpihet@mvista.com> wrote:
>> 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
>>
>>
>> --
>> 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
>>
--
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
next prev parent reply other threads:[~2009-10-06 13:33 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
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 [this message]
-- 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=87my44sl55.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=jpihet@mvista.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