From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] arm: mach-omap2: sdram-nokia: add 200 MHz memory timings info
Date: Fri, 9 Dec 2011 10:06:41 -0800 [thread overview]
Message-ID: <20111209180641.GS31337@atomide.com> (raw)
In-Reply-To: <1323443211-3648-3-git-send-email-aaro.koskinen@nokia.com>
* Aaro Koskinen <aaro.koskinen@nokia.com> [111209 06:33]:
> From: Igor Dmitriev <ext-dmitriev.igor@nokia.com>
>
> Add memory timing info regarding the 200 MHz memory in sdram-nokia.
>
> Signed-off-by: Igor Dmitriev <ext-dmitriev.igor@nokia.com>
> Signed-off-by: Eduardo Valentin <eduardo.valentin@nokia.com>
> Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
> ---
> arch/arm/mach-omap2/sdram-nokia.c | 25 ++++++++++++++++++++++++-
> 1 files changed, 24 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/sdram-nokia.c b/arch/arm/mach-omap2/sdram-nokia.c
> index 14caa22..b394a0e 100644
> --- a/arch/arm/mach-omap2/sdram-nokia.c
> +++ b/arch/arm/mach-omap2/sdram-nokia.c
> @@ -1,7 +1,7 @@
> /*
> * SDRC register values for Nokia boards
> *
> - * Copyright (C) 2008, 2010 Nokia Corporation
> + * Copyright (C) 2008, 2010-2011 Nokia Corporation
> *
> * Lauri Leukkunen <lauri.leukkunen@nokia.com>
> *
> @@ -107,14 +107,37 @@ static const struct sdram_timings nokia_195dot2mhz_timings[] = {
> },
> };
>
> +static const struct sdram_timings nokia_200mhz_timings[] = {
> + {
> + .casl = 3,
> + .tDAL = 30000,
> + .tDPL = 15000,
> + .tRRD = 10000,
> + .tRCD = 20000,
> + .tRP = 15000,
> + .tRAS = 40000,
> + .tRC = 55000,
> + .tRFC = 140000,
> + .tXSR = 200000,
> +
> + .tREF = 7800,
> +
> + .tXP = 2,
> + .tCKE = 4,
> + .tWTR = 2
> + },
> +};
> +
> static const struct {
> long rate;
> struct sdram_timings const *data;
> } nokia_timings[] = {
> { 83000000, nokia_166mhz_timings },
> { 97600000, nokia_97dot6mhz_timings },
> + { 100000000, nokia_200mhz_timings },
Is that a typo above? Should it say nokia_100mhz_timings?
> { 166000000, nokia_166mhz_timings },
> { 195200000, nokia_195dot2mhz_timings },
> + { 200000000, nokia_200mhz_timings },
> };
> static struct omap_sdrc_params nokia_sdrc_params[ARRAY_SIZE(nokia_timings) + 1];
Regards,
Tony
next prev parent reply other threads:[~2011-12-09 18:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-09 15:06 [PATCH 0/3] arm: omap: add support for Nokia RM-696 (Nokia N9) Aaro Koskinen
2011-12-09 15:06 ` [PATCH 1/3] arm: tools: mach-types: add nokia_rm696 Aaro Koskinen
2011-12-09 18:07 ` Tony Lindgren
2011-12-09 15:06 ` [PATCH 2/3] arm: mach-omap2: sdram-nokia: add 200 MHz memory timings info Aaro Koskinen
2011-12-09 18:06 ` Tony Lindgren [this message]
2011-12-09 19:41 ` Aaro Koskinen
2011-12-09 20:46 ` Tony Lindgren
2011-12-09 15:06 ` [PATCH 3/3] arm: omap: add minimal support for Nokia RM-696 Aaro Koskinen
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=20111209180641.GS31337@atomide.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).