From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] memory: add a driver for atmel ram controllers
Date: Mon, 7 Jul 2014 19:56:27 +0200 [thread overview]
Message-ID: <20140707175627.GG3113@piout.net> (raw)
In-Reply-To: <20140707174642.65d02082@bbrezillon>
Hi,
On 07/07/2014 at 17:46:42 +0200, Boris Brezillon wrote :
> On Mon, 7 Jul 2014 17:19:11 +0200
> Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote:
>
> > Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks
> > to run.
> > This driver handle those clocks.
> >
>
> Actually this controller is an SDRAM controller which, depending on the
> SoC, might support SDR SDRAMs, DDR SDRAMs or both.
>
> This is just a nitpick, but if you don't mind I'd rather replace
> references to RAMC by SDRAMC (ATMEL_RAMC -> ATMEL_SDRAMC) and just state
> that in some cases (at least this is the case for the DDRSDRC available
> in at91sam9g45 SoC) it supports both type of SDRAM (DDR and SDR).
>
> The same goes for the source file name (atmel-ramc.c -> atmel-sdramc.c).
>
will do.
> > diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
> > index 16f60b41c147..54dc3aefb12a 100644
> > --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt
> > +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
> > @@ -61,6 +61,7 @@ RAMC SDRAM/DDR Controller required properties:
> > - compatible: Should be "atmel,at91rm9200-sdramc",
> > "atmel,at91sam9260-sdramc",
> > "atmel,at91sam9g45-ddramc",
> > + "atmel,sama5d3-mpddramc",
> > - reg: Should contain registers location and length
> > For at91sam9263 and at91sam9g45 you must specify 2 entries.
>
> Shouldn't we move the documentation in
> Documentation/devicetree/bindings/memory-controllers/ (though this
> should be done in different patch).
>
I guess we should move it later, to avoid merge conflicts
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Boris BREZILLON <boris.brezillon@free-electrons.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/5] memory: add a driver for atmel ram controllers
Date: Mon, 7 Jul 2014 19:56:27 +0200 [thread overview]
Message-ID: <20140707175627.GG3113@piout.net> (raw)
In-Reply-To: <20140707174642.65d02082@bbrezillon>
Hi,
On 07/07/2014 at 17:46:42 +0200, Boris Brezillon wrote :
> On Mon, 7 Jul 2014 17:19:11 +0200
> Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote:
>
> > Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks
> > to run.
> > This driver handle those clocks.
> >
>
> Actually this controller is an SDRAM controller which, depending on the
> SoC, might support SDR SDRAMs, DDR SDRAMs or both.
>
> This is just a nitpick, but if you don't mind I'd rather replace
> references to RAMC by SDRAMC (ATMEL_RAMC -> ATMEL_SDRAMC) and just state
> that in some cases (at least this is the case for the DDRSDRC available
> in at91sam9g45 SoC) it supports both type of SDRAM (DDR and SDR).
>
> The same goes for the source file name (atmel-ramc.c -> atmel-sdramc.c).
>
will do.
> > diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
> > index 16f60b41c147..54dc3aefb12a 100644
> > --- a/Documentation/devicetree/bindings/arm/atmel-at91.txt
> > +++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
> > @@ -61,6 +61,7 @@ RAMC SDRAM/DDR Controller required properties:
> > - compatible: Should be "atmel,at91rm9200-sdramc",
> > "atmel,at91sam9260-sdramc",
> > "atmel,at91sam9g45-ddramc",
> > + "atmel,sama5d3-mpddramc",
> > - reg: Should contain registers location and length
> > For at91sam9263 and at91sam9g45 you must specify 2 entries.
>
> Shouldn't we move the documentation in
> Documentation/devicetree/bindings/memory-controllers/ (though this
> should be done in different patch).
>
I guess we should move it later, to avoid merge conflicts
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-07-07 17:56 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-07 15:19 [PATCH 0/5] Add a driver for the atmel ram controller Alexandre Belloni
2014-07-07 15:19 ` Alexandre Belloni
2014-07-07 15:19 ` [PATCH 1/5] memory: add a driver for atmel ram controllers Alexandre Belloni
2014-07-07 15:19 ` Alexandre Belloni
2014-07-07 15:46 ` Boris BREZILLON
2014-07-07 15:46 ` Boris BREZILLON
2014-07-07 17:56 ` Alexandre Belloni [this message]
2014-07-07 17:56 ` Alexandre Belloni
2014-07-07 18:33 ` Jean-Christophe PLAGNIOL-VILLARD
2014-07-07 18:33 ` Jean-Christophe PLAGNIOL-VILLARD
2014-07-07 19:44 ` Alexandre Belloni
2014-07-07 19:44 ` Alexandre Belloni
2014-07-07 15:19 ` [PATCH 2/5] ARM: at91: select ATMEL_RAMC when using OF Alexandre Belloni
2014-07-07 15:19 ` Alexandre Belloni
2014-07-07 15:19 ` [PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks Alexandre Belloni
2014-07-07 15:19 ` Alexandre Belloni
2014-07-07 18:32 ` Jean-Christophe PLAGNIOL-VILLARD
2014-07-07 18:32 ` Jean-Christophe PLAGNIOL-VILLARD
2014-07-07 19:55 ` Alexandre Belloni
2014-07-07 19:55 ` Alexandre Belloni
2014-07-08 7:51 ` Maxime Ripard
2014-07-08 7:51 ` Maxime Ripard
2014-07-07 15:19 ` [PATCH 4/5] ARM: at91/dt: at91sam9: use ddrck in ramc Alexandre Belloni
2014-07-07 15:19 ` Alexandre Belloni
2014-07-07 15:19 ` [PATCH 5/5] clk: at91: remove the useless CLK_IGNORE_UNUSED flag Alexandre Belloni
2014-07-07 15:19 ` Alexandre Belloni
2014-07-07 17:03 ` [PATCH 0/5] Add a driver for the atmel ram controller Boris BREZILLON
2014-07-07 17:03 ` Boris BREZILLON
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=20140707175627.GG3113@piout.net \
--to=alexandre.belloni@free-electrons.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.