public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/6] Add a driver for the atmel ram controller
@ 2014-07-08 16:21 Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc Alexandre Belloni
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

The atmel ram controller needs one or more clocks to work. For now the
CLK_IGNORE_UNUSED flag is used on those clocks. This patch set introduce a
driver that will take care of taking those clocks.

The final goal is also to move the ioremap done in mach-at91 to that driver with
a proper power management driver.

Changes in v2:
 - use ATMEL_SDRAMC instead of ATMEL_RAMC
 - use "atmel,sama5d3-ddramc" instead of "atmel,sama5d3-mpddramc"
 - not getting mpddrck is now an error
 - handle "atmel,sama5d3-ddramc" in mach-at91/setup.c

Alexandre Belloni (6):
  ARM: at91: Add new binding for sama5d3-ddramc
  memory: add a driver for atmel ram controllers
  ARM: at91: select ATMEL_SDRAMC when using OF
  ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
  ARM: at91/dt: at91sam9: use ddrck in ramc
  clk: at91: remove the useless CLK_IGNORE_UNUSED flag

 .../devicetree/bindings/arm/atmel-at91.txt         |  1 +
 arch/arm/boot/dts/at91sam9n12.dtsi                 |  2 +
 arch/arm/boot/dts/at91sam9x5.dtsi                  |  2 +
 arch/arm/boot/dts/sama5d3.dtsi                     |  9 +-
 arch/arm/mach-at91/Kconfig                         |  4 +
 arch/arm/mach-at91/setup.c                         |  1 +
 drivers/clk/at91/clk-system.c                      |  8 +-
 drivers/memory/Kconfig                             | 10 +++
 drivers/memory/Makefile                            |  1 +
 drivers/memory/atmel-sdramc.c                      | 98 ++++++++++++++++++++++
 10 files changed, 128 insertions(+), 8 deletions(-)
 create mode 100644 drivers/memory/atmel-sdramc.c

-- 
1.9.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
@ 2014-07-08 16:21 ` Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 2/6] memory: add a driver for atmel ram controllers Alexandre Belloni
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

The IP for the SDRAM controller found on sama5d3 SoCs is different from the g45
one. Introduce a new compatible string to reflect that.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 Documentation/devicetree/bindings/arm/atmel-at91.txt | 1 +
 arch/arm/mach-at91/setup.c                           | 1 +
 2 files changed, 2 insertions(+)

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-ddramc",
 - reg: Should contain registers location and length
   For at91sam9263 and at91sam9g45 you must specify 2 entries.
 
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index f7a07a58ebb6..faff1eae3e65 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -384,6 +384,7 @@ static struct of_device_id ramc_ids[] = {
 	{ .compatible = "atmel,at91rm9200-sdramc", .data = at91rm9200_standby },
 	{ .compatible = "atmel,at91sam9260-sdramc", .data = at91sam9_sdram_standby },
 	{ .compatible = "atmel,at91sam9g45-ddramc", .data = at91_ddr_standby },
+	{ .compatible = "atmel,sama5d3-ddramc", .data = at91_ddr_standby },
 	{ /*sentinel*/ }
 };
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCHv2 2/6] memory: add a driver for atmel ram controllers
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc Alexandre Belloni
@ 2014-07-08 16:21 ` Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF Alexandre Belloni
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks
to run.
This driver handle those clocks.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 drivers/memory/Kconfig        | 10 +++++
 drivers/memory/Makefile       |  1 +
 drivers/memory/atmel-sdramc.c | 98 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 109 insertions(+)
 create mode 100644 drivers/memory/atmel-sdramc.c

diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index c59e9c96e86d..257061c3c816 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -7,6 +7,16 @@ menuconfig MEMORY
 
 if MEMORY
 
+config ATMEL_SDRAMC
+	bool "Atmel (Multi-port DDR-)SDRAM Controller"
+	default y
+	depends on ARCH_AT91 && OF
+	help
+	  This driver is for Atmel SDRAM Controller or Atmel Multi-port
+	  DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs.
+	  Starting with the at91sam9g45, this controller supports SDR, DDR and
+	  LP-DDR memories.
+
 config TI_AEMIF
 	tristate "Texas Instruments AEMIF driver"
 	depends on (ARCH_DAVINCI || ARCH_KEYSTONE) && OF
diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile
index 71160a2b7313..b8637261e1a1 100644
--- a/drivers/memory/Makefile
+++ b/drivers/memory/Makefile
@@ -5,6 +5,7 @@
 ifeq ($(CONFIG_DDR),y)
 obj-$(CONFIG_OF)		+= of_memory.o
 endif
+obj-$(CONFIG_ATMEL_SDRAMC)	+= atmel-sdramc.o
 obj-$(CONFIG_TI_AEMIF)		+= ti-aemif.o
 obj-$(CONFIG_TI_EMIF)		+= emif.o
 obj-$(CONFIG_FSL_IFC)		+= fsl_ifc.o
diff --git a/drivers/memory/atmel-sdramc.c b/drivers/memory/atmel-sdramc.c
new file mode 100644
index 000000000000..fed04e8efe75
--- /dev/null
+++ b/drivers/memory/atmel-sdramc.c
@@ -0,0 +1,98 @@
+/*
+ * Atmel (Multi-port DDR-)SDRAM Controller driver
+ *
+ * Copyright (C) 2014 Atmel
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include <linux/clk.h>
+#include <linux/err.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/of_platform.h>
+#include <linux/platform_device.h>
+
+struct at91_ramc_caps {
+	bool has_ddrck;
+	bool has_mpddr_clk;
+};
+
+static const struct at91_ramc_caps at91rm9200_caps = { };
+
+static const struct at91_ramc_caps at91sam9g45_caps = {
+	.has_ddrck = 1,
+	.has_mpddr_clk = 0,
+};
+
+static const struct at91_ramc_caps sama5d3_caps = {
+	.has_ddrck = 1,
+	.has_mpddr_clk = 1,
+};
+
+static const struct of_device_id atmel_ramc_of_match[] = {
+	{ .compatible = "atmel,at91rm9200-sdramc", .data = &at91rm9200_caps, },
+	{ .compatible = "atmel,at91sam9260-sdramc", .data = &at91rm9200_caps, },
+	{ .compatible = "atmel,at91sam9g45-ddramc", .data = &at91sam9g45_caps, },
+	{ .compatible = "atmel,sama5d3-ddramc", .data = &sama5d3_caps, },
+	{},
+};
+MODULE_DEVICE_TABLE(of, atmel_ramc_of_match);
+
+static int atmel_ramc_probe(struct platform_device *pdev)
+{
+	const struct of_device_id *match;
+	const struct at91_ramc_caps *caps;
+	struct clk *clk;
+
+	match = of_match_device(atmel_ramc_of_match, &pdev->dev);
+	caps = match->data;
+
+	if (caps->has_ddrck) {
+		clk = devm_clk_get(&pdev->dev, "ddrck");
+		if (IS_ERR(clk))
+			return PTR_ERR(clk);
+		clk_prepare_enable(clk);
+	}
+
+	if (caps->has_mpddr_clk) {
+		clk = devm_clk_get(&pdev->dev, "mpddr");
+		if (IS_ERR(clk)) {
+			pr_err("AT91 RAMC: couldn't get mpddr clock\n");
+			return PTR_ERR(clk);
+		}
+		clk_prepare_enable(clk);
+	}
+
+	return 0;
+}
+
+static struct platform_driver atmel_ramc_driver = {
+	.probe		= atmel_ramc_probe,
+	.driver		= {
+		.name	= "atmel-ramc",
+		.owner	= THIS_MODULE,
+		.of_match_table = atmel_ramc_of_match,
+	},
+};
+
+static int __init atmel_ramc_init(void)
+{
+	return platform_driver_register(&atmel_ramc_driver);
+}
+module_init(atmel_ramc_init);
+
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Alexandre Belloni <alexandre.belloni@free-electrons.com>");
+MODULE_DESCRIPTION("Atmel (Multi-port DDR-)SDRAM Controller");
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 2/6] memory: add a driver for atmel ram controllers Alexandre Belloni
@ 2014-07-08 16:21 ` Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 4/6] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks Alexandre Belloni
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

When using device tree, select the Atmel RAM controller driver to handle its
clocks.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/mach-at91/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 45b55e0f0db6..7a69ffd93b6b 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -49,6 +49,8 @@ config SOC_AT91SAM9
 	select GENERIC_CLOCKEVENTS
 	select MULTI_IRQ_HANDLER
 	select SPARSE_IRQ
+	select MEMORY if USE_OF
+	select ATMEL_SDRAMC if USE_OF
 
 config SOC_SAMA5
 	bool
@@ -58,6 +60,8 @@ config SOC_SAMA5
 	select MULTI_IRQ_HANDLER
 	select SPARSE_IRQ
 	select USE_OF
+	select MEMORY
+	select ATMEL_SDRAMC
 
 menu "Atmel AT91 System-on-Chip"
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCHv2 4/6] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
                   ` (2 preceding siblings ...)
  2014-07-08 16:21 ` [PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF Alexandre Belloni
@ 2014-07-08 16:21 ` Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 5/6] ARM: at91/dt: at91sam9: use ddrck in ramc Alexandre Belloni
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

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..04c35ce1e33e 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-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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCHv2 5/6] ARM: at91/dt: at91sam9: use ddrck in ramc
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
                   ` (3 preceding siblings ...)
  2014-07-08 16:21 ` [PATCHv2 4/6] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks Alexandre Belloni
@ 2014-07-08 16:21 ` Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 6/6] clk: at91: remove the useless CLK_IGNORE_UNUSED flag Alexandre Belloni
  2014-07-08 16:39 ` [PATCHv2 0/6] Add a driver for the atmel ram controller Nicolas Ferre
  6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

Make the ram controller driver take the ddrck clock for at91sam9n12 and
at91sam9x5.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++
 arch/arm/boot/dts/at91sam9x5.dtsi  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index 287795985e32..3d48255c4ed1 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -85,6 +85,8 @@
 			ramc0: ramc@ffffe800 {
 				compatible = "atmel,at91sam9g45-ddramc";
 				reg = <0xffffe800 0x200>;
+				clocks = <&ddrck>;
+				clock-names = "ddrck";
 			};
 
 			pmc: pmc@fffffc00 {
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index d6133f497207..74722853e667 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -93,6 +93,8 @@
 			ramc0: ramc@ffffe800 {
 				compatible = "atmel,at91sam9g45-ddramc";
 				reg = <0xffffe800 0x200>;
+				clocks = <&ddrck>;
+				clock-names = "ddrck";
 			};
 
 			pmc: pmc@fffffc00 {
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCHv2 6/6] clk: at91: remove the useless CLK_IGNORE_UNUSED flag
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
                   ` (4 preceding siblings ...)
  2014-07-08 16:21 ` [PATCHv2 5/6] ARM: at91/dt: at91sam9: use ddrck in ramc Alexandre Belloni
@ 2014-07-08 16:21 ` Alexandre Belloni
  2014-07-08 16:39 ` [PATCHv2 0/6] Add a driver for the atmel ram controller Nicolas Ferre
  6 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

The CLK_IGNORE_UNUSED flag was added on all the system clocks because of the
ddrck. Now that it is handled by the ram controller driver, we can drop it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 drivers/clk/at91/clk-system.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/drivers/clk/at91/clk-system.c b/drivers/clk/at91/clk-system.c
index 8c96307d7363..a76d03fd577b 100644
--- a/drivers/clk/at91/clk-system.c
+++ b/drivers/clk/at91/clk-system.c
@@ -119,13 +119,7 @@ at91_clk_register_system(struct at91_pmc *pmc, const char *name,
 	init.ops = &system_ops;
 	init.parent_names = &parent_name;
 	init.num_parents = 1;
-	/*
-	 * CLK_IGNORE_UNUSED is used to avoid ddrck switch off.
-	 * TODO : we should implement a driver supporting at91 ddr controller
-	 * (see drivers/memory) which would request and enable the ddrck clock.
-	 * When this is done we will be able to remove CLK_IGNORE_UNUSED flag.
-	 */
-	init.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED;
+	init.flags = CLK_SET_RATE_PARENT;
 
 	sys->id = id;
 	sys->hw.init = &init;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCHv2 0/6] Add a driver for the atmel ram controller
  2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
                   ` (5 preceding siblings ...)
  2014-07-08 16:21 ` [PATCHv2 6/6] clk: at91: remove the useless CLK_IGNORE_UNUSED flag Alexandre Belloni
@ 2014-07-08 16:39 ` Nicolas Ferre
  6 siblings, 0 replies; 8+ messages in thread
From: Nicolas Ferre @ 2014-07-08 16:39 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel

On 08/07/2014 18:21, Alexandre Belloni :
> The atmel ram controller needs one or more clocks to work. For now the
> CLK_IGNORE_UNUSED flag is used on those clocks. This patch set introduce a
> driver that will take care of taking those clocks.
> 
> The final goal is also to move the ioremap done in mach-at91 to that driver with
> a proper power management driver.

Yes, okay for that series:

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>


> Changes in v2:
>  - use ATMEL_SDRAMC instead of ATMEL_RAMC
>  - use "atmel,sama5d3-ddramc" instead of "atmel,sama5d3-mpddramc"
>  - not getting mpddrck is now an error
>  - handle "atmel,sama5d3-ddramc" in mach-at91/setup.c
> 
> Alexandre Belloni (6):
>   ARM: at91: Add new binding for sama5d3-ddramc
>   memory: add a driver for atmel ram controllers
>   ARM: at91: select ATMEL_SDRAMC when using OF
>   ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
>   ARM: at91/dt: at91sam9: use ddrck in ramc
>   clk: at91: remove the useless CLK_IGNORE_UNUSED flag
> 
>  .../devicetree/bindings/arm/atmel-at91.txt         |  1 +
>  arch/arm/boot/dts/at91sam9n12.dtsi                 |  2 +
>  arch/arm/boot/dts/at91sam9x5.dtsi                  |  2 +
>  arch/arm/boot/dts/sama5d3.dtsi                     |  9 +-
>  arch/arm/mach-at91/Kconfig                         |  4 +
>  arch/arm/mach-at91/setup.c                         |  1 +
>  drivers/clk/at91/clk-system.c                      |  8 +-
>  drivers/memory/Kconfig                             | 10 +++
>  drivers/memory/Makefile                            |  1 +
>  drivers/memory/atmel-sdramc.c                      | 98 ++++++++++++++++++++++
>  10 files changed, 128 insertions(+), 8 deletions(-)
>  create mode 100644 drivers/memory/atmel-sdramc.c
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-08 16:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 2/6] memory: add a driver for atmel ram controllers Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 4/6] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 5/6] ARM: at91/dt: at91sam9: use ddrck in ramc Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 6/6] clk: at91: remove the useless CLK_IGNORE_UNUSED flag Alexandre Belloni
2014-07-08 16:39 ` [PATCHv2 0/6] Add a driver for the atmel ram controller Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox