All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>
Subject: [PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
Date: Mon,  7 Jul 2014 17:19:13 +0200	[thread overview]
Message-ID: <1404746355-19988-4-git-send-email-alexandre.belloni@free-electrons.com> (raw)
In-Reply-To: <1404746355-19988-1-git-send-email-alexandre.belloni@free-electrons.com>

Define the available clock for mprddr and take both mpddr_clk and ddrck in the
ram controller driver.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/sama5d3.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index e0b15a6e8897..3bd8db9e069b 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -402,8 +402,10 @@
 			};
 
 			ramc0: ramc@ffffea00 {
-				compatible = "atmel,at91sam9g45-ddramc";
+				compatible = "atmel,sama5d3-mpddramc", "atmel,at91sam9g45-ddramc";
 				reg = <0xffffea00 0x200>;
+				clocks = <&ddrck>, <&mpddr_clk>;
+				clock-names = "ddrck", "mpddr";
 			};
 
 			dbgu: serial@ffffee00 {
@@ -1170,6 +1172,11 @@
 						#clock-cells = <0>;
 						reg = <48>;
 					};
+
+					mpddr_clk: mpddr_clk {
+						#clock-cells = <0>;
+						reg = <49>;
+					};
 				};
 			};
 
-- 
1.9.1


WARNING: multiple messages have this Message-ID (diff)
From: alexandre.belloni@free-electrons.com (Alexandre Belloni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
Date: Mon,  7 Jul 2014 17:19:13 +0200	[thread overview]
Message-ID: <1404746355-19988-4-git-send-email-alexandre.belloni@free-electrons.com> (raw)
In-Reply-To: <1404746355-19988-1-git-send-email-alexandre.belloni@free-electrons.com>

Define the available clock for mprddr and take both mpddr_clk and ddrck in the
ram controller driver.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/sama5d3.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index e0b15a6e8897..3bd8db9e069b 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -402,8 +402,10 @@
 			};
 
 			ramc0: ramc at ffffea00 {
-				compatible = "atmel,at91sam9g45-ddramc";
+				compatible = "atmel,sama5d3-mpddramc", "atmel,at91sam9g45-ddramc";
 				reg = <0xffffea00 0x200>;
+				clocks = <&ddrck>, <&mpddr_clk>;
+				clock-names = "ddrck", "mpddr";
 			};
 
 			dbgu: serial at ffffee00 {
@@ -1170,6 +1172,11 @@
 						#clock-cells = <0>;
 						reg = <48>;
 					};
+
+					mpddr_clk: mpddr_clk {
+						#clock-cells = <0>;
+						reg = <49>;
+					};
 				};
 			};
 
-- 
1.9.1

  parent reply	other threads:[~2014-07-07 15:27 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
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 ` Alexandre Belloni [this message]
2014-07-07 15:19   ` [PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks 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=1404746355-19988-4-git-send-email-alexandre.belloni@free-electrons.com \
    --to=alexandre.belloni@free-electrons.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.ferre@atmel.com \
    --cc=plagnioj@jcrosoft.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 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.